I keep trying to make a WavPlayer. But now I am having this issue where it changes the pitch of the files
I made a 440Hz WAV file with Audacity. 16 bit - 1 channel - 44100Hz
Using the WavPlayer.cpp example, with Blocksize of 128 and 4, it gives me the same result, a sound of 480Hz
I also tried some other files:
C4.wav gives me like half the frequency, a little bit less than a D3
Africa by toto is 4:57 long, but on Daisy it is 4:33
I randomly used blocksize of 4, 48, and 128. I wasn’t paying attention to that, but I think it does not matter, It is always the same result
With 24 bit files I only hear white noise (not static noise, noise from the file not reading ok)
I am using 1 bit mode, and STANDARD speed (on SD reading).
I don’t know if uploading the files to the SDRAM would help, and I don’t know how to do that. But maybe it has to do with the reading frequency settings, because the sound velocity is too stable, it does not change at all with all the changes I did to the code
Thanks for your help