You want your Web message to be heard? Start integrating audio with your Web sites in this first of a three-part series by
Bob Weibel Hear that? Of course not, you're reading. But you could be listening, because as you may know, the Web is a multimedia thing, designed to carry text, graphics, video, and audio. All Macs and most PCs on the market come with sound chips or audio adapter cards that enable the playback
of audio data. And Web audio is moving past the lunatic fringe into the mainstream, with technologies such as Real Audio, which lets folks broadcast and receive talk shows, concerts, and recorded music over the Internet. Emerging audio file format standards such as MP3 catch headlines as folks prepare to buy or steal their favorite recordings over the Web.
While audio can add real value to your site, as with any other technology, you should only add it to your site if it is necessary and adds something that text and graphics alone can't. It's easy to get short snippets of sound onto a Web page, say for background music, and other cutesy stuff. But the story
gets major hairy in short order once you're talking about more than a few seconds of CD-quality recorded sound. That's because, like video, sound is a moving thing: each split second of sound takes a lot of data, so it adds up fast. I dabble in sound editing, and I'm not shocked to know that 15 seconds of uncompressed CD-quality music needs about 3MB of space. If I simply popped that file onto a Web page, for playback, a typical visitor with a 28.8 - 56K
bit-per-second modem would have to wait for a half-hour or more for the 3MB download before the visitor could even start to hear the tune. So, given the relatively slow data rate of the typical modem connection to the Internet, you've got basically two ways to do audio right: So we don't scare you off, we're going to tackle "streaming" audio in a follow-up, Part 2, article. Once you've played with the basics of "lite audio" as described above, streaming audio won't seem like such a big leap. There's a lot to know about the capabilities of different audio file formats and the browser software needed for playback,
even when you're simply embedding short audio segments. But before we get into all that I'll cut some of the suspense and show you how easy it can be to put some audio on your Web page and get it to play back, using features in NetObjects Fusion 4.0. Then we'll fuss the details. Background audio in Fusion 4.0
Fusion 4.0 makes it dead easy to get background music to play on your Web page. (Be warned, though, that folks generally don't take kindly to Web background sound unless it's highly relevant to the content, based on the Web chat I've seen.) Step 2: Open the Layout Properties palette. To do that, click View/Properties Palette, or right click on a blank portion of the page and select Layout Properties from the pop-up menu. Step 3: Once you've got the Layout Properties palette on screen, click on the middle tab labeled "Background." In the Sound section at the bottom of the box, click the Sound check box. Step 4: A Background Sound dialog box pops up when you
click the Sound check box. Click its browse button and navigate to the \Fusion 4.0\Samples\Content\Sounds folder on the drive where you've installed Fusion. NetObjects has placed some demo audio files there in a range of file formats for you to play with. For the sake of demonstration, select MIDI Files (*.midi,
*.mid) from the "Files of type:" drop-down list. Then select the "demo0001" audio file, and click OK. (We'll describe MIDI sound files and others While you're at it, also click the "Continuous Loop" check box. You'll notice the effect later, when you view the page
through a browser. "Looping" will automatically restart the music segment to keep it playing continuously. When you do that, it helps to choose music the whole world loves, otherwise, people may leave your site just to stop the music! Step 5: Take a breath; you've just made your first step into Web audio. Be sure you've got your computer's speakers
turned on, and then control-click on the Preview button to preview the page in your browser. Hmm. You say you're hearing the sounds of silence? Like, nothin's-ville? That's because, barring any problems with your sound card or speakers, your browser may not have the
smarts, yet, to actually play the MIDI sound file. Neither Netscape Navigator 4 nor Internet Explorer have much built-in capability for playing sound files. (One exception is Navigator's built-in support for RealAudio streaming audio, and the HeadSpace Beatnik Player.)
But help is just a download away, via plug-in files that add special talent to your browser of choice. To see the plug-ins currently installed for Navigator 4.0 click Help//About Plug-ins. You'll see an alphabetical list of installed plug-ins, each accompanied by a table showing the types of files each plug-in can handle. (Navigator keeps its plug-ins in the \Program Files\Netscape\Communicator\Program\Plugins folder of whichever drive you've installed Netscape Navigator.
At the end of the article we'll post some links to sites offering audio plug-ins for Navigator and/or Internet Explorer. Note that some plug-ins handle several audio-file formats. As you can see, Headspace Beatnik Player for Navigator, for example, handles most of the audio formats that Fusion 4.0 supports, which we'll discuss below. You've got a choice of audio file formats when it comes to inserting sound files in your Fusion Web pages. Some may serve better for certain purposes, so here's a summary of the formats that will work as background sounds: Beyond background Of course, instead of inflicting your choice of background sound on your Web-page audience, you can let them choose to play certain sounds. Maybe you'd like a visitor's mouse to trigger playback of a voice message, or you'd like a certain sound effect or section of music to start playing back when the visitor's mouse cursor "rolls over" a particular on-screen object. The next article in this series deals with complexities of incorporating these audio-based actions into your pages. According to NetObjects Fusion technical support, audio-based dynamic HTML "Actions" can be unreliable, given some lack of conformity among the different audio browser plug-ins, which we list below. For more info on Fusion's audio Action features, see HeadSpace's Beatnik Action Set for Fusion. Plug-ins As you get rolling with sound on the Web, you'll want to start experiencing the potential of different audio formats and install some of the existing audio browser plug-ins. Here's a list to get you started.
Plays Headspace "Beatnik" RMF audio files, with special interactive controls for modifying their sound as they play back. Compatibility: PowerMac: MacOS running Netscape 3.01 Pentium-class PC (90 Mhz or higher recommended) running Netscape 3.01 or higher. An Internet Explorer version may be available by the time you read this. Maczilla, Knowledge Engineering Plays MIDI, WAV, AU, and AIFF audio, plus MPEG and AVI audio/video. Compatibility: MacOS running Navigator 3.0 or higher. Plays MIDI files, either through sound-card or external MIDI-compatible synthesizer, or via built-in Soft Synthesizer with 128 General MIDI-compatible voices Compatibility: PowerMac or Pentium PC running Navigator 3.0 or Internet Explorer 3.0 or better Plays streaming Liquid Audio files of CD-quality music tracks and CD albums, using exclusive Dolby Digital technology. Lets you view album graphics, lyrics, and liner notes. Includes personal music library management and the ability to record downloaded music onto CD-Recordable discs. Plays MIDI-based files from the wide Koan music library. Compatibility: PowerMac running Navigator 4.0 PC running Navigator 3.0 Internet Explorer 3.0 or better RealAudio, Progressive Networks
RealPlayer provides live and on-demand streaming audio and video content on the Web. You can try out the free basic RealPlayer G2 (Windows), or RealPlayer 5.0 (Macintosh--a G2 beta is also available), and spring later for the $29.99 "RealPlayer Plus G2," with enhanced audio-video quality and controls. Compatibility: Navigator 3.x and Internet Explorer 3.x, or better, Mac and PC.
Illustration: EyeWire, World of Communication. |
|
| ||||||||||||||||||||||||||||||||||||