Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the pre-configured image easier to use as a "Music Provider" for "Music Assistant" (a.k.a. MA)? #2

Open
Hedda opened this issue May 22, 2024 · 3 comments

Comments

@Hedda
Copy link
Contributor

Hedda commented May 22, 2024

@quebulm heard about Music Assistant (MA) project and any chance you be interested in making it easier to use this for it?

The "Music Assistant" server is a music-streaming cross-ecosystem interoperability open-source software project that can work as a standalone product but is actually tailored to use side-by-side integration for Home Assistant (home automation software) as an addon.

Read this article announcement about new Music Assistant 2.0 release explaining how it works (and integrates with Home Assistant):

https://www.home-assistant.io/blog/2024/05/09/music-assistant-2/

Would be awesome if you could would make it even easier stream music from AUX input to a "Music Provider" inside Music Assistant.

https://music-assistant.io/music-providers/

Any chance you consider building a super easy pre-configured image to achieve this concept via "Music Provider" for Music Assistant?

https://music-assistant.io/music-providers/url

Music Assistant already has support for manually adding a radio station URLs to the database via "Music Provider". The user can add a locally created station from an Icecast server (or any online Icecast stations):

https://music-assistant.io/faq/stream-to/

I Want To Stream To - Music Assistant: "You could use Darkcast to stream to Icecast which in turn sets up a web radio stream that you could add to MA! You could use this to stream your turntable around the house for example. Here is a generic tutorial and for those that like a nice step by step look here. For input a HiFiBerry could be used or a USB Audio Interface like this one or this one"

PS: Off-topic but noticed possibly more elegant looking hardware solution mentioned in link there is to use HiFiBerry's ANALOG INPUT products "HIFIBERRY DAC+ ADC PRO", "HIFIBERRY DAC2 ADC PRO", or "HIFIBERRY DAC+ ADC" as ADC instead of a USB Audio Device as input for a very clean and almost the look of a all-in-one commercial appliance:

https://www.hifiberry.com/shop/boards/hifiberry-dac-adc/

https://www.hifiberry.com/shop/boards/hifiberry-dac-adc-pro/

https://www.hifiberry.com/shop/boards/hifiberry-dac2-adc-pro/

All of those are add-on boards for Raspberry Pi's GPIO Pin header:

https://www.hifiberry.com/blog/need-some-input/

@quebulm
Copy link
Owner

quebulm commented May 22, 2024

@Hedda didn’t know about the Music Assistant project, but it sounds cool! I’ll look into it and might also try out the Raspberry Pi extensions.
Thanks for sharing!

@Hedda
Copy link
Contributor Author

Hedda commented Jun 5, 2024

FYI, I have posted a link to your guide in Music Assistant documentation for reference -> https://music-assistant.io/faq/stream-to/

Music Assistant

You could use Darkcast to caputure and Icecast to build a solution 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 Music Provider in Music Assistant.

For such a project you need audio-capture and ADC (analogue-to-digital converter) device hardware that provide 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).

@Hedda
Copy link
Contributor Author

Hedda commented Jun 25, 2024

@Hedda didn’t know about the Music Assistant project, but it sounds cool! I’ll look into it and might also try out the Raspberry Pi extensions. Thanks for sharing!

@quebulm slightly off-topic but maybe you would even be willing and interesting to consider adding these functions to "Music Assistant Companion" which is a remote-control desktop-application side-project (written in Rust programming language) that they have for remotely controlling playback for the Music Assistant server from any Linux/Mac/Windows computer on the same local network, see related feature request for them here -> music-assistant/companion#40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants