L22post - Previous Lecture: Review matrix, cell array,...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
± Previous Lecture: ± Review matrix, cell array, structure array ± Today’s Lecture: ± Working with sound files ± Review vector, graphics, struct array, cell array ± Announcement: ± P6 will be posted this aftn. Due 11/23 (Mon) ± Prelim 2 returned in lecture unless you didn’t circle your lecture time on the exam, in which case pick it up from CS1112 consultants (ACCEL Green Rm) after 4pm today
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
November 12, 2009 Lecture 22 2 Reading and playing .wav files [y,rate,nBits] = wavread(‘austin.wav’) sound(y,rate) A wav file is for the computer to process— software is required to play the sound. Computing with sound in Matlab requires that we first convert the wav format data into simple numeric data—the job of wavread .
Background image of page 2
November 12, 2009 Lecture 22 3 Computing with sound requires digitization ± Sound is continuous; capture its essence by sampling ± Digitized sound is a vector of numbers
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
November 12, 2009 Lecture 22 4 Sampling rate affects the quality If sampling not frequent enough, then the discretized sound will not capture the essence of the continuous sound… Too slow OK
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/06/2010 for the course CS 9339 taught by Professor Gries during the Fall '09 term at Cornell University (Engineering School).

Page1 / 17

L22post - Previous Lecture: Review matrix, cell array,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online