![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
def dup100(sound):
for sampleIndex in range(1,100):
value=getSampleValueAt(sound,sampleIndex)
print value, value
for sampleIndex in range(101,200):
value=getSampleValueAt(sound,sampleIndex)
print value
| Not quite. Did you see my example in class yesterday? The goal is to change the input sound. Note, too, that the input is a filename, not a sound. You'll have to generate a source and target sound from the filename, then copy samples one-for-two from the source into the target. Mark Guzdial |
| No, I already said that I wouldn't put something like this on the midterm. Mark Guzdial |