|
||||||||||
WORKSHOP
WEEK 9 MMST 12016
COMPRESSED AUDIO AND AUDIO FOR STREAMINGINTRODUCTION Throughout this course we have been working with MP3 files, and in Tutorial 3 we looked at the concepts behind audio file compression and considered some of the issues surrounding the way MP3 files are "shared". There is one other important use of file compression that we have not yet covered: streaming audio.We are all familiar with the way in which the WWW and services such as Napster can allow for the transmission of files. In the case of the many MP3 files used on these pages, the principle is simple. The file is placed on a server, the person viewing these web pages chooses to download a file, and the file is sent via the HTTP protocol to the end user's computer. This model of transport is similar in many ways to the postal service: the file is a package sent from source to destination.There is another mode of transmission for compressed digital audio; streaming. Streaming is more like radio than post. An original audio file sits on a server. When someone wants to listen to theSimilarly, a user with a 40kb/s connection to the server will be able to listen to an three minute audio file with a 60 kb/s bit rate if the player waits to recieve a buffer of one minute of audio before it begins playing.
Terra Lycos' Webmonkey site contains much useful information, including this streaming audio tutorial, which you should read to gain a better understanding of this process. As a producers of digital audio, it is important for you to understand the principles behind streaming, and know how to produce files that will be appropriate to serve up for this type of transmission. In this week's tutorial I am going to step you through the very simple process of preparing compressed .wma files for streaming. Note that the .wma file format is not different in quality to the MP3 files we have been using all term. WMA has been chosen as the encoder is freely available from Microsoft's WindowsMedia site and is very easy to use. If you want to know more about the range of compressed media formats available, it is worth looking at APC Magazine's article "the audiophiles". THE EXERCISE First, right-click on the link below to download a public domain aduio file of an Irish folk tune, Drowsy Maggie, played on that traditional Irish instrument, Yamaha ACXG synth chip. Note that as this is already a compressed file, asn as such does not represent the full audio quality of the original. If you have access to the MMST12016 resource CD you will find a wav version in the "audio" folder. You should open this in your audio editor, and save it as a wav file entitled maggie.wav, then follow the steps below. Open Windows Media Encoder, and select "broadcast, capture or convert a file..." as shown below: Note With respect to Windows Media Encoder it is on the lab computers under programs/windows media. It is also on the term 3 cd under mmst12016\additional software\wm\WMENCODER71.EXE. It can also be downloaded at. For Flex Students The maggie.wav file is over 12 Meg you can down load it if you wish. However if you can source a wav file that you have on hand it will save you the down loading time.
Martin Francis
press "OK". Then, choose to convert an audio file as shown below. " Click "next". Press "browse" and navigate your way to maggie.wav. Then type a name for the wma file that the encoder will create.
You then have a choice of profiles. Each profile is a collection of settings appropriate for a particular scenario. Click the down arrow under "What profile do you want to use" to see the options...
... as you can see, there are quite a few. Let's select "Audio for CD-Quality"
You can then enter information that identified the track and carries
copyright information. Were this file actually streamed, this information
would be read and displayed by the Windows Media player on the end user's
computer. Click "next" and watch as the encoder processes the file. At this time the settings you have selected will be displayed.
Information about the session and the wma file will be displayed at the end of the process.
Now listen to the file, and compare it to the original. I followed the same procedure to produce two more versions of "maggie".:
This lesser quality setting produced maggie2. An even lower bandwidth setting:
produced maggie3.
Exercises: Download the following files: and our old friend billdollar Convert the first two to .wav format using your audio editor. Now attempt the following ecericses: 1. you are an aspiring electronic musician, and have just recorded your version of Holst's "Mars" from the Planets suite. You want to distribute this as a bonus .wma file on your new CD. You also want to offer a 30 second streaming preview sample on your web site. Produce two appropriate WMA files. 2. Your company as installed a new computer-based telephone system, and you have been asked to source some innocuous music to play to callers when they are placed on hold. Using Windows Media Encoder, produce a file from "blumenstruck" that will be as small as possible without losing any quality as heard over the telephone.
Extension ExerciseIf you have time to spare it might be a good idea to use it to catch up an any exercises from earlier tutorials that you may not have completed. If you are up to date, you might want to carry out this exercise, for fun. Download the fllowing files: Open the files in AnvilStudio. Change the istruments for the various traks. You may be able to achieve some nteresting results. Here are some versions of blumenstuck with exotic instrumentation, courtesy of Anvil Studio: |