Webradio player

I have the pd patch working. I revised your file to include a control to select any of the four radio stations and a volume control. I had to add a PD_LINUX file called ffplay~.pd and a yaml file to get things working.

Here’s the revised file:
Radio.zip (10.6 KB)

Just use the webconf to upload to your zynthian.

Playing webradio on zynthian is nice, thanks for posting the patch. I plan to add more stations to the patch in the near future. Enjoy! :smiley:

3 Likes

Well that works here in the uk!!

Wonderful !
Thank you !

Now I miss the somafm stations, which are in .pls format, that won’t be read by ffplay as I read… :[

Thanks @ronsum for fixing this up. It would be advantageous to see the station name but I guess the Zynthian interface to PD doesn’t support strings, only MIDI CC?

It may be advantageous to be able to stop streaming, e.g. to have the chain loaded ready to use but not consuming too many resources.

1 Like

Thanks @ronsum ,
I added play/stop control in the patch, uploaded in my 1st comment
@riban, not sure if sending a stop message to ffplay will actually stop consuming data…

I did a fork to play backing tracks, with comments, and added speed control.
Will post in a separate thread.

The station names can be shown when selected. I will revise and post.

Here’s the revised radio pd file renamed as
iNetRadio.zip (10.8 KB)

I added five more stations and station names. Selecting the tenth station turns off the streaming.

3 Likes

Very pleasant. Occasional drop out and a little slow in responsiveness to station changes, but I’m sure that’s to be expected. Had it running for over an hour and a half of peaceful piano and only one splat in that period . DAB has done far worse on a thundery day.

Might be an idea to track the implementation of the audioplayer as many of the functions are similar in the two, and a common implementation would unify and simplify audio stream presentation.

Pleasant is the term.
Wonderful arrangement of the boxes in puredata makes a beautiful quarter of a star !

A post was split to a new topic: Spotifyd on zynthian

I like the ability to play internet radio on my Zynthian. It is super cool - well done to everyone involved in this. I would suggest we create an engine for this so that you can add it to a chain without tying up pure data. (PD was a good tool to work up this proof-of-concept but is limited, e.g. does not support text/strings well.) If I find time I may look at doing so.

I was listening to Vigin 1970s Rock yesterday for quite a while until it went to the news, in Italian!

Add the ability to load up stations from a link via the webconf page as uploads.?

This looks really exciting.
Congratulations @reg & @ronsum .
I will give it a try next week when I will be back home

Record & Play on Parameter Page & an appropriate playing graphic on the Audio Mixer Chain.

Record & Play
Would allow stream to be turned off rather than have the radio running on a 0 gain fader in the mixer and consuming resource.

So a similar Green arrow in chain 8 to the Audio Player instance running ( but not making any sound at the moment) in Chain 9

Presumably station ident details where autoplayer puts the waveform?

A very welcome addition!

What about a naitive engine like this?

inet_radio

I knocked this together at the weekend, inspired by the work done here. It allows selection of streams from the preset list which can be catagorised with the bank list. Volume can be edged up / down and steam stopped and started. It supports mp3, aac, pls, m3u streams and probably others.

This dev depends on some changes in the audio player development branch so I can’t make it available until we merge that into testing… but that may be soon.
[Edit] Actually - I have created a development branch for this so you can try it if you really feel brave! There is no guarantee that it will be accepted as a pucker Zynthian module - that depends on our glorious leader and maybe your lobbying.

What do you think? Worth having?

4 Likes

It is such a joy to have an internet radio that if so selected starts up on the zynthian from scratch and provides on the chain control in the mixer the ability to turn it to a level, and mute selection on another.

IT’s a great joy to get back to a radio device that doesn’t require GUI dexterity to operate it.

Now, of course, in recognition of the deeply subversive list @riban has presented can we operate the zynthian the other way?

Transmit Radio Goodie playing nothing but walk in the black forest parts one and two for ever more . . . ?

I can’t edit my old posts, too few privileges I guess.
Here’s a new version, based on latest ronsum’s one, with added play/stop control and playback speed control just for fun :smiley:
iNetRadio.zip (118.9 KB)

This seems really neat !
I hope it gets to testing and main soon :slight_smile:

Very nice. Play along, just listen or let it play on stage while on break. Your Internet Radio Engine has my vote.