Rewrite increase volume (Program 93) so that it takes two inputs: the sound to increase in volume

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 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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: