Q.1
What role does newSample play in this program?

Q.2
To decrease the volume of the sound, we'd probably multiply each sample by