- Joined
- Feb 26, 2020
- Messages
- 225
- Likes
- 284
So kind-of-a USB EQ injector? If I understand it correctly:I just want to say that this is cool as shit. Years ago I tried convincing a standard Raspberry Pi to simultaneously act as a standard USB audio soundcard and a on a different physical port as a USB host, to process incoming audio and send it to a real soundcard. Afaik the hardware theoretically supports this and the drivers exist, but I wasn't able to actually make it work.
1. as is, the DSPi pico can act as a USB audio soundcard (USB device) and output digital audio through a SPDIF output. You can connect it to a DAC/AMP with SPDIF input to get equalised sound. This works nicely right now.
2. The standard pico USB port can’t work as an USB host, so feeding audio through a (not yet implemented) SPDIF input and connecting a USB audio soundcard is NOT supported (unless I’m wrong).
3. Theoretically, you can program two pico gpios as the D+/D- USB signals, using the pico PIO feature. The TinyUSB library that DSPi uses supports this (bit banging the GPIOs); in USB host mode as well. So “maybe” this could be used to support that scenario in the future, but I’m not aware of any OS project that has implemented this for USB audio. But using your words, the pico will not be easy to convince because of multiple potential issues (clock sync? ASRC? Enough PIOS / GPIO? Processing power?).
4. Because of 2., connecting together two picos through SPDIF (or I2S in the future) one acting as USB device and the other as host would not work. Maybe other MCUs support that.