You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request for AUX input, audio conversion/transcoding, and audio casting from Home Assistant Companion for iOS on iPhone/iPad.
(FYI, a matching feature request has also been submitted for the Android Companion app -> home-assistant/android#4479)
Please add features for enabling AUX input and allowing audio casting capabitity built-into Home Assistant Companion for iOS so it can stream music from audio jack (USB Audio Device) on iPhone/iPad to a "Music Provider" for Music Assistant which can then be forwarded to players.
Music Assistant is a music library manager for your offline and online music sources which can easily stream your favourite music to a wide range of supported players and be combined with the power of Home Assistant.
Music Assistant (MA) Home Assistant (HA) Integration is an addon and integrations that provides a connection between Music Assistant and Home Assistant . This means that MA players are visible in HA and can be controlled via the HA UI or via automations or scripts.
If possible please also look into if could also add Audio ACR (Automatic Content Recognition) to detect using fingerprints of the raw audio stream and match the current song being played from AUX input and add the related metadata to enable rich metadata to be displays in Music Assistant when playback from AUX input. That way playback history of songs played could be saved in Music Assistant.
Thus the main purpose want this feature request is to make it very easy for anyone to achieve stable music streaming from an analog audio source like example a vinyl record player (also known as a turntable) by connecting it to an audio jack (USB Audio Device) that has a ADC (Analog-to-Digital Converter) on an iOS app which runs an app that will perform conversion to an appropriate format for music streaming and stream that to an "Music Provider" in Music Assistant so that it in turn can forward that to a Player Provider (i.e. network-attached audio receiver and/or smart speaker).
So what is missing is a way for getting AUX audio + audio conversion + music casting inside Home Assistant Companion for iOS.
Describe the solution you'd like
Add abilities for AUX input, audio conversion/transcoding, and audio-only casting built-into Home Assistant Companion for iOS.
Optionally could also add Music Assistant integration for automatic configuration of "Music Provider" inside Music Assistant addon.
Architecture:
Analog audio -> AUX input via USB Audio Device -> Home Assistant Companion -> Music Assistant -> players (receivers/speakers)
User-guide steps if and when implemented:
Acquire Hardware = Use audio source with embedded USB audio codec output or get external stand-alone USB Audio Device. Note that a phone preamplifier (phone preamp) is needed, either built-into the audio source or inside the USB Audio Device.
Configure Music Assistant integration addon and setup local AUX-input as Music Provider in the Home Assistant Companion app.
Configure Player Provider (players = compatible network-attached recievers and smart speakers in Music Assistant).
Select playback from Local AUX input and start playback.
Describe alternatives you've considered, if any
Other way this function could previously be achieved via the no longer maintained open-source "Vinyl Cast" app for Android:
You can also achieve this using an USB Audio Device + a combination of Darkcast to capture and Icecast running on ex. a Raspberry Pi:
You could use Darkcast to capture and Icecast to build a solution that will digitize and stream audio from your analog audio equipment like a vinyl record player (turntable/phonograph/gramophone) as a web radio stream (URL) that you could add as a radio station in Music Assistant.
For such a project you need an audio-capture and ADC (analogue-to-digital converter) device that provides audio-input and digitalization. For example, you can use either a USB Audio Device Interface adapter from Behringer or IK Multimedia, or a HiFiBerry board with ADC.
You can find a generic tutorial here, and for those that like step-by-step guides look here and here (the first of which also offers a pre-configured Linux appliance image for Raspberry Pi 3 / Raspberry Pi Zero 2 W).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Feature request for AUX input, audio conversion/transcoding, and audio casting from Home Assistant Companion for iOS on iPhone/iPad.
(FYI, a matching feature request has also been submitted for the Android Companion app -> home-assistant/android#4479)
Please add features for enabling AUX input and allowing audio casting capabitity built-into Home Assistant Companion for iOS so it can stream music from audio jack (USB Audio Device) on iPhone/iPad to a "Music Provider" for Music Assistant which can then be forwarded to players.
https://www.home-assistant.io/blog/2024/05/09/music-assistant-2/
Music Assistant is a music library manager for your offline and online music sources which can easily stream your favourite music to a wide range of supported players and be combined with the power of Home Assistant.
Music Assistant (MA) Home Assistant (HA) Integration is an addon and integrations that provides a connection between Music Assistant and Home Assistant . This means that MA players are visible in HA and can be controlled via the HA UI or via automations or scripts.
https://music-assistant.io/integration/
If possible please also look into if could also add Audio ACR (Automatic Content Recognition) to detect using fingerprints of the raw audio stream and match the current song being played from AUX input and add the related metadata to enable rich metadata to be displays in Music Assistant when playback from AUX input. That way playback history of songs played could be saved in Music Assistant.
Thus the main purpose want this feature request is to make it very easy for anyone to achieve stable music streaming from an analog audio source like example a vinyl record player (also known as a turntable) by connecting it to an audio jack (USB Audio Device) that has a ADC (Analog-to-Digital Converter) on an iOS app which runs an app that will perform conversion to an appropriate format for music streaming and stream that to an "Music Provider" in Music Assistant so that it in turn can forward that to a Player Provider (i.e. network-attached audio receiver and/or smart speaker).
https://music-assistant.io/faq/stream-to/#music-assistant
So what is missing is a way for getting AUX audio + audio conversion + music casting inside Home Assistant Companion for iOS.
Describe the solution you'd like
Add abilities for AUX input, audio conversion/transcoding, and audio-only casting built-into Home Assistant Companion for iOS.
Optionally could also add Music Assistant integration for automatic configuration of "Music Provider" inside Music Assistant addon.
Architecture:
Analog audio -> AUX input via USB Audio Device -> Home Assistant Companion -> Music Assistant -> players (receivers/speakers)
User-guide steps if and when implemented:
Describe alternatives you've considered, if any
Other way this function could previously be achieved via the no longer maintained open-source "Vinyl Cast" app for Android:
https://github.com/aschober/vinyl-cast
https://vinylcast.schober.tech/
https://play.google.com/store/apps/details?id=tech.schober.vinylcast.playstore
https://youtu.be/HBDkxEvCcHQ
Additional context
You can also achieve this using an USB Audio Device + a combination of Darkcast to capture and Icecast running on ex. a Raspberry Pi:
You could use Darkcast to capture and Icecast to build a solution that will digitize and stream audio from your analog audio equipment like a vinyl record player (turntable/phonograph/gramophone) as a web radio stream (URL) that you could add as a radio station in Music Assistant.
For such a project you need an audio-capture and ADC (analogue-to-digital converter) device that provides audio-input and digitalization. For example, you can use either a USB Audio Device Interface adapter from Behringer or IK Multimedia, or a HiFiBerry board with ADC.
You can find a generic tutorial here, and for those that like step-by-step guides look here and here (the first of which also offers a pre-configured Linux appliance image for Raspberry Pi 3 / Raspberry Pi Zero 2 W).
https://github.com/quebulm/Raspberry-Pi-Vinyl-Streamer
https://github.com/gieljnssns/darkice-libaacplus-rpi-guide/blob/master/README.md
https://maker.pro/raspberry-pi/projects/how-to-build-an-internet-radio-station-with-raspberry-pi-darkice-and-icecast
PS: Personally I would suggest that interested developers should look into testing AUX inputs from USB Audio Devices like these:
Disclaimer: I have not personally tested these USB Audio Devices as AUX inputs for iOS on iPhone/iPad but understand should work? Ex:
https://www.reddit.com/r/ipadmusic/comments/hwnjss/how_to_connect_a_usb_audio_interface_to_an_ipad/
Beta Was this translation helpful? Give feedback.
All reactions