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

Thread: Audio codec 44.1K to 48K migration.

  1. #1
    Junior Member
    Join Date
    Apr 2021
    Posts
    3

    Audio codec 44.1K to 48K migration.

    Can somebody advise me how to modify the Audio library to work with 12.288MHz crystal for the WM8731 codec?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,074
    Which Teensy are you using? The process is different on Teensy 4.x than the older boards.

  3. #3
    Junior Member
    Join Date
    Apr 2021
    Posts
    3
    It`s 4.1 board.

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,074
    I believe all you need to do with Teensy 4.0 & 4.1 is edit the sample rate number in AudioStream.h.

    That file is located inside your Arduino folder. When you search for that file, you should find 2 copies. Pay attention to the folder name, as you want to edit the copy used by Teensy 4 rather than the other file for Teensy 3.

  5. #5
    Junior Member
    Join Date
    Apr 2021
    Posts
    3
    Thank you, we`ll check.

Posting Permissions

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