Sounds
|
Sounds are encodings of sounds, typically coming froma WAV file. |
Samples
|
Samples are collections of Sample objects, each indexed by a number, e.g. sample #1, sample #2, etc. samples[1] is the first Sample object, samples[2] is the second, etc. You can manipulate each Sample in the Samples like this:
for s in samples:
|
Sample
|
A sample is a value between -32000 and 32000 (roughly) representing the voltage that a microphone would generate at a given instant when recording a sound. The length of the instant is typically either 1/44, 1000 of a second
(for CD-quality sound) or 1/22, 050 of a second (for good enough sound on most computers). A Sample object remembers what sound it came from, so if you change its value, it knows to go back and change the right sample in the sound. |
|