BenDanville
Active member
Hi Everyone, I hope you can please help me,
I am able to play the example files wav files with the WavFilePlayer example. I am using the Audio Shield and Teensy 3.2
My problem is when I switch it to play my file "SOUND.WAV" the serial says it's successfully reading the file but no audio comes out. I have the made sure I have capitalised the filename on the SD card and in the code. My file is about 1mb and 5 seconds long.
Is there a particular format or encoding that needs to be used with the wav file format?
For clarity I just exported my sound from Audacity as a Wav file.
Thankyou for any advice!
Edit:
I have just seen something about the 8.3 (max 8 chars then 3 extension) so have tried changing to TEST.WAV (even though prev file name met that) with no success.
Also have tried renaming the example file to my name, and that works.
I have also tried rexporting the file with a different name. So next I will try the different encoding options with the WAV export.
Edit2: Saw references in forum posts about it needing to be 44.1khz mono, so have converted file in Audacity to those settings and that did not help.
I am able to play the example files wav files with the WavFilePlayer example. I am using the Audio Shield and Teensy 3.2
My problem is when I switch it to play my file "SOUND.WAV" the serial says it's successfully reading the file but no audio comes out. I have the made sure I have capitalised the filename on the SD card and in the code. My file is about 1mb and 5 seconds long.
Is there a particular format or encoding that needs to be used with the wav file format?
For clarity I just exported my sound from Audacity as a Wav file.
Thankyou for any advice!
Edit:
I have just seen something about the 8.3 (max 8 chars then 3 extension) so have tried changing to TEST.WAV (even though prev file name met that) with no success.
Also have tried renaming the example file to my name, and that works.
I have also tried rexporting the file with a different name. So next I will try the different encoding options with the WAV export.
Edit2: Saw references in forum posts about it needing to be 44.1khz mono, so have converted file in Audacity to those settings and that did not help.
Last edited: