Skip to content

Library not working any longer on Teensy 3.2 #20

@maddse

Description

@maddse

Hi Frank,

thank you for this impressing piece of code that I already used years ago when I bought some Teensy 3.2 boards which at this time were new.

When testing the boards against the new codec library I downloaded from github, I noticed that it does not run anymore on my Teensy 3.2. I compiled and uploaded the Complete_MP3_AAC_MP4_M4A_example after only two small changes:

  1. I adapted the SDCard CS pin to 10 to match the teensy audio board
    and
  2. I added some lines of code that print the result of the play functions.

The board entered an endless loop trying to play the MP3 files on the sdcard (I used the original sdtest1-4.mp3 files), not playing anything but reporting out of memory errors (3/ERR_CODEC_OUT_OF_MEMORY).

Just to be sure, I afterwards added a WAV file player (from the Teensy audio library) that successfully plays WAVs, so I am quite sure that my hardware is ok. Even after commenting out all parts of the AAC module, the MP3 module refuses to work.

I am running version 2.2.1 of Arduino IDE with the Teensy 1.58 stuff. Unfortunately switching to an older version of the codec library neither seems no work due to incompatibilities of the SD card code (although I have not tested this fully).

Are you aware of these problems? Can you give me a hint what I am doing wrong?

Thanks in advance,
Matthias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions