Running a Net Radio Station With Open-Source Software
To start Liveice, go into the /usr/local/liveice/bin and run liveice. You must be able to connect to the broadcast server for Liveice to start correctly. Figure 3 is a screen shot of what Liveice looks like when started.
We did not encounter any problems with either the LAME or Liveice setup and configuration. They conform to the open-source standard and are very simple to set up.
We purchased an audio mixer that allows multiple microphones to send audio into the line-in port on the sound card. xqmixer recognizes the sound card as audio in to send the stream through LAME to be encoded and send output through the Liveice client. After the Liveice client receives the input, the client streams the output over the Internet to our Icecast server. Icecast receives the stream from Liveice and relays it back to the Internet in an MP3 format to be interpreted by any MP3 decoder client that our listeners choose to use. Xmms and Winamp seem to be the most popular programs to decode MP3 streams.
The mixer provides a greater range of input options. We can run a CDROM, microphones or an MP3 player right into the mixer and out to the Internet. The open-source radio show runs a full range of input to give the true radio feel when we broadcast. We use an audio mixer with six ports for input. Each host has his own microphone that jacks into the mixer, which then connects into the line-in port of the sound card. Any device that generates audio output can be plugged into the line-in port on the sound card.
Liveice requires specific audio input quality. The sound card, while it receives input, is still controlled by the tools within the operating system. In our case we use xqmixer to control the sound card hardware. On xqmixer, the record volume controls the streaming rate that Liveice receives as input. If the record volume is set too low, you will not hear any output. If it is set too high, Liveice clips the audio. Clipping is an audio engineering term that describes what happens when the audio signal is too strong for the hardware to handle—it “clips” off part of the signal, making it sound terrible. We adjusted our sound quality by tuning the record volume. It's simple: fire up your station and listen to yourself. If you do not hear anything, increase the record volume. If the playout is clipping, reduce the record volume until you get it right.
The http://www.opensourceradio.com/ show runs every Thursday night from 8:00 P.M. to 10:00 P.M. EST. We discuss open-source issues and use the full range of our mixing and MP3 conversion capabilities. Anyone can do what we have done. With the exception of the mixer, the computer hardware and the T1 connection, everything was free. You can easily download all of the software from the Internet to create an Internet radio station. We would also like to say that despite our sound, no small animals are injured during the course of our broadcast.
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- A Topic for Discussion - Open Source Feature-Richness?
- RSS Feeds
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Validate an E-Mail Address with PHP, the Right Way
- Readers' Choice Awards
- The Secret Password Is...
- All the articles you talked
2 hours 4 min ago
- All the articles you talked
2 hours 7 min ago
- All the articles you talked
2 hours 8 min ago
6 hours 33 min ago
- Keeping track of IP address
8 hours 24 min ago
- Roll your own dynamic dns
13 hours 37 min ago
- Please correct the URL for Salt Stack's web site
16 hours 49 min ago
- Android is Linux -- why no better inter-operation
19 hours 4 min ago
- Connecting Android device to desktop Linux via USB
19 hours 33 min ago
- Find new cell phone and tablet pc
20 hours 31 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?