Simple Sound Manipulation
| This is the original .wav sound | original |
| This function takes the original sound and a factor it should change the volume of the sound by. This .wav is multiplied by 3 | changeVolume |
This function takes the first half of the samples and increases the volume, then decreases the volume of the second half |
increaseAndDecrease |
| This function recues the sourceIndex by 1, which moves it from the end of the array to the beginning, making the sound backwards | backwards |
| This function takes every smple twice to make the wavelength twice as long which halves the frequency | halfFrequency |
| This function takes every other sample which makes the wavelength half as long and doubles the frequency | doubleFrequency |