CSE 8A Chapter 8.2: Lecture 17 Reading Assignment: 8.2 - Manipulating Sounds

26 views2 pages

Document Summary

Reading assignment ch 8, intro to sound properties. Calculate sampling rates give you how much a sound sample is changed by -> what part of the second that that sound sample is changed. Convert back into sounds by saving them into a file. Using mediatools for looking at sounds: set a file directory with . setmediapath(string directory, get a media path with . getmediapath(string path) Introducing loops: there are a lot of sound samples in a sound, to truly alter the sound, we would need to change a lot of the sound sample values -> do this with loops. Using for-each loops is useful for this for(type element: array) { Read this loop like this: for each element in the array, do something to it. Make sure that the elements in the array matches the type for(int number: arrayofnumbers) is valid for(int number: arrayofdoubles) is not valid public void donothing() {

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents