Flat Earth Radio

  • 36 Replies
  • 4842 Views
*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Flat Earth Radio
« on: August 04, 2012, 09:16:15 AM »
Since long posts on FES are no longer acceptable, I'm splitting this post up into however many parts it takes to be able to post it. Please consider it as one post.


OK, so I have a semi-working server setup. I'd be curious to get people's input on how to arrange shit, though.

What I've done so far is to set up Icecast as a streaming server, but no "source client". A source client is what actually generates the audio stream, whereas Icecast just serves it on the Internet.


Option 1 -- Client-side stream generation

I've been thinking whoever's hosting the show can use their own source client, as that makes things a lot easier, administratively speaking.

Advantages of this approach:

  • Very simple server configuration; Icecast just accepts a stream from the show host and spews it back out to the listeners.
  • Because the radio stream itself is created on the show host's local computer, they have maximum flexibility to use whichever source client suits their particular show best.


Disadvantages:

  • Potentially higher entry barrier to host a show, as it requires configuring a source client first. It's not hugely involved, but I know we have some non-technical folk here like Thork who might have difficulty just because it's new and unexpected.
  • Every new host is a potential source of new problems, if things don't just work for them.
  • Following on from the above point, the radio stream isn't guaranteed to maintain a constant format between shows. It could fluctuate between mp3 and Ogg Vorbis, and it will certainly drop out and require a reconnection from all clients when one show ends and the next begins. This creates the potential for one show to just work for a given listener, and the next to not work at all.
  • Having multiple people talking together on the same show becomes a nightmare to facilitate, as one of them will need to act as a VoIP server for the other and then feed that data up to Icecast. This also means there is one extra lossy encoding step for one of the speakers, degrading audio quality unnecessarily.
I'm going to side with the white supremacists.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #1 on: August 04, 2012, 09:17:00 AM »
The two free cross-platform source clients I've found are:

butt -- Very simple, and as a result doesn't have many features. It just takes input from a sound card and uploads it to Icecast. I've also found it to be quite buggy, so probably not a fantastic choice, which is disappointing as its simple design is ideal for talk-only shows.
Mixxx -- Very complex and feature-rich. A full-fledged DJ application, so ideal for shows with a heavy emphasis on music. Unfortunately, its complex design may create an entry barrier for some users. I haven't personally tested this one yet.


Option 2 -- Server-side stream generation

Advantages of this approach:

  • Consistent, continuous streaming from the listeners' point of view. No breaks or format changes between shows.
  • Depending on how the source client accepts audio from the show host, it could be made very easy to configure, with a low entry barrier.
  • Multiple speakers on one show becomes trivial; simply accept connections from multiple people.


Disadvantages of this approach:

  • Server configuration becomes more complex to set up and maintain.
  • An additional lossy encoding step unnecessarily degrades all audio quality.
  • Limited user flexibility, as the stream encoding is done server-side.
I'm going to side with the white supremacists.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #2 on: August 04, 2012, 09:18:00 AM »
I'd have to give some thought to how best to arrange all of this, but these two source clients seem to be most promising for running server-side:

Liquidsoap -- A scripting language that aims to make stream generation simple and flexible to configure. Worst case, I could write something custom to accept audio over HTTP and dump that straight into Liquidsoap.
RoarAudio -- A network-transparent cross-platform sound system. While this looks like an ideal solution, it does again require some setting up on the part of show hosts to communicate with the RoarAudio server. On a purely technical basis, I'd like to choose this, but I have a feeling it would raise the entry barrier way too high.


Thoughts and/or comments would be much appreciated.
I'm going to side with the white supremacists.

?

Sean

  • Official Member
  • 10740
  • ...
Re: Flat Earth Radio
« Reply #3 on: August 04, 2012, 09:37:22 AM »
Saddam should not be allowed to speak on such a program, ever. He can't even say the word "pasta" correctly.
Quote from: sokarul
Better bring a better augment, something not so stupid.

*

Lorddave

  • 18160
Re: Flat Earth Radio
« Reply #4 on: August 04, 2012, 09:59:33 AM »
Since long posts on FES are no longer acceptable, I'm splitting this post up into however many parts it takes to be able to post it. Please consider it as one post.


OK, so I have a semi-working server setup. I'd be curious to get people's input on how to arrange shit, though.

What I've done so far is to set up Icecast as a streaming server, but no "source client". A source client is what actually generates the audio stream, whereas Icecast just serves it on the Internet.


Option 1 -- Client-side stream generation

I've been thinking whoever's hosting the show can use their own source client, as that makes things a lot easier, administratively speaking.

Advantages of this approach:

  • Very simple server configuration; Icecast just accepts a stream from the show host and spews it back out to the listeners.
  • Because the radio stream itself is created on the show host's local computer, they have maximum flexibility to use whichever source client suits their particular show best.


Disadvantages:

  • Potentially higher entry barrier to host a show, as it requires configuring a source client first. It's not hugely involved, but I know we have some non-technical folk here like Thork who might have difficulty just because it's new and unexpected.
  • Every new host is a potential source of new problems, if things don't just work for them.
  • Following on from the above point, the radio stream isn't guaranteed to maintain a constant format between shows. It could fluctuate between mp3 and Ogg Vorbis, and it will certainly drop out and require a reconnection from all clients when one show ends and the next begins. This creates the potential for one show to just work for a given listener, and the next to not work at all.
  • Having multiple people talking together on the same show becomes a nightmare to facilitate, as one of them will need to act as a VoIP server for the other and then feed that data up to Icecast. This also means there is one extra lossy encoding step for one of the speakers, degrading audio quality unnecessarily.


The two free cross-platform source clients I've found are:

http://butt.sourceforge.net/ -- Very simple, and as a result doesn't have many features. It just takes input from a sound card and uploads it to Icecast. I've also found it to be quite buggy, so probably not a fantastic choice, which is disappointing as its simple design is ideal for talk-only shows.
Mixx
You have been ignored for common interest of mankind.

I am a terrible person and I am a typical Blowhard Liberal for being wrong about Bom.

*

Saddam Hussein

  • Official Member
  • 35374
  • Former President of Iraq
Re: Flat Earth Radio
« Reply #5 on: August 04, 2012, 02:07:52 PM »
Lol, "butt."

*

theonlydann

  • Official Member
  • 24186
Re: Flat Earth Radio
« Reply #6 on: August 04, 2012, 03:23:13 PM »

*

Benjamin Franklin

  • Flat Earth Editor
  • 12993
  • The dopest founding father.

*

Lord Wilmore

  • Vice President
  • Flat Earth Believer
  • 12107
Re: Flat Earth Radio
« Reply #8 on: August 04, 2012, 07:48:29 PM »
Split, moved, and stickied for extra more plus.
"I want truth for truth's sake, not for the applaud or approval of men. I would not reject truth because it is unpopular, nor accept error because it is popular. I should rather be right and stand alone than run with the multitude and be wrong." - C.S. DeFord

*

Lorddave

  • 18160
Re: Flat Earth Radio
« Reply #9 on: August 04, 2012, 08:53:00 PM »
Steve, would it be possible to setup a very small linux distro virtual system?  That way each speaker could have the same system setup as everyone else without having to worry about configuring it themselves. 
You have been ignored for common interest of mankind.

I am a terrible person and I am a typical Blowhard Liberal for being wrong about Bom.

*

Robosteve

  • 29
  • gNewSense user
Re: Flat Earth Radio
« Reply #10 on: August 04, 2012, 11:49:48 PM »
Steve, would it be possible to setup a very small linux distro virtual system?  That way each speaker could have the same system setup as everyone else without having to worry about configuring it themselves.

I'm not sure what you mean by a very small linux distro virtual system [sic]. Nonetheless, it would be a retarded idea.
He ain't never gonna drink again
Robosteve ain't havin' no liquor
Though it's easy to pretend
We know he's quite a tool.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #11 on: August 04, 2012, 11:50:01 PM »
Steve, would it be possible to setup a very small linux distro virtual system?  That way each speaker could have the same system setup as everyone else without having to worry about configuring it themselves.

It's possible, but that's a retarded idea. It's overkill; you don't need the entire OS to be identical, some people's computers may not be capable of running a VM efficiently (not to mention the lack of decent cross-platform virtualisation tools), and you still have the uncertainty of how audio is fed into the VM. If people want to play music in the VM, they need to figure out a way of copying it there from the host OS.

No, if I was going to make something that's "identical" for everybody, I'd write a simple web form to allow uploading an audio stream or something. But I'm not convinced that's the best way to go, as it has its own limitations.
I'm going to side with the white supremacists.

*

Lorddave

  • 18160
Re: Flat Earth Radio
« Reply #12 on: August 05, 2012, 12:01:39 AM »
Steve, would it be possible to setup a very small linux distro virtual system?  That way each speaker could have the same system setup as everyone else without having to worry about configuring it themselves.

It's possible, but that's a retarded idea. It's overkill; you don't need the entire OS to be identical, some people's computers may not be capable of running a VM efficiently (not to mention the lack of decent cross-platform virtualisation tools), and you still have the uncertainty of how audio is fed into the VM. If people want to play music in the VM, they need to figure out a way of copying it there from the host OS.

No, if I was going to make something that's "identical" for everybody, I'd write a simple web form to allow uploading an audio stream or something. But I'm not convinced that's the best way to go, as it has its own limitations.
Ah, sorry.  I thought the audio stream clients would need their own server setup specifically to send audio to the IceCast sever.  But now I see you only need one that collects everyone else's audio and feeds that to IceCast.

Then I'd go with option 2.  The degradation of audio quality probably won't be noticeable if it's only speech.  You really only need radio quality, which I believe is 64 kbps.
You have been ignored for common interest of mankind.

I am a terrible person and I am a typical Blowhard Liberal for being wrong about Bom.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #13 on: August 05, 2012, 12:07:59 AM »
Then I'd go with option 2.  The degradation of audio quality probably won't be noticeable if it's only speech.  You really only need radio quality, which I believe is 64 kbps.

"Radio quality" is an analogue signal, and does not directly correspond to a digital encoding quality. Furthermore, 64 kbps is a bit rate, not a quality level. Different types of audio will sound different in quality at 64 kbps. Don't let shitty programmes that describe different bit rates as "phone quality", "radio quality" and "CD quality" fool you; they're nearly always wrong.

In addition, bit rate isn't what I'm talking about when I mentioned degradation. The audio degradation is caused by multiple lossy encoding, as the source client running on the server will need to decode, mix and re-encode the signal(s). Two separate encodings at any bit rate causes more degradation than a single encoding.

However, I agree that this is an acceptable enough loss to justify going with option 2. Now I just need to decide on a source client to use.

Stand by for progress updates.
I'm going to side with the white supremacists.

*

cmdshft

  • The Elder Ones
  • 13149
  • swiggity swooty
Re: Flat Earth Radio
« Reply #14 on: August 19, 2012, 07:38:14 PM »
Posted by: Parsifal
« on: August 05, 2012, 03:07:59 AM »

Posted by: cmdshft
« on: August 19, 2012 »

Looks like free software has made this happen real fast.

Just use SHOUTcast.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #15 on: August 20, 2012, 02:08:12 AM »
Posted by: Parsifal
« on: August 05, 2012, 03:07:59 AM »

Posted by: cmdshft
« on: August 19, 2012 »

Looks like free software has made this happen real fast.

Just use SHOUTcast.

Jesus Christ, fuck off. The freeness or non-freeness of my software has nothing to do with my limited free time. I did get some time to look at this again about a week ago, but there's still the problem of how to mix streams together from multiple users in a way that makes it easy for them to contribute.

If you think you can do a better job of it, go right ahead, but don't come in here just to criticise others.
I'm going to side with the white supremacists.

*

cmdshft

  • The Elder Ones
  • 13149
  • swiggity swooty
Re: Flat Earth Radio
« Reply #16 on: August 20, 2012, 09:25:53 AM »
Jesus Christ, fuck off. The freeness or non-freeness of my software has nothing to do with my limited free time.

SHOUTcast takes maybe an hour to setup properly.

I did get some time to look at this again about a week ago, but there's still the problem of how to mix streams together from multiple users in a way that makes it easy for them to contribute.

Why would you want to do that anyway? Radio stations don't accept streams from other people to listen to, otherwise they'd have their own streams being broadcasted. Sounds dumb and a waste of time, like you.

If you think you can do a better job of it, go right ahead, but don't come in here just to criticise others.

I can, I wont, and I will.

*

Saddam Hussein

  • Official Member
  • 35374
  • Former President of Iraq
Re: Flat Earth Radio
« Reply #17 on: August 20, 2012, 11:06:01 AM »
Successful troll is successful.

Re: Flat Earth Radio
« Reply #18 on: August 20, 2012, 09:26:12 PM »
But guys. It has to be freeeee...

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #19 on: August 21, 2012, 05:11:57 AM »
SHOUTcast takes maybe an hour to setup properly.

Icecast takes far less than that, and has been set up for more than two weeks. As I said in my previous post, the current hurdle is how to accept input streams from contributors and mix them together without overcomplicating the setup. Neither Icecast nor SHOUTcast does this, as it's not what either of them is designed to do, so SHOUTcast is completely irrelevant at this point -- we already have a perfectly good equivalent setup.

If you had read the OP before barging in here with your cock out, you would have known this and saved yourself from looking like an idiot.

Why would you want to do that anyway? Radio stations don't accept streams from other people to listen to, otherwise they'd have their own streams being broadcasted. Sounds dumb and a waste of time, like you.

You make a good point. I should make people who want to contribute to the radio station visit my server in California to do so. That's a much better plan, thanks.
I'm going to side with the white supremacists.

*

cmdshft

  • The Elder Ones
  • 13149
  • swiggity swooty
Re: Flat Earth Radio
« Reply #20 on: August 21, 2012, 10:04:05 AM »
Your slogan for this radio endeavour can be "Streams in streams in streams!"

Anyway, if you have a stream server already setup, why are you bothering asking for streams? Why not just broadcast and then figure out all the hard shit along the way? Besides, I don't recall seeing what you intended to broadcast unless it's somewhere in another thread. Music? Talk?

If it's talk, just use a VoIP app and find a plugin that can take the audio stream from that and route it into Icecast. I know for sure SHOUTcast offers such a plugin, I used to use it when I was going to school. Or maybe Ventrillo has some kind of solution and setup a virtual audio card to stream from.

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #21 on: August 22, 2012, 02:08:03 AM »
Anyway, if you have a stream server already setup, why are you bothering asking for streams? Why not just broadcast and then figure out all the hard shit along the way?

Because I have nothing to broadcast.

Besides, I don't recall seeing what you intended to broadcast unless it's somewhere in another thread. Music? Talk?

This thread was split off from here, the idea being Wilmore's. It will broadcast whatever contributers would like to broadcast.

If it's talk, just use a VoIP app and find a plugin that can take the audio stream from that and route it into Icecast. I know for sure SHOUTcast offers such a plugin, I used to use it when I was going to school. Or maybe Ventrillo has some kind of solution and setup a virtual audio card to stream from.

What an innovative idea. I totally hadn't considered that option before now. I'm so glad someone smarter than me has arrived to do all the thinking for me!
I'm going to side with the white supremacists.

?

Crudblud

  • 2427
  • Scone Advocate
Re: Flat Earth Radio
« Reply #22 on: December 11, 2012, 04:46:46 PM »
I must say I am still interested in this.

*

Lord Wilmore

  • Vice President
  • Flat Earth Believer
  • 12107
Re: Flat Earth Radio
« Reply #23 on: December 11, 2012, 05:27:19 PM »
Right, tomorrow night I'm heading off to Brussels for a a few days, but over Christmas I'm going to chat with Parsifal and try to make this happen. It all depends on the uptake, but I think one slot each day is probably the best setup. I have no idea what I'll put in my show, but I'll think about it.
"I want truth for truth's sake, not for the applaud or approval of men. I would not reject truth because it is unpopular, nor accept error because it is popular. I should rather be right and stand alone than run with the multitude and be wrong." - C.S. DeFord

*

Parsifal

  • Official Member
  • 36118
  • Bendy Light specialist
Re: Flat Earth Radio
« Reply #24 on: December 11, 2012, 11:27:07 PM »
Ah yes, this thing. I must admit to having forgotten about it.

I don't know how available I'll be over Christmas, I could be busy with work, but I'll try to make some time to get this up and running.
I'm going to side with the white supremacists.

*

Ocius

  • Official Member
  • 7596
  • Space President
Re: Flat Earth Radio
« Reply #25 on: August 12, 2013, 05:57:44 PM »
I'd like a slot, although I don't think it would necessarily relate to the FES specifically.

*

Supertails

  • 4387
  • what do i put here
Re: Flat Earth Radio
« Reply #26 on: August 12, 2013, 06:40:43 PM »
I will just play music nobody likes for an hour or two.
Recently listened to:


?

Crudblud

  • 2427
  • Scone Advocate
Re: Flat Earth Radio
« Reply #27 on: August 13, 2013, 12:32:17 AM »
I will just play music nobody likes for an hour or two.
Damn it Supes, that was my plan.

Re: Flat Earth Radio
« Reply #28 on: November 19, 2013, 02:57:50 AM »
I will broadcast the sound of me rubbing a microphone against my beard for two hours.

?

Crudblud

  • 2427
  • Scone Advocate
Re: Flat Earth Radio
« Reply #29 on: November 20, 2013, 05:25:36 PM »
I will broadcast the sound of me rubbing a microphone against my beard for two hours.
Damn it Mugsy, that was my other plan.