Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: PlaySerialFlashRaw is playing at half speed, T3.5

  1. #1

    PlaySerialFlashRaw is playing at half speed, T3.5

    Hey guys,

    I'm using the Audio library on a T3.5 and have a W25Q128 flash chip connected (no audio shield but using those same pins)
    When I use AudioPlaySerialflashRaw my files are playing back at half speed...I copied the files from my micro SD, and if I use AudioPlaySDWav to play the files direct from the card they are normal. I've used AudioPlaySerialflashRaw in a couple different projects and never run into this, but those used T3.2...I'd assume it's sampling rate related?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,078
    Any chance the file is actually stereo data? In that case, the WAV file player will de-interleave the samples and send each channel to its 2 outputs. But the raw player will just give you all the samples as raw data, which you'd hear as half speed.

  3. #3
    yes they are in stereo, that was it! Thanks, I totally forgot that I used to collapse my files into mono before loading them into flash

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •