qwazzerman
Member
I'm building a device that will play audio and simultaneously control some LEDs and read switches. Several of these will be running simultaneously, controlled by a central (Windows) PC, each with its own audio. I need to be able to determine which audio to play for each board using the PC, so I'm looking into using the Teensy as an audio device and streaming audio to each of them.
I know I can run the Teensy in Audio/MIDI/Serial mode and stream audio to it while still sending/receiving serial data(1), but the audio device that appears in Device Manager is generically named ("Digital Audio Interface (2- Teensy MIDI/Audio)"), with no identifying information that I can find - not even a variable to distinguish one audio device from another. I need to know which audio device goes with which serial device on the PC, but is there an easy way to do that? Maybe with external code in python or something?
Also, are there any foreseeable issues with running multiple audio devices simultaneously like this?
Thanks!
edit: I realize it is possible to modify the name that appears in Device Manager (2), but I've thus far only seen examples that use static names, and I need to add some unique element, so some kind of dynamic naming would be better.
I know I can run the Teensy in Audio/MIDI/Serial mode and stream audio to it while still sending/receiving serial data(1), but the audio device that appears in Device Manager is generically named ("Digital Audio Interface (2- Teensy MIDI/Audio)"), with no identifying information that I can find - not even a variable to distinguish one audio device from another. I need to know which audio device goes with which serial device on the PC, but is there an easy way to do that? Maybe with external code in python or something?
Also, are there any foreseeable issues with running multiple audio devices simultaneously like this?
Thanks!
edit: I realize it is possible to modify the name that appears in Device Manager (2), but I've thus far only seen examples that use static names, and I need to add some unique element, so some kind of dynamic naming would be better.
Last edited: