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

Thread: USB Type Audio for Teensy 4 doesn't Show

  1. #1

    USB Type Audio for Teensy 4 doesn't Show

    The only option in the Board Type menu for the Teensy 4 in both the current and beta versions is Serial. I don't see an option for Audio. Please excuse me if this is a trivial question. I appreciate the help!

  2. #2
    Senior Member vjmuzik's Avatar
    Join Date
    Apr 2017
    Location
    Florida
    Posts
    401
    Currently the only supported usb types are serial and rawHID is coming next and I believe it’s there in the new beta version, but just for testing right now. Other usb types are in the works, but some more pressing issues are being worked out first before Paul continues to bring over all the types that previous Teensy’s already support.

  3. #3
    Thank you. I understand. So then how is anyone running audio based sketches on the audio board or otherwise? Let's say ToneWaveSweep? It errors on compile.

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,686
    Quote Originally Posted by JayShoe View Post
    So then how is anyone running audio based sketches on the audio board or otherwise?
    Only the USB input & output depend on USB audio type. Everything else in the audio library works fine. Well, almost everything. A few of the other input and output hardware options are not yet working on Teensy 4.0.

    Some, like DAC output, will never be supported on Teensy 4.0 because the board lacks that specific hardware.

    I2S input & output work great. All the non I/O features, which are purely a matter of math on digital audio samples, are all working.


    Let's say ToneWaveSweep? It errors on compile.
    Maybe you meant File > Examples > Audio > HardwareTesting > ToneSweep? It compiles without error. I ran it just now on a Teensy 4.0 and the "Rev D" audio shield. Works fine.

    If you meant some other program, please be more specific. Maybe give a link to the code, or provide a copy of it here.

Posting Permissions

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