generativefm / generative.fm

A platform for playing generative music in the browser.
https://generative.fm
MIT License
1.58k stars 83 forks source link

Allow output to be streamed to arbitrary endpoints (Sonos, VLC, etc) #59

Closed conleyedwards closed 5 years ago

conleyedwards commented 5 years ago

Would it be possible to provide an mp3 (or other format) stream that could be opened via any audio application - mainly thinking of Sonos here, or other similar devices?

alexbainter commented 5 years ago

Hi @conleyedwards. There was some discussion around this in #34. If you mean for me to host the streams somewhere, it's certainly possible but would require the compute time for generating the audio and also bandwidth and distribution for the streams, which would be too expensive for me to really consider right now.

A more likely option (which was also discussed in #34) would be for me to provide the stream generation software which you could then use to host the streams yourself (for example, on your own local network). Would that work for you?

conleyedwards commented 5 years ago

That could work! Thanks for the response, appreciate it.

I have a raspberry pi on my network - is this something that could be packaged up and run on something like that?

I think as long as it could write the output to a m3u or mp3 file it could then be streamed to Sonos, other speakers, etc.

alexbainter commented 5 years ago

I'm tentatively planning on making this and #26 my top priority after v1.0.0 is released.

alexbainter commented 5 years ago

I'm closing this issue now that stream.generative.fm has been created. I will update this issue again when that's actually ready to use.