Site Network: Home | About us | Reach Us |

 

Illusion is a state of mind. Innovation is to break it. Innovation is all about bringing in the hidden passion within you. The innovators are the one who has the spark of excogitation, and has the flair to fire their passion. Innoarena is a catalyst for the innovative minds.



Adding streaming Flash audio to a Web site

An organization recently asked me to add audio to its Web site. The primary purpose of the Web site was to inform the organization's members about new developments. My client specifically wanted to add voice recordings of organization leaders talking to members about recent news. They were already using blog software to post news items in text format, but they wanted to add audio to give it a more personal touch. The audio would also benefit members who were more fluent in spoken English than in the written language.

The client needed to keep costs low, while allowing for daily updates; so part of the challenge was to find a self-service solution that would allow the client to handle most of the routine updates after we worked out the basic system. The same things that made this solution simple enough for the client to use would also make it fast and easy for a Web builder to implement.

Selecting a sound format

The first task was to select an appropriate file format for the audio files. We were looking for a format that met the following criteria:

I considered several possibilities. The WAV format enjoys almost universal playback support, but the file size is too large. I rejected the Real and QuickTime formats because the availability of respective players isn't high enough (at only about 40 to 50 percent of users each). The MP3 file format offers good quality along with good compression, but only a few media players can stream MP3 files directly. Windows Media Player 9 supports MP3 streaming, but the player isn't available on Macs, and there are problems getting it to install and run properly on many older Windows machines.

I finally settled on the SWF file format because the Macromedia Flash Player has the highest installed base of all the media players. (Macromedia claims that the Flash Player is installed on 98 percent of all computers. That number is probably exaggerated, but even conservative estimates put the number at more than 90 percent.) It's a cross-platform solution with very modest hardware requirements, and it's probably the easiest of the media players to download and install if a visitor needs a new or updated copy.

You can embed audio files (including MP3s) in a Flash movie, and all but the oldest versions of Flash Player support streaming. Versions 6 and 7 of Flash Player support their own audio compression that is even more efficient than MP3, but I opted not to use that feature in order to retain compatibility with older versions of the player. I also wanted to minimize the chances that visitors might need to upgrade their installed players in order to listen to the audio.

Selecting the tools

One of the biggest potential drawbacks to working with Flash movies is that Macromedia Flash is expensive software that requires a substantial learning curve. It's a great tool for professional Web builders, but it's not practical for most clients to use. However, there are several third-party programs that are also capable of producing SWF files, and while they may not have the power of the full Flash program, they can provide an easy and cost-effective way to perform certain limited tasks.

In this case, I looked at two small utility programs designed especially for embedding audio into a Flash movie. One was Boomer from Crazy Ivan Productions, and the other was MP3 Sound Stream. Both utilities do their job with point-and-click ease. I went with MP3 Sound Stream because it's a little simpler to create a Web page with control buttons, along with the movie containing the audio clip.

In addition to the utility for producing SWF files with embedded sounds, I needed the following:



Establishing the workflow

With the pieces in place, all that remains is to give the client instructions on how to create an audio clip and post it to the Web site. Here's an abbreviated version of the instructions that outline the basic workflow:

Record the audio clip and save it on your computer as a WAV or MP3 file. If necessary, edit the audio file.

posted by Arun @ 10:15 AM,

0 Comments:

Post a Comment

<< Home