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

Thread: Arduino 1.8.10 & Teensyduino 1.49b3: no audio library yet?

  1. #1
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    125

    Arduino 1.8.10 & Teensyduino 1.49b3: no audio library yet?

    Just did a fresh install of Arduino 1.8.10 & Teensyduino 1.49b3.
    Selected Teensy 4.0. And then tried to select "Audio".

    Click image for larger version. 

Name:	screenshot.png 
Views:	2 
Size:	19.9 KB 
ID:	18467

    Did I miss somehow that the Audio library is not yet supported on Teensy 4?

    Thanks,
    Paul

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,091
    My guess that USB Audio output is not yet done...

    From the B2 release notes:
    Add Teensy 4.0 USB MIDI, Keyboard, Mouse, Joystick
    My guess is the port of the Audio stuff might be a little more complex.

  3. #3
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,215
    The audio library is there but USB Audio isn't done yet.

    Pete

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,302
    Quote Originally Posted by KurtE View Post
    My guess is the port of the Audio stuff might be a little more complex.
    Yes, indeed. Isochronous rate feedback used for asynchronous mode audio uses a 3 byte format when running at 12 Mbit speed, and a different 4 byte format for 480 Mbit speed. Frame timing is also different, 1 ms at 12 Mbit versus 125 us at 480 Mbit.

    Currently all the existing USB audio code is written for the USB controller in the older chips and designed only for 12 Mbit speed.

  5. #5
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    125
    Thanks for the explanations! Yes, I can understand the USB complexity.
    Paul

Posting Permissions

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