07-02-2023, 09:12 AM
Hello, I know it's possible to use the raspberry pi 4 as USB audio input.
This is usually referred as USB Audio Gadget mode (dtoverlay=dwc2).
This allows the raspberry to be seen as a soundcard via usb connector, aka you get audio input via the usb socket without adding another HAT.
It was a cumbersome procedure years ago as it was not supported in kernel and there wasn't camilladsp around at the time...
but then it got full support in 5.18 kernel and we also have camilladsp in moode.
It seems it works both over ethernet and USB. (I'd prefer leaving the ethernet untouched and just use the usb...)
rpi4 and rpi0 have the usb host capability, older raspberries not?
A few lines and it will show up as new alsa capture device, then one could enable within the moode or camilladsp gui.
Has anyone here tried it with moode? I plan to do some tests soon.
Could it be included into moode somehow?
thank you.
instructions on how to enable it on rpi4 (ignore the hw requirements and kernel mods sections):
https://www.audiosciencereview.com/forum...st-1180356
the main discussion (long) on diyaudio:
https://www.diyaudio.com/community/threa...tg.342070/
the older discussion (too old):
https://www.diyaudio.com/community/threa...ac.341590/
This is usually referred as USB Audio Gadget mode (dtoverlay=dwc2).
This allows the raspberry to be seen as a soundcard via usb connector, aka you get audio input via the usb socket without adding another HAT.
It was a cumbersome procedure years ago as it was not supported in kernel and there wasn't camilladsp around at the time...
but then it got full support in 5.18 kernel and we also have camilladsp in moode.
It seems it works both over ethernet and USB. (I'd prefer leaving the ethernet untouched and just use the usb...)
rpi4 and rpi0 have the usb host capability, older raspberries not?
A few lines and it will show up as new alsa capture device, then one could enable within the moode or camilladsp gui.
Has anyone here tried it with moode? I plan to do some tests soon.
Could it be included into moode somehow?
thank you.
instructions on how to enable it on rpi4 (ignore the hw requirements and kernel mods sections):
https://www.audiosciencereview.com/forum...st-1180356
the main discussion (long) on diyaudio:
https://www.diyaudio.com/community/threa...tg.342070/
the older discussion (too old):
https://www.diyaudio.com/community/threa...ac.341590/
Quote:quote from CharlieLaub
It turns out that the new Raspberry Pi 4B also has an OTG capabilities via the USB-C port (typically used to provide power to the Pi). We can use this OTG host to convert the USB-C port into a USB gadget connection as long as we power the Pi via other means (e.g. via the GPIO pins).
As luck would have it, I have been using an 8-channel HDMI audio extractor HAT that can power the Pi via the GPIO pins and can provide 8 analog outputs at up to 24/192. When combined with the Pi 4 running as a USB gadget, the Pi can receive audio, perform DSP on it, and then output up to 8 independent channels. This would comprise a very nice USB DSP+DAC unit!
Pi4 1gb - Moode 8.3.9 / 9.1.4
Suptronics X6000 7.1ch HDMI hat
Suptronics X6000 7.1ch HDMI hat