Moode Forum

Full Version: Line input
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to be able to select an analog audio source with line input. Should be possible ?

It can be done within moOde via "Source select" config but only for Hifiberry DAC+ADC (Analog in) or Audiophonics 9028/9038 DAC (S/PDIF in) boards. These are the only 2 boards that have been integrated into the Source select feature.

Other boards that have switchable input would need to be controlled via command line for example by using amixer, alsamixer , etc commands or via manufacturer supplied utilities.
Ok, I have the AudioInjector Stereo (I2S board). Is it hard to integrate it into Source select feature?
Takes non-trivial amount of work and testing because these boards all use different mechanisms to control input switching for example the Hifiberry board uses alsaloop while the Audiophonics board uses custom driver commands. This is why there are only two supported boards.
Could the same be achieved in a more hardware independent way with MPD?
Haha, by doing "mpc add alsa://hw:0,0" on cmd line, that "track" shows up in Moode and I can stream line input through mpd and my ladspa plugin! The latency is terrible though...
The boards I mentioned earlier perform input switching, audio routing and conversion using mechanisms that are external to MPD for example the DAC+ADC has an on-board ADC chip. These boards are handled in moOde similar to the audio renderers like Airplay in that MPD is stopped and then the input source audio (renderer) starts playing. The only difference is that a pre-amp volume control is provided which controls the boards hardware volume controller.

[attachment=2408] [attachment=2407] [attachment=2405] [attachment=2406]