I have a micro SD card reader that has wav files on it. I am using the TMRpcm library to play the wav files. Is there a way to change the tempo using code and a potentiometer?
The only way to change it is to change the sample rate. That means adding an extra delay between samples or shortening the time between samples. However, I suspect that you will have to hack the library to do that, or write your own.