Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Digital Audio, Video > Audio

Preparing Yourself for Digital Audio

Get a handle on some of the key issues around authoring your own streaming audio.
This chapter is from the book

This chapter is from the book

Encoding Computer and Audio Hardware Requirements

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:

  1. Click anywhere on the desktop, or select Finder as your current application.

  2. Select About This Computer from under the Apple Menu icon at the top left of your screen.

  3. Read the number after Built-In Memory in the pop-up window.

If you are using Windows:

  1. Click the Start button at the lower-left corner of your screen.

  2. Go to Settings and then Control Panel.

  3. 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, too much general amusement. The possibilities are endless.

Cabling and Audio Routing

Almost every home stereo consumer electronic device comes with a set of RCA cables. Most sound cards come with 1/8'' stereo mini plugs for input and output. You'll recognize 1/8'' plugs from the headphone and line outputs of portable CD or MP3 players. Refer to Figure 2.1 to see the difference between the two types of cable plugs.

Figure 2.1 RCA cables and 1/8'' stereo mini plugs are the industry standard for computer audio input and output.

Cabling is necessary when connecting to and from each type and size of external audio source. Advanced users will investigate higher-quality cabling options such as XLR breakout boxes and pricey, but nice professional grade cable. The difference in audio quality between a 1/8'' mini jack and stereo RCA cable is negligible.

NOTE

Some computers' 1/8'' mic inputs are mono and should only be used if the computer's sound card has no line-level input.

All of the tools must be hooked together in the physical world so that they can do their thing in the digital world. After everything is set up, the cabling might look like plastic spaghetti that's fallen behind the desk, but the principle is basic. Simply route your audio source to your computer (see Figure 2.2).

Figure 2.2 A simple cabling diagram connecting your home stereo to your home computer.

Monitor System

Monitor is a fancy word describing what you use to listen to your audio—it's your speakers, really. Your monitor could be little portable headphones for $5 or big, heavy, wooden speaker boxes costing thousands of dollars apiece. Your home stereo speakers will do fine. By the way, speakers are the most important element in your audio food chain, and this is an appropriate place to spend a little money. Depending on how careful a listener you are and how important audio quality is to you, a decent pair of speakers (that's right, a pair—stereo is where it's at!) is key for being able to hear what's going on. In addition, having quality speakers makes it easy to hear important frequency differences when performing advanced audio optimizations.

Many brands and models of self-powered speakers are specifically designed to be directly connected to a computer's audio output. These can be remarkably inexpensive and of good quality. A small system that includes a subwoofer is recommended. It shouldn't be necessary to spend more than $40 for a good computer speaker system.

Encoding Computer Software Requirements

There are a number of pieces of software to fit into the streaming audio puzzle. Below is a list of the basic tools you'll need.

Operating Systems: Windows and Macintosh

The operating system (OS) is the platform upon which all of your applications rest. Streaming audio software tools and applications are upgraded so rapidly that it's helpful to have the most recent and stable version of your OS as possible. For Windows users, it's advisable to have Windows 98 or newer. For Macintosh users, OS 9.1 or newer is recommended.

Streaming Audio Players

A player is a computer software application for playing back your streaming (or downloaded) audio files. Because you're learning several streaming formats, several players are necessary. Windows Media, RealMedia, and QuickTime all require their own players to stream files encoded using these formats. MP3 files, because manufacturers recognize MP3's popularity and because MP3 is not a proprietary format, can be streamed through any of the previously mentioned players, as well as a host of free or shareware players available online. Even though these freeware and shareware players are small, free, and simple to install, you can still purchase any number of other third-party players. These third-party players often take up a lot of memory, feature all manner of groovy visual effects to go along with your music, and cost as much as a tank of gas. This book uses Winamp, a popular and free download from http://www.winamp.com, as a basic MP3 streaming player for Windows. For the Macintosh MP3 streaming player, the book will use iTunes, which can be found at http://www.apple.com/itunes.

A list of players can be found in the Appendix, "Tools and Resources."

Rippers and Encoders

A ripper is a software application that pulls, or rips, a song from the CD in your computer's CD-ROM drive onto your computer as an uncompressed, raw audio file (WAV for Windows and AIFF for Macintosh).

An encoder is a format-specific software application that squeezes, or encodes, the raw audio file on your computer to a tiny size, making it ready for uploading to your streaming server.

Software tools are available that perform both tasks of ripping and encoding. Appropriately enough, they're called ripper/encoders. The examples in this book separate these two steps, so ripper/encoders won't be covered in depth.

A list of other rippers, encoders, and ripper/encoders can be found in the Appendix.

Waveform Editors

Almost like having a recording studio in a computer, waveform editing allows users to manipulate audio files in complex and necessary ways, at the click of a mouse. Volume level adjustments, fades, normalizing, and equalization, among other things, become easy to do. For Windows users, this book uses SoundForge 5.0 (http://www.sonicfoundry.com). For Macintosh users, Peak 2.6 LE (http://www.bias-inc.com) is the tool of choice.

A list of other waveform editors can be found in the Appendix.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020