USB interface for multi channel outputs, not just stereo

Have you actually selected 8-channel USB in the Tools menu?

1747775132485.png


If you don't, the AudioInputUSBOct and AudioOutputUSBOct classes are not defined (because they wouldn't work), and that's the error message you'd get.
 
I was able to successfully compile.
The issue was I hadn't set the USB Type to "Audio".

I am able to use audacity and stream audio on the first two channels as Audacity only supports stereo playback. Rest of the 6 channels are still silent.

I am looking for an audio tool or audacity plugin that lets to stream 8 channel audio. Any recommendations?
 
Hey @alex6679,
Yes, I did test it on my Mac.
Even with just Stereo playback with Audacity on Mac.
The channels go Mute after about 5s of playback.Same for more than 8 channel play back as well.

On Windows it works perfectly.
 
Hi, it looks like the same issue that's occurring on Weiweiweiwear's Mac. A plausible explanation is that it's related to the feedback the Teensy sends to the USB host:
  • This would explain why the problem doesn't occur on all Macs—it depends on the clock difference between the USB host and the Teensy.
  • It would also explain why it takes a few seconds before the Mac mutes the signal. Initially, the Teensy sends the default feedback and requests samples at 44.1kHz. If the Mac's clock is significantly slower, the Teensy gradually increases the sample request rate to avoid a buffer underflow. Eventually (e.g., after about 5 seconds), the feedback reaches a value that the Mac rejects, and from that point on, the Mac sends only a muted signal.
I’ve created this branch of my usb interface where the Teensy always sends only the default feedback to the USB host. @fan_2021, could you please try this branch and see if the problem still occurs?
 
Apologies if this isn't the place to ask.

I have a Teensy 4.1 and a couple of BOOST-DAC8568 dev boards and I was wanting to use this setup for Linux USB audio but I need it to support DC-coupled operation so I can also output control voltages from a DAW. I don't need to use DAC8568, happy to use something more suitable but I would want at least eight DC-coupled channels, is this possible?

Thanks.
 
Back
Top