Question: Rewrite increase volume (Program 93) so that it takes two inputs: the sound to increase in volume and a filename where the newly louder sound
Rewrite increase volume (Program 93) so that it takes two inputs: the sound to increase in volume and a filename where the newly louder sound should be stored. Then increase the volume and write the sound out to the name file.You might also try rewriting it so that it takes an input filename instead of the sound, so that inputs are both filenames.
Data from Program 93

def increaseVolume (sound): for sample in getSamples(sound): getSampleValue(sample) * 2) value setSampleValue(sample,value
Step by Step Solution
3.38 Rating (167 Votes )
There are 3 Steps involved in it
def increase Volume filenameIn filenam... View full answer
Get step-by-step solutions from verified subject matter experts
