Streaming Audio: The FezGuys' Guide

Go To Page

1 2 3 4
Go To Page

(This book is available for purchase from the PSW Bookstore.)

A few pieces of hardware are necessary to stream audio. Within your computer, certain specifications must be met, such as disk space, processor speed, and RAM. You also need a handful of necessary external objects, such as cabling and speakers. Having a home stereo system of some kind or another—placed close to the computer—is useful, too.

Disk Space
Digital audio, especially raw (uncompressed) stereo audio, takes up a lot of space on a computer's hard drive. A sound file of raw audio requires about 5MB of disk space per channel per minute. Therefore, a three-minute stereo song file is about 30MB. An entire album of three-minute songs requires somewhere in the neighborhood of 500–650MB of disk space, depending on how many songs are on the album. You get the picture. Since you're dealing with using a lot of disk space, it's important to know how much free disk space is available on your authoring computer.

With the price of disk space dropping faster then a Chicago Cubs' fly ball, it's feasible to acquire a hard drive large enough to have at least 1GB of disk space free at all times. In a perfect world, a minimum of 2GB of available disk space is recommended for your computer's hard drive. Calculate that figure after all of the applications and the operating system are installed.

Disk space on a hard drive can be thought of using the "if you build it, they will come" theory of physical space. More lanes on a freeway do not a quicker commute make. They mean more cars on the freeway at that exact moment. A larger hard drive won't help you get your work done any faster, but you'll be able to have more things going on at once. And it's not like you won't use the additional space. Something always comes along to fill it up (see "Backup Storage" later in this chapter).

Processor Speed
Computers get faster clock speeds practically every day. Faster is good in the realm of streaming audio. A faster computer can handle more tasks simultaneously. It also means a smaller chance of getting bogged down or crashing as the machine manipulates big audio files.

Nonetheless, older, "slower" machines can do the job, but encoding will take longer.

For Windows/PC users, a clock speed of 500MHz minimum is recommended. It's possible to get by on 300MHz, but you'll be catching up on your reading while waiting for audio to process. As of this writing, almost every new, off-the-shelf computer has a processor running at 1GHz clock-speed or higher.

For Mac users, a PowerPC era (or newer) machine is required. Machines using the G4 processor running at 450MHz or above are recommended.

RAM
As with processor speed and disk space, higher numbers are better. For either Mac or Windows platforms, a minimum of 128MB of RAM is preferred, although it's possible to squeak by on 64MB. New computers typically ship with 256MB of RAM installed. Extra RAM is available for as little as $35 for additional chunks of 256MB.

If you're going to do a lot of audio processing, you'll definitely benefit from installing as much RAM as the computer can accommodate. Committed users frequently have 512MB to a full gigabyte of RAM.

To measure how much RAM is currently installed on your computer, perform the following simple steps:

On a Macintosh:
· Click anywhere on the desktop, or select Finder as your current application.
· Select About This Computer from under the Apple Menu icon at the top left of your screen.
· Read the number after Built-In Memory in the pop-up window.

If you are using Windows:
· Click the Start button at the lower-left corner of your screen.
· Go to Settings and then Control Panel.
· Within the Control Panel window, click System and read the number on the bottom line of the General area of the system pop-up window.

Audio Card
Most Macs process audio right out of the box through RCA or 1/8'' mini plug inputs. Some iMac and iBook hardware does not include audio inputs, so a Universal Serial Bus (USB) audio frob is required. This external device converts regular audio—for example, from your stereo—into the USB interface so that computers can process it.

Windows/PC systems generally come bundled with audio capability, but it's wise to peek around at the backside of your machine to make sure. Examining the box is easier than getting the manufacturer on the phone. Look for a single 1/8'' mini plug or dual RCA audio input/output plugs. If your computer doesn't have audio input/output capability, you need to install an after-market audio card. Pick up a SoundBlaster (or a clone) card from your local store or Web site.

Note
If you have an older computer and have been thinking about upgrading, now might be a good time. Finding an audio card for a machine that is five or more years old is probably more trouble than it's worth. Fully usable, new Windows computer systems—without video monitor—are currently available for as low as $600.

CD-ROM Drive
Any modern computer sold within the past five years typically comes with a CD-ROM drive installed. A CD-ROM drive is essential for bringing audio in from a compact disc. If you don't have a CD-ROM drive in your computer, it's a straightforward task to hook up your home stereo CD player—which is also, technically, a CD-ROM drive, except that it reads audio only, not data—to your computer's audio inputs.

If you're going to purchase a new computer, consider getting a CD-RW. CD-RW stands for Compact Disc-Read and Write. These are also known as CD burners. The price is slightly higher, but having and using a CD burner just might change your musical life. Like the CD-ROM, a CD-RW can read audio or data CDs but, unlike the CD-ROM, it can also create, or burn, CDs, with audio or other file formats.

Using blank CDs—easily purchased just about anywhere—you can use CD burners for backing up applications and crucial data, moving files off of your hard drive to make space for other work, or even creating the ultimate party mix CD for your next hoe-down. CD-RW burning speeds are constantly increasing and, yet again, it's good to get the fastest burner available.

Backup Storage
Make sure important files are backed up in case of disaster. Unfortunately, crashes and data loss happen more often than the computer industry would like to admit. Think of backups as insurance. Most professionals back up their work on a daily basis. The backup operation eventually becomes second nature and is always a good idea. Here, system speed can make a big difference.

Transferring copies of your work to an external hard drive or removable storage media (Jaz or Zip disks, for example), burning work-in-progress files onto a CD using a CD-RW drive or the older, tried-and-true computer-tape systems (such as DAT or cassette) are all serviceable. Given all options, either using an external hard drive or burning to a CD is recommended.

Sound Source
The sounds that you will be streaming over a network have to come from somewhere, and typically it's the CD-ROM drive or your home stereo. Extra Credit users might have mixers and more complex systems (see Chapter 11, "Advanced Audio Optimization"). In the most basic example, though, making the pieces of the entire system talk to each other is simply a matter of connecting the source of the sound to your computer's audio inputs.

The source might be a CD, cassette, phonograph, radio, television, or even a live microphone. Of course, you could use existing digital files gleaned from the Internet and saved on your desktop. Answering machines have been used as well, to much general amusement. The possibilities are endless.

 

Email this story to a friend.

Next Page