hello, how would i speed up a wav file? i tried a few ways of doing it but i could not manage to change the sample rate, the script that i have written plays a wav file from a sd card when the receivers value is at the correct value.
If you actually want to change the sample rate within the WAV file I suggest using a PC program such as Audacity.
...R
hello, im trying to get the wav file to play faster, my goal is to use my transmitters throttle to in crease the speed of a wav clip, i dont have that much experience with playing wav files. ill check out that link in a seconds. thanks
ryisnelly10:
hello, im trying to get the wav file to play faster,
Then you either need to skip some of the samples or decrease the interval between samples.
It should be fairly obvious how to make those changes in my demo program.
Of course either of them will distort the sound. I suspect playing faster while compentating for distorting the sound is beyond the scope of an Arduino.
Robin2:
It should be fairly obvious how to make those changes in my demo program.
...R
just finished playing around with your demo and you are right there is alot of distortion, might have to leave this idea behind, do you have a any suggestions on what i could try next?
ryisnelly10:
do you have a any suggestions on what i could try next?
Sorry, not a clue. Audio is not my field - beyond playing my CD player.
Well, one idea occurred to me while making a cup of tea. What about having a few different files which sound different (i.e. faster) even when played at the correct speed. Then select which one to play depending on the speed controller. You could create the files on a PC to get the effects you want.