Music provider solution(s) in Music Assistent to digitize and stream audio from analog AUX input sources to other player providers in MA? Any easy way to achieve a remote AUX input into Music Assistant to enable remote network streaming from an external analog audio source like a vinyl record player (LP turntable) or cassette player? #2343
Replies: 16 comments 26 replies
-
|
Have you seen this https://music-assistant.io/faq/stream-to/#music-assistant |
Beta Was this translation helpful? Give feedback.
-
I thought that this question better fitted here as a feature request since found no MA music providers for pre-built commercial products. But yes, do not either know of any pre-built commercial products with ANALOGUE INPUT with ADC that stream non-propriatory protocols? Again, the ”WiiM Pro Plus” is a music streamer product that has analog input but Music Assistant does not have a Music Provider for it. The closest product that can do this is otherwise the "Amazon Echo Dot" series which have AUX input but its require cloud, etc. https://decortweaks.com/does-amazon-echo-have-an-aux-input/ The only other product that I am aware of with analog AUX input for streaming are the Google Home Max speaker: https://support.google.com/googlenest/answer/7659949?hl=en That is what I would like to achieve but since this is for the wife it is not really acceptable with a janky thinker solution that needs fiddling :/ |
Beta Was this translation helpful? Give feedback.
-
|
Would still love to see a ready-made network streaming appliance with AUX-input that anyone can buy and use this purpose out-of-the-box. I understand that Nabu Casa is working on some voice-assistant product hardware based on ESP32-S3 in combination with an XMOS chip (similar to Amazon Alexa Voice Service (AVS) Development Kit), and as is planned to be both open-source and some what modular in order to keep it developer friendly for modifications and add-ons, so perhaps if their hardware is modular enough it might be possible for someone to maybe addon external PCB breakout board for it with ADC chip and AUX-in for it? ...I can at least dream about that:
PS: While I still have not found a ready-made appliance solution for this, but I have updated two guides on how to achieve this via DIY solutions: |
Beta Was this translation helpful? Give feedback.
-
|
This "AUX line-in" feature request is by the way a feature that Sonos offers on some of their products, either built-in or via a line-in adapter:
Adapter can be used with different speakers but Sonos also has a dedicated "Sonos Port" Network Audio Streamer product with this feature: PS: I also believe Sonos offer a similar feature on their soundbar for televisions as they allow users to stream audio from a TV to other speakers. |
Beta Was this translation helpful? Give feedback.
-
|
FYI, it by the way looks like the "Muse Luxe Speaker" from Raspiaudio also has a 3.5mm headphone jack for "AUX" line level ADC stereo input (with their specifications saying up to 24-bit and 96 kHz sampling frequency) but again not sure if their existing ESPHome code that could make use of it for this purpose? From what found it is either using ES8388 or WM8978 as external audio codec for the AUX jack? Looks like it has both, one for mic and one for the AUX jack? Seems like those can be used for either ADC or DAC or both?
Interestingly they also specifically mention this feature and the fact that its firmware is hackable in their marketing material. |
Beta Was this translation helpful? Give feedback.
-
|
For me, the ideal solution to this would be to connect something like a Behringer UCA222 to my host machine (running HA/MA), and have Music Assistant directly accept that USB digital audio stream as a music provider. Theoretically, this should be possible, as I noticed that the Assist Microphone Add-on can process audio from a USB microphone. This eliminates the need for having another device that has to create an Icecast stream or similar. In addition to little to no setup or configuration required, an advantage here is lower latency from one less network hop. The obvious downside is that the source being connected has to be close to your host machine. In my case, I would ideally have two such devices connected to Music Assistant. |
Beta Was this translation helpful? Give feedback.
-
|
@Hedda I have been thinking about this on and off since you first raised the question 9 months ago. |
Beta Was this translation helpful? Give feedback.
-
|
Maybe there is an option for turning a mic input into a radio station that can be played through RadioBrowser/AzuraCast or something similar? At least I have noticed with messing with it recently, that you can create your own radio stations. AzuraCast appears to be free, and likely you can add the custom URL in MA (local ip for the station). All speculation on my end, if anyone tries it, which i might, let me know what happens! |
Beta Was this translation helpful? Give feedback.
-
|
My setup is currently turntable(with USB soundcard) ->rpi running virtualhere USB over IP-> Debian VM running liquidsoap/icecast (better FLAC implementation than darkice)-> MA. I agree that just having MA pull directly from a sound card would be a lot better as the ice cast server portion of this setup is the most unstable portion |
Beta Was this translation helpful? Give feedback.
-
|
@Hedda @OzGav Initial thoughts would be that the hardware would be ESP32-S3 based, and use an external DAC to output a I2S stream into the ESP32. Something such as the PCM1808 would likeley be a good choice here. I would be happy to draft up a schematic for the circuit that I believe would prove an initial hardware to allow for a ESPHome based solution to be built upon. However I dont have the skills to impliment the software support. |
Beta Was this translation helpful? Give feedback.
-
|
Is there any chance you and/or ESPHome developers you know could have an interest in helping out @alextrical with ESPHome software-side for his proof-of-concept ESP32-based development board with ADC (analog-to-digital conversion) module and audio input ports? ESPHome based Line-Level Audio ADC analogue-input for local-network multi-room music streaming: Quote: Originally posted by @alextrical in #3763
Originally posted by @alextrical in #3763 (reply in thread)
Originally posted by @alextrical in #3763 (reply in thread)
Originally posted by @alextrical in #2343 (reply in thread)
Originally posted by @alextrical in #2343 (reply in thread)
Originally posted by @alextrical in #2343 (reply in thread)
PS Again, this request for a more user-friendly ESP32 + ESPHome appliance plug-and-play solution is partially related to this other discussion: |
Beta Was this translation helpful? Give feedback.
-
|
Hi,I now have an solution with dark ice, and icecast running on a Raspberry pi. This is working great.I maybe can help with that.
|
Beta Was this translation helpful? Give feedback.
-
|
For reference, @sle118 & @philippe44 was working on some line-level input ESP32 hardware board solution(s) for the Squeezelite protocol. See:
Maybe abandoned now(?) but their prototype was called "SqueezeIO" or "SqueezeNET" and was based on the "SqueezeAMP" all-in-one board: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For optional digital audio input hardware, check out this ESP32 Audio DSP project that create a multi-channel audio system based on ESP32-S3 and ProtoDAC x8 with TDA1387, which more importantly as relevant to this request also feature a DIR9001 96-kHz, 24-Bit Digital Audio Interface Receiver to enable SPDIF input or allow digital RCA audio input via i2s as well: By the way, his system also supports flexible audio signal processing, including IIR equalization and FIR crossover filtering, before sending the signal to the DACs. Features
|
Beta Was this translation helpful? Give feedback.
-
|
@marcelveldt nice to hear you during State of the Open Home mentioned the idea to use Sendspin to stream input from a vinyl record player. Any chance you could convince one of the Open Home Foundation's commcercial partners (@mellowism at Nabu Casa or @TrevorSchirmer at Apollo Automation) to make a small open-source WiFi-connected hardware device that feature and line-level analog AUX audio input port and sell it as a technical-preview device similar to Home Assistant's Voice Preview Edition hardware? Hopefully the goal should be to manufacture a lot so that via economy of scale could offer a reasonable priced appliance device that offer a plug-and-play experience to enable Music Assistant users to use any physical audio/music equipment that output analog stereo audio, like a vinyl record player (turntable/phonograph/gramophone), Audio CD-player, or casette-player, located anywhere in your home as an (remote) audio source for Music Assistant. At least none of today's DIY solutions for this are simple nor user-friendly -> https://www.music-assistant.io/faq/stream-to/#music-assistant Perhaps such a product could be the first ever official Music Assistant branded and the first ever official Sendspin branded hardware device? If possible make a headless combo-device which offers both AUX input and AUX output ports (RCA Input/Output) so that it couuld double as a player/reciever as well and that way be used as kind-of a pass-through device for any speakers that users normally have right next to their vinyl record player. Also if you do ask then please consider asking if it would be too expensive with a design that offer a built-in "phono pre-amp" that can be disabled since some vinyl record players have a built-in pre-ampififer while some others do not, so if want to offer best possible plug-and-play compatibly then it both needs a built-in low-noise stereo preamplifier for people who do not have their own preamp, yet the user needs to be able to manually disable that preamp (preferably via a physicial switch) so that it can be used if the user already have their own high-end pre-amp. For reference, a pre-amp increases the line-level signal from vinyl record player which is essential (though some turntables have them included). So your turntable's audio output is first routed through some kind of preamplifier component/circuit (also known as a phono preamp) for preamplication, and that converts a weak signal into an output signal strong enough to be noise-tolerant and strong enough for further processing. Without this preamplication, an amplified signal from a turntable would be noisy or distorted. The preamp also ensures that your records sound balanced and accurate. https://en.wikipedia.org/wiki/Preamplifier Obviously if the hardware could be made to have greater compability then it more likley than more people will buy it, and the same person might even buy more than one device to connect multiple audio-sources, (again like example a vinyl record player, a Audio CD-player, and a casette-player). Regardless, I am sure that any official hardware device with a line-level analog audio input port would be awesome! FYI, for others who read this and did not know, marcelveldt is the founder of Music Assistant + lead of ecosystems at the Open Home Foundation and he plus one of the developers working on Sendspin discussed its origen + future plans during the State of the Open Home 2026 live video stream which you can watch here starting at around the at 1:01 time-mark: And, by the way, State of the Open Home 2026 covered what Open Home Foundation has done the past year and some plans about the future: PS: Off-topic but among other things State of the Open Home pre-announced an ESP32-based IR-blaster protoype as open-source hardware. |
Beta Was this translation helpful? Give feedback.







Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would be great if could buy some simple music streamer appliance with analog AUX input to use as audio source provider, are such available?
What I want to achieve is a solution that is easy to install/maintain and use that allow my wife to stream music from a vinyl record player (LP turntable) to any speaker or group of speakers in our home. The vinyl record player (turntable) setup she has a pre-amp with phono (RCA) output ports for analog audio in stereo.
I would therefore prefer if we could buy some kind of networked (Wi-Fi) enabled appliance like a music streamer with stereo AUX input port that it will use for on-the-fly perform analog-to-digital conversion (ADC) + encoding for streaming to a Music Provider inside Music Assistant.
I have yet found a commercial product that does this outside the walled garden of closed ecosystems. That is, there are commercial products that support this but they will only stream to their own branded speakers within their own closed ecosystems (e.g. Sonos, and Yamaha).
Are there any solutions that can do this but stream to a Music Provider inside Music Assistant so it can forward to any Player Provider types?
UPDATE: To clearify, I would prefer to not build/maintain a DIY project, I would instead like to buy a complete appliance product that just works.
I think that it needs to have a high-quality ADC (analog-to-digital converter) for Hi-Fi music streams, though I'm not an audiophile myself.
Normally you have to use an expensive propriatory Hi-Fi music streamer system to achive this, howverr there are also mid-range products like the WiiM Ultra, WiiM Pro Plus, WiiM Amp, and WiiM Amp Pro use Linkplay streaming technology that enable analog and digital audio input ports, but practially all of them will only stream within their own ecosystem so you need to buy both music streamers and stream receivers from the same brand for all your speakers to make them compatible.
Alternativly I guess getting input via Bluetooth audio streaming could work in pinch but I am not aware of any such devices that are not troublesome and Bluetooth is not a very great way for permanent streaming which can be WAF approved (as it is my wifi that wants to stream her LP-records).
PS: I have previously used the ”Vinyl Cast” app on an Android phone/tablet (with analog input and ADC via a USB Audio Device) for casting to Chromecast Audio using Google Cast which was user-friendly but it was very buggy as ”Vinyl Cast” app the kept crashing + aesthetically the solution as a whole was not WAF approved + it kind of ruined the nostalgic retro vibe having to use the interface of Android phone/tablet each time, (nice with it though was that at least the initial release of the Vinyl Cast app included using Audio ACR to detect the song being played, but unfortunately this feature relied on a now discontinued third-party library/service so the feature was removed.)
Beta Was this translation helpful? Give feedback.
All reactions