I'm using a 4.1 board with a 4.0 Audio Shield attached.
I've been able to get good output from the AS (audio shield) in outputting a tone (from an audio example).
I have a known-good SD card that that contains the 4 "SDTEST#.WAV" files and the .wav's play fine on my MP3 player.
When I run the SdCardTest.ino, the Serial Monitor gives me the following:
SD Card Test
------------
SD card is connected
Card type is SDHC
File system space is 31574.98 Mbytes.
SD library is able to access the filesystem
Reading SDTEST1.WAV:
Overall speed = 0.75 Mbyte/sec
Worst block time = 1.31 ms
45.26% of audio frame time
Reading SDTEST1.WAV & SDTEST2.WAV:
Overall speed = 0.45 Mbyte/sec
Worst block time = 3.52 ms
121.46% of audio frame time
and so on for all 4 waves...
BUT,
the audio that comes out is just a series of random high pitched notes, certainly not the music within the .wav files.
can anyone help me with this?
thank you in advance,
Russ from Ocala, Florida, USA
I've been able to get good output from the AS (audio shield) in outputting a tone (from an audio example).
I have a known-good SD card that that contains the 4 "SDTEST#.WAV" files and the .wav's play fine on my MP3 player.
When I run the SdCardTest.ino, the Serial Monitor gives me the following:
SD Card Test
------------
SD card is connected
Card type is SDHC
File system space is 31574.98 Mbytes.
SD library is able to access the filesystem
Reading SDTEST1.WAV:
Overall speed = 0.75 Mbyte/sec
Worst block time = 1.31 ms
45.26% of audio frame time
Reading SDTEST1.WAV & SDTEST2.WAV:
Overall speed = 0.45 Mbyte/sec
Worst block time = 3.52 ms
121.46% of audio frame time
and so on for all 4 waves...
BUT,
the audio that comes out is just a series of random high pitched notes, certainly not the music within the .wav files.
can anyone help me with this?
thank you in advance,
Russ from Ocala, Florida, USA