Using map, increase the value of a sound by applying a function to each sample of the sound.
What will be an ideal response?
```
def increaseValue(sound):
map(increase,getSamples(sound))
def increase(sample):
newVal = getSampleValue(sample)
setSampleValue(sample,newVal*2)
```
Computer Science & Information Technology
You might also like to view...
When you open the Thesaurus pane in Word, it displays on the left side of the screen with a list of synonyms
Indicate whether the statement is true or false
Computer Science & Information Technology
A combination of keys to execute a macro or program is known as a shortcut key
Indicate whether the statement is true or false
Computer Science & Information Technology