How to set up and operate mpd on Linux for input from one USB port via alsa and output to another USB port? #2332
-
Please, I need the community's help to achieve what the title says. Very unfortunately, the mpd documentation did not help me enough. Neither did searching this forum for similar topics. Preface: Running mpd as a user system service on openSUSE Tumbleweed, and also on Ubuntu Server. For Tumbleweed:
Sorry, I don't know why Tumbleweed as updated today still is on version 0.23.17; they usually are very quickly on the latest one upon its release. Hope that doesn't matter ... What I want to achieve:
I did a test whether this audio path works using Audacity on Tumbleweed. It works perfectly well. It records the audio stream from the USB input described in the second bullet point, and plays it to either of the USB outputs described in the first bullet point. Here are the relevant snippets from my ~/.config/mpd/mpd.conf:
I hope this mpd.conf is correct. Otherwise, please comment! Unfortunately, I did not find a way yet to operate mpd so as to input the CD transport audio stream and output it to the external DAC. Amongst other things, I tried either one of the commands mentioned in the mpd documentation:
I also tried to add a stream URL in Cantata, which is my standard mpd controller on Tumbleweed. Nothings works as of now. Here is my verbose mpd.log:
(... denotes cutting repetitive stuff) In this log, you see the startup sequence first. Then an In summary: I am in need of some education and close guidance. Please help me by providing your hints with respect to the mpd.conf and with respect to the question of how to operate mpd to get the desired audio through. Thanks a lot in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I will add the outputs from the aplay and arecord commands for reference:
This is in addition to my reporting above that I could prove the audio path by using Audacity and HQPlayer Embedded. |
Beta Was this translation helpful? Give feedback.
-
I did correct the one mistake I could find and removed all local files from the playlist. Then I tried again and ran the following commands:
As can be seen, this failed again. The latter error message lets me ask what the digital format out of the miniDSP USBStreamer Box at its USB output actually is. The optical TOSLINK input is directly from my CD transport, thus it should be 44100:16:2. How could this be elaborated further? But again referring to my positive HQPlayer Embedded experience, that digital format cannot be far off from the original CD format. |
Beta Was this translation helpful? Give feedback.
-
The latest post above indeed leads to the solution here. The miniDSP USBStreamer B box has only S32_LE as its output format into USB. Therefore, all of the above works now when 44100:32:2 is used as the relevant format string in mpd and mpc, resp. |
Beta Was this translation helpful? Give feedback.
The latest post above indeed leads to the solution here. The miniDSP USBStreamer B box has only S32_LE as its output format into USB. Therefore, all of the above works now when 44100:32:2 is used as the relevant format string in mpd and mpc, resp.