![]() |
[PROBLEM] Output to Loopback device - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Output to Loopback device (/showthread.php?tid=7747) Pages:
1
2
|
Output to Loopback device - robiwan - 05-22-2025 Hi all, Using the latest Moode distro on a Raspberry Pi 5, I'm trying to output audio to the Loopback ALSA device, but Moode won't let me (Device is reserved... ). My system I try to setup is Moode playing to the Loopback device, which then pipes back into JACK2 for audio routing. I have a ADC input which I'd like to be able to use as well, i.e. ADC and Moode will be two inputs to the routing. Thoughts? /R RE: Output to Loopback device - Tim Curtis - 05-22-2025 You can turn the loopback device on in the ALSA Options section of Audio Config. [attachment=4727] Code: pi@lcd:~ $ aplay -l RE: Output to Loopback device - robiwan - 05-22-2025 Thanks, I did do that. But when selecting the Loopback device as output, Moode pops up a dialog saying "Device is reserved and cannot be used for output" (or something to that effect)... ![]() To be clear, I want only output to the Loopback, and nothing else. RE: Output to Loopback device - Tim Curtis - 05-22-2025 The "Output device" field is for the real audio device which is why it can't be set to Loopback. The Loopback configuration just provides a copy of the PCM stream being sent to the actual device. RE: Output to Loopback device - robiwan - 05-22-2025 Too bad. That will defeat my setup. ![]() Is there a way to inhibit this check and allow Loopback as output device? RE: Output to Loopback device - robiwan - 05-22-2025 To be more specific, this is what I want to accomplish: <dammit, image malfunction, how can I insert a clipboard image?> RE: Output to Loopback device - bottlecaps - 05-22-2025 I don't know if I understood your question. Some time ago I tried to input sound through a microphone interface and listen to the microphone input and moode at the same time. I remember I had to load this module and fiddle a little with configs in the terminal.
This is the site I draw some info from: https://raspberrypi.stackexchange.com/questions/26810/how-to-use-jack-or-similar-software-to-route-music-played-in-the-pi-as-audio-i
Code: snd_loopback RE: Output to Loopback device - robiwan - 05-23-2025 The loopback is fixed with Tim's suggestion (i.e. enable Loopback in Moode). However, that means that Moode opens the Loopback AND the output sound card for audio. I want to use the output sound card in JACK router and route Moode audio to JACK through the Loopback device. So I would like to have Moode to use ONLY the Loopback device. Loading the snd-loopback module exposes the Loopback devices in ALSA, as you pointed out. However, Moode has been coded so that it is not possible to select that Loopback device as output sound card. If that was possible, all my problems would be solved ![]() Maybe the inhibition of selecting the Loopback device should only be done if the Loopback is enabled within Moode? EDIT: Actually, being able to select the Dummy ALSA device would solve the problem, I think... https://github.com/moode-player/moode/blob/6502768ee04ac23564568c54c1c75015cf69c25c/www/inc/constants.php#L232 RE: Output to Loopback device - Tim Curtis - 05-23-2025 (05-23-2025, 09:06 AM)robiwan Wrote: The loopback is fixed with Tim's suggestion (i.e. enable Loopback in Moode). However, that means that Moode opens the Loopback AND the output sound card for audio. What exactly is your usage scenario where you need to use Jack for audio routing? RE: Output to Loopback device - robiwan - 05-23-2025 (05-23-2025, 11:51 AM)Tim Curtis Wrote: What exactly is your usage scenario where you need to use Jack for audio routing? I'm glad you asked ![]() Sources (routed into JACK) - Analog input(s) (Hifiberry 8-ch ADC ALSA) (nominally the output of a TV set running Chromecast) - Moode (Loopback ALSA) Routing: - JACK Processing (DSP): - Carla (JACK plugin processor that can load LADSPA plugins) Output: - Analog output (Hifiberry 8-ch DAC ALSA) (to L/R speakers + subwoofer(s) ) Using the Chromecast IR remote, I'll be able to switch between the sources basically and set the output volume/mute. Carla will be running a LADSPA plugin for room correction, which is the whole purpose of this setup (AFAICT CamillaDSP cannot load LADSPA plugins). And also, I need the analog input. |