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

Q.2
What would happen if you didn't copy all the samples when you increased the volume?