CPCWiki forum

General Category => General Discussion - Introductions => RolandRadio.net - all about the chip tune radio => Topic started by: RolandRadio on 13:14, 18 March 20

Title: Which stream formats do you prefer?
Post by: RolandRadio on 13:14, 18 March 20
As we can stream in various formats and quality levels i'd like to ask, which stream format and quality you'd like to have to listen to roland radio. We can provide MP3, Ogg Vorbis, Opus and FLAC.
Title: Re: Which stream formats do you prefer?
Post by: Targhan on 14:54, 18 March 20
MP3 is fine to me... I don't know what it the most efficient (in term of compression ration and decompression CPU resources... Yes, my ecological conscience is speaking :))
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 15:59, 18 March 20
Quote from: Targhan on 14:54, 18 March 20
MP3 is fine to me... I don't know what it the most efficient (in term of compression ration and decompression CPU resources... Yes, my ecological conscience is speaking :) )


And which quality?
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 16:03, 18 March 20
Quote from: RolandRadio on 13:14, 18 March 20
As we can stream in various formats and quality levels i'd like to ask, which stream format and quality you'd like to have to listen to roland radio. We can provide MP3, Ogg Vorbis, Opus and FLAC.


It would be great to stream to the CPC directly using the M4 card. The best format in this case would probably be the AY format. We already have telnet and irc, so this should be doable using too.
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 16:09, 18 March 20
Hi Gunhead.

As you surely know AY/YM is not a streaming format.
I have already mentioned the available and possible formats above. These are MP3, OGG, OPUS, FLAC.
To deliver AY/YM directly our broadcasting software is not suitable; and the CPC probably isn't either.

But if you can develop something in this direction, I would be happy to hear about it. We will offer the AY/YM-files (as far as we have them) for download for each title.

Regards,
RolandRadio
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 16:14, 18 March 20
Nice, the CPC would need to download the complete song first then play it. But this should not be a problem, because it's only KBs instead of MBs. So actually you could stream AY/YM and MP3 in the same stream.
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 16:21, 18 March 20
Quote from: GUNHED on 16:14, 18 March 20
Nice, the CPC would need to download the complete song first then play it. But this should not be a problem, because it's only KBs instead of MBs. So actually you could stream AY/YM and MP3 in the same stream.

Hi Gunhead....

It is impossible to handle a combination of different file formats in the same stream via the streaming server. This is not a TV format where you can use screen lines outside the visible area for data transfer.

What we are doing right now is to provide the artist and the title as streaming information. This information should be readable even by the CPC from the header of the Icecast stream. We could then provide the appropriate AY/YM file on our server.


The CPC then parses the title from the stream and loads the corresponding YM file of the same name from the server.
In my opinion this would be a feasible way.


As soon as you make this possibility available on the CPC, we will set up and provide the necessary functions on RolandRadio.

Regards,
RolandRadio
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 16:27, 18 March 20
Well, MP3 files have documentation part. Thought it would be possible to integrate the short AY/YM parts there. But your way is also a nice one. On CPC side we got the M4 card and also the SF3 to access the internet. An application can be done for SymbOS, it already has the environment for that.
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 16:52, 18 March 20
Quote from: GUNHED on 16:27, 18 March 20
Well, MP3 files have documentation part. Thought it would be possible to integrate the short AY/YM parts there. But your way is also a nice one. On CPC side we got the M4 card and also the SF3 to access the internet. An application can be done for SymbOS, it already has the environment for that.


Those extra mp3 informations you can save within an mp3 file are not transmitted within an icecast stream. So parsing and fetching will be the only option. As i am a total noob with the cpc itself i am not able to code an application under SymbOS to do the job. This should be a task for an experienced programmer as you are.


Regards,
RolandRadio
Title: Re: Which stream formats do you prefer?
Post by: Targhan on 16:59, 18 March 20
Mmmh... It *is* possible to stream YM, I did that with Arkos Tracker 2 with a serial interface like Albireo/USIfAC. But all the music was recorded in WAV! Don't expect me to record all these songs again :). Plus, YM is a crappy format which may not reproduce all the music "features", shall we say (some players are really strangely done, producing some strange artefacts, which we are used to).

And seriously, who will bother turning both his PC and CPC, a streaming radio, the whole setup just to listen on a crappy buzzer, or even on a speaker?
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 17:15, 18 March 20
I planned a long time ago to build a nice little streaming radio based on some raspberry or other integrated chipset. I have molded a nice Roland where i can put in a bigger mono speaker, a line-out and the needed board. but i am unable to code the streaming client for the board. So maybe someone has the electronic abilities to do this? Maybe Toto?
Title: Re: Which stream formats do you prefer?
Post by: Targhan on 17:39, 18 March 20
Most of the time, people with electronic abilities are not the ones with software development capabilities! I don't think Toto code (I saw him many times, never saw him in front of an assembler!).
Title: Re: Which stream formats do you prefer?
Post by: Targhan on 17:41, 18 March 20
About the quality, I think 128+64k stereo+mono would be enough.
Title: Re: Which stream formats do you prefer?
Post by: TotO on 18:10, 18 March 20
On CPC, I mainly do hardware and graphics. I dislike to code for hobby stuff as it was my main job during years.
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 19:08, 18 March 20
Quote from: RolandRadio on 16:52, 18 March 20
As i am a total noob with the cpc itself i am not able to code an application under SymbOS to do the job. This should be a task for an experienced programmer as you are.
Thanks for the flowers, but I'm not. However there are some experienced coders (for example from the Netherlands) who are great in such things. The already did Email and IIRC. Maybe they like to help. We'll see.
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 19:12, 18 March 20
Quote from: Targhan on 16:59, 18 March 20
And seriously, who will bother turning both his PC and CPC, a streaming radio, the whole setup just to listen on a crappy buzzer, or even on a speaker?


I would prefer to use my CPC with the same "crappy" speaker you're using at your PC.
Why? This way I save the space to have some additional PC staying around just to play music.  :)
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 19:36, 18 March 20
Quote from: TotO on 18:10, 18 March 20
On CPC, I mainly do hardware and graphics. I dislike to code for hobby stuff as it was my main job during years.


But would you be able to design a board for building a hardware Roland radio? Or do you know someone who can do this?
Title: Re: Which stream formats do you prefer?
Post by: TotO on 19:56, 18 March 20
Quote from: RolandRadio on 19:36, 18 March 20
But would you be able to design a board for building a hardware Roland radio? Or do you know someone who can do this?
Sadly no, I have currently some projects to finish for the next 2 years. I don't know peoples doing that.
Title: Re: Which stream formats do you prefer?
Post by: GUNHED on 21:40, 18 March 20
Quote from: RolandRadio on 19:36, 18 March 20

But would you be able to design a board for building a hardware Roland radio? Or do you know someone who can do this?


We have two of them: M4 and SF3.
Title: Re: Which stream formats do you prefer?
Post by: RolandRadio on 22:03, 18 March 20
Quote from: GUNHED on 21:40, 18 March 20

We have two of them: M4 and SF3.


Shall be a stand alone microcontroller not a microcomputer with attached expansions.
Title: Re: Which stream formats do you prefer?
Post by: Targhan on 23:37, 18 March 20
QuoteI would prefer to use my CPC with the same "crappy" speaker you're using at your PC.
By the way, don't get me wrong, I *love* the CPC speaker and only swear by it when playing on CPC :). But I admit the CPC radio offers a nice sound, probably less tiring than if the stream was played on the CPC.
Powered by SMFPacks Menu Editor Mod