sound in multimedia and hci sound the physical characteristics of sound the psychological...

60
Sound in Multimedia and HCI • sound • The physical characteristics of sound • The psychological characteristics of sound • Quality • Sound file formats • Sound on the Internet

Upload: sherilyn-fields

Post on 24-Dec-2015

261 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound in Multimedia and HCI

• sound• The physical characteristics of sound • The psychological characteristics of sound • Quality• Sound file formats• Sound on the Internet

Page 2: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound

• Sound is a continuous wave that travels through the air

• The wave is made up of pressure differences. • Sound is detected by measuring the pressure

level at a location • Sound waves have normal wave properties

(reflection, refraction, diffraction etc.)

Page 3: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Physical characteristics of sound (I) • Sound– is a pressure wave which travels in air at 330ms– with a frequency between 20 and 20,000 Hz

(variations/second) • Sound is a perceptual effect caused by a pressure

wave of between 20 and 20KHz being detected at the ear.

Page 4: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Physical characteristics of sound (II)• The pressure wave has two physical characteristics: • Amplitude

– The measure of displacement of the air pressure wave

• Frequency– Represents the number of periods in a second. – and is measured in hertz (Hz) or cycles per second.

Page 5: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Devices for sound generation and transduction

• For input to a computer, the pressure wave from the microphone is – converted to an analogue electrical signal (transduced) – converted to a digital signal ( digitized) (Analogue to Digital Converter), (ADC)

• For output from a computer, the digitized signal is – converted to an analogue signal (Digital to Analogue Converter,) DAC– converted to a pressure wave to loudspeaker

Page 6: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Psychological characteristics of sound (I)•Sound has three defining characteristics: 1- loudness

– how loud (intense) the sound appears2- pitch

– can be said to be simply the pitch of a sound is determined by its frequency

3- timbre – the nature of the sound (e.g. distinctive timbre of instruments)

• All sounds have a loudness, – but many are unpitched • timbre is often used as a catch -all term to describe those aspects

of the sound not captured by loudness and pitch.

Page 7: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Measuring loudness

• Our ears have (essentially) a logarithmic response (with respect to sound amplitude)

– loudness depends on power: proportional to amplitude * amplitude

– actually, (real, perceptual) loudness is difficult to compute

• Decibels– the ratio of the power of two signals is measured in decibels (dB)

Page 8: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Psychological characteristics of sound (II)

• Direction – Sound is normally generated by some source

• and normally there are lots of concurrent sources – and each source has some location – so that the sound from it is perceived to come

from some direction

Page 9: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Basically, brain identifies source of a sound on the basis of differences in intensity and phase between the signals received from the Left (L) and Right (R) ears

Earlier & louder L R

Page 10: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

• Sound recorded using a synthetic head

Page 11: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Psychological characteristics of sound (III)

• Distance– we can often also tell (roughly) the distance of the sound

source – this comes partly from the loudness of the sound, and

partly from other characteristics of the sound

• Physical correlates of distance are– reflections and spectral shape

Page 12: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Psychological characteristics of sound (IV)• Associations

– many sounds have associations– these may be obvious (and usable)…

• breaking glass • scream • door slamming

– or may be personal (and different for each individual)

• dog barking

Page 13: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Quality • Whenever sound is transduced, digitized, or reconverted to

analogue, the original signal is altered in some way.

• Digitizing sound – sound is digitized using an analogue to digital converter (ADC) – sound is converted back to analogue using a digital to analogue converter

(DAC) – Both forms of conversion can introduce alterations in the sound

• but the ADC is the more problematic. • Analogue to digital conversion has two parameters:

– sampling rate (determined by the sampling process)– sample size (determined by the quantization process)

Page 14: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sampling and Quantizing

• To include sound in a multimedia application, the sound waves must be converted from analog to digital form

• This conversion is called sampling – every fraction of a second a sample of the sound is recorded in digital bits• Sampling – process of acquiring an analogue signal• Quantizing – conversion of held signal into sequence of digital

values

Page 15: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sampling and Quantization

• Sampling rate: Number of samples per second (measured in Hz)

Time

Sam

ple

Time

Sam

ple

Sampling 3-bit quantization

3-bit quantization gives 8 possible sample values

Page 16: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sampling rate• Sampling rate describes how frequently the analogue signal is

converted (i.e. analogue signal’s value is measured at discrete intervals)– Normally measured in samples/second

• conversion is done regularly, at a fixed number of samples/second – sampling rate must be at least twice the highest frequency of interest in the signal

• Nyquist sampling theorem• otherwise aliasing can occur - see later

Page 17: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Nyquist Theorem• The sampling frequency determines the limit of

audio frequencies that can be reproduced digitally. One of the most important rules of sampling is called the Nyquist Theorem, which states that the highest frequency which can be accurately represented is less than one-half of the sampling rate. So, if we want a full 20 kHz audio bandwidth, we must sample at least twice that fast, i.e. over 40 kHz. If we don't, bad things happen. Here's our example sine wave

Page 18: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

• The dashed vertical lines are sample intervals, and the blue dots are the crossing points - the actual samples taken by the conversion process. The sampling rate here is below the Nyquist frequency, so when we reconstruct the waveform we see the problem quite readily:

For Lossless For Lossless digitization, the sampling rate digitization, the sampling rate should be should be at leastat least twice the maximum twice the maximum frequency responsesfrequency responses

Consider a sine wave

Page 19: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

What happens if sampling rate not high enough?

A high frequency signal

sampled at too low a rate

looks like …

… a lower frequency signal.

Page 20: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Application of Nyquist Application of Nyquist TheoremTheorem

Nyquist theorem is used to calculate the Nyquist theorem is used to calculate the optimum sampling rate in order to obtain optimum sampling rate in order to obtain good audio quality.good audio quality.

The CD standard sampling rate of 44100 The CD standard sampling rate of 44100 Hz means that the waveform is sampled Hz means that the waveform is sampled 44100 times per sec. 44100 times per sec.

Digitally sampled Digitally sampled audioaudio has a bandwidth has a bandwidth of (20 Hz - 20 KHz). By sampling at twice of (20 Hz - 20 KHz). By sampling at twice the maximum frequency (40 KHz) we the maximum frequency (40 KHz) we could have achieved good audio quality. could have achieved good audio quality.

Page 21: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sample size (II)• Quantization may be linear or logarithmic

– Linear: levels to which a signal is quantized are linearly spaced.

– logarithmic: provides more resolution at lower levels - idea is to use non -linearly spaced quantization levels, with higher levels spaced further apart levels, than the low ones, so quieter sounds are represented in greater detail than louder ones.

Page 22: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on
Page 23: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

3-bit Quantization

A 3-bit binary (base 2) number has 23 = 8 values.

0

1

2

3

4

5

6

7

A rough approximation

Am

plit

ud

e

Time — measure amp. at each tick of sample clock

Page 24: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

4-bit Quantization

A 4-bit binary number has 24 = 16 values.

0

2

4

6

8

10

12

14

Am

plit

ud

e

A better approximation

Time — measure amp. at each tick of sample clock

Page 25: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

16-bit Sample Word Length

A 16-bit integer can represent 216, or 65,536, values (amplitude points).We typically use signed 16-bit integers, and center the 65,536 values around 0.

32,767

-32,768

0

Page 26: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio Sampling VariablesAudio Sampling Variables

Three main criteria:Three main criteria: How many samples? OR How many samples? OR

“sampling rate”“sampling rate” How much data per sample? How much data per sample?

OR “bit depth”OR “bit depth” How many channels sampled? How many channels sampled?

Page 27: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio QualityAudio Quality

Factors involved:Factors involved:– – The quality of the original audio sourceThe quality of the original audio source

– – The quality of the capture device and The quality of the capture device and supporting hardwaresupporting hardware

– – The characteristics used for capture: The characteristics used for capture: frequency, data rate (amplitude), frequency, data rate (amplitude), number of channelsnumber of channels

– – The capability of the playback The capability of the playback environmentenvironment

Page 28: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

How Many Samples?How Many Samples?

Audio “Sampling RatesAudio “Sampling Rates””

Digital VideoDigital Video CD QualityCD Quality StereoStereo FM RadioFM Radio AM RadioAM Radio TelephoneTelephone

Page 29: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Other Sample RatesOther Sample Rates

Sample Rate

Less 8000

Quality

Telephone

11000 AM Radio

16000 FM Radio

22050 per Stereo

Page 30: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

How Much DataHow Much Dataper Sample?per Sample?

Common SamplingCommon Sampling ““Bit Depth” Bit Depth”

8 bits of data8 bits of dataper sampleper sample

16 bits of data16 bits of dataper sampleper sample

Page 31: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

How Many Channels SampledHow Many Channels Sampled

Number of Number of ChannelsChannels Stereo (2 channels)Stereo (2 channels) Mono (1 channel)Mono (1 channel) Multiple tracksMultiple tracks

Page 32: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio Sampling VariablesAudio Sampling Variables

RecordSetting

s

SoundQuality

FileSize

Sample RateBit DepthNumber of Channels

Page 33: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio Record RateAudio Record Rate

MoreAudio

Samples

LargerAudioFiles

Page 34: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio File SizeAudio File Size

Bit Depth

Sample Rate

No of Channels

File size is determined bya combination of:

Page 35: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio File SizeFile size is determined bya combination of:

Bit Depth

Sample Rate

No of Channels

Length in MinutesLength in Minutes

Page 36: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio File SizeAudio File Size

8 bit or 16 bit

Various Sample Rates

Stereo or Mono

Variables of concern:

Length in Minutes

Page 37: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio File Size

CD characteristics…

- Sampling rate:

44,100 samples per second (44.1 kHz)

How big is a 5-minute CD-quality sound file?

- Sample word length:

16 bits (i.e., 2 bytes) per sample

- Number of channels:

2 (stereo)

Page 38: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Audio File Size

5 minutes * 60 seconds per minute

= 300 seconds

How big is a 5-minute CD-quality sound file?

44,100 samples * 2 bytes per sample * 2 channels

= 176,400 bytes per second

300 seconds * 176,400 bytes per second

= 52,920,000 bytes = 50.5 megabytes (MB)

Page 39: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound compression (I)

• Audio compression is a form of data compression designed to reduce the size of audio files. Audio compression algorithms are typically referred to as audio codecs. As with other specific forms of data compression, there exist many "lossless" and "lossy" algorithms to achieve the compression effect.

Page 40: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

• Compression of sound data requires different techniques from those for graphical data

• Requirements are less stringent than for video – data rate for CD quality audio is much less than for

video, but still exceeds the capacity of dial -up Internet connections

•Data rate is 44100*2*2 bytes/sec=176400bytes/s=1.41Mbits/sec– 3 minute song recorded in stereo occupies

31Mbytes

Page 41: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

• Sound is difficult to compress using lossless methods– complex and unpredictable nature of sound

waveforms

• Different requirements depending on the nature of the sound– speech – music – natural sounds natural – …and on nature of the application

Page 42: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound compression (II)• A simple lossless compression method is to

record the length of a period of silence – no need to record 44,100 samples of value

zero for each second of silence– form of run-length encoding– in reality this is not lossless, as “silence”

rarely corresponds to sample values of exactly zero; rather some threshold value is applied

Page 43: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

• Difference between how we perceive sounds and images results in different lossy compression techniques for the two media– high spatial frequencies can be discarded in

images– high sound frequencies, however, are highly

significant

• So what can we discard from sound data?

Page 44: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

1- Companding

• Non-linear quantization developed by telephone companies

– known as companding (compressing/expanding)• mu-law ( (µ-law))• A-law• Telephone signals are sampled at 8KHz. At this

rate, µ-law compression is able to squeeze a dynamic range of 12 bits into just 8 bits, giving a one -third reduction in data-rate.

Page 45: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on
Page 46: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

2- Pulse-code Modulation (PCM)

• Is a digital representation of an analog signal where the magnitude of the signal is sampled regularly at uniform intervals, then quantized to a series of symbols in a digital (usually binary) code. PCM has been used in digital telephone systems and is also the standard form for digital audio in computers and the compact disc red book format .

Page 47: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

3- Linear Predictive Coding• Linear predictive coding (LPC) is a tool used

mostly in audio signal processing and speech processing for representing the spectral envelope of a digital signal of speech in compressed form, using the information of a linear predictive model.

• It is one of the most powerful speech analysis techniques, and one of the most useful methods for encoding good quality speech at a low bit rate and provides extremely accurate estimates of speech parameters.

Page 48: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Resource Interchange File Format (RIFF)• The Resource Interchange File Format (RIFF), a tagged

file structure, is a general specification upon which many file formats can be defined. The main advantage of RIFF is its extensibility; file formats based on RIFF can be future-proofed, as format changes can be ignored by existing applications.

• The RIFF file format is suitable for the following multimedia tasks:

• Playing back multimedia data• Recording multimedia data• Exchanging multimedia data between applications and

across platforms

Page 49: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound files and formats It is important to distinguish between a file format

and a codec. Though most audio file formats support only one audio codec, a file format may support multiple codecs, as AVI does.

There are three major groups of audio file formats:1. common formats, such as WAV, AIFF and AU. 2. formats with lossless compression, such as

(filename extension APE), and lossless Windows Media Audio (WMA).

3. formats with lossy compression, such as MP3, lossy Windows Media Audio (WMA) and AAC.

Page 50: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

There are many sound file formats - Windows PCM waveform (.wav), a form of RIFF specification; basically uncompressed data.- Windows ADPCM waveform (.wav), another form of RIFF file, but compressed to 4 bits/channel. - CCITT mu-law (A-law) waveforms (.wav), another form using 8 bit logarithmic compression.- NeXT/SUN file format (.snd , or .au), actually many different varieties: header followed by data, data may be in many forms, linear, or mu-law, etc.

Page 51: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

- RealAudio (.ra ), used for streaming audio; a compressed format.

- MPEG format (includes MP3) , has various different forms of compression

- QuickTime, AVI and Shockwave Flash, can include audio as well as video

Page 52: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Examples of sizes• A 2.739 second stretch of sound, digitized at 22050

samples/second, 16 bits, mono takes:-– 120856 bytes as a . snd– 120876 bytes as an uncompressed .wav– 60474 bytes as A-law .wav– 30658 bytes as an compressed .wav– 5860 bytes as RealAudio– 321736 bytes as ASCII text• …and if you listen hard you can hear the difference!

Page 53: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

(Music)• To store and transmit natural sounds it is

generally necessary to use digitized recordings of the real sounds

• Music can also be specified: musical scores• We can send a piece of music to someone as

either – a recording of an actual performance – or some notation of the score, provided the

receiver has some means or some recreating the music from the score e.g. they can play it on a piano etc

• This is a kind to bitmapped versus vector -based graphics

Page 54: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

MIDI (I)

• Musical Instruments Digital Interface (MIDI)• Enables people to use multimedia computers

and electronic musical instruments to create, enjoy and learn about music

• Resynthesis instead of reproduction– like a player piano, instead of a CD

player • Consists of commands which result in notes

being played (synthesised)

Page 55: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on
Page 56: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

MIDI: Data Format• Information traveling through the hardware is

encoded in MIDI data format. • The encoding includes note information like beginning

of note, frequency and sound volume; upto 128 notes • The MIDI data format is digital • The data are grouped into MIDI messages • Each MIDI message communicates one musical event

between machines. An event might be pressing keys, moving slider controls,

• 10 mins of music encoded in MIDI data format is about 200 Kbytes of data. (compare against CD-audio!)

Page 57: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Table of common formats Table of common formats and softwareand software

Company Company BrandBrand

NameName Audio Audio formatsformats

CommentsComments WebsiteWebsite

Real Audio Real Audio (Real Audio (Real Audio Networks)Networks)

.ram.ram Audio/video streaming Audio/video streaming software, server/client software, server/client

programs. Developers must programs. Developers must pay fee.pay fee.

www.real.comwww.real.com

QuicktimeQuicktime

(Apple)(Apple).mov.mov Quicktime Player 6.5 is free. Quicktime Player 6.5 is free.

Quicktime Pro costs money and Quicktime Pro costs money and Quicktime Streaming Server is Quicktime Streaming Server is

free with OS X.free with OS X.

www.apple.comwww.apple.com

Windows Windows Media Player Media Player (Microsoft)(Microsoft)

.wma.wma Audio/video streaming Audio/video streaming software, server/client software, server/client

programs. Developers must programs. Developers must pay fee.pay fee.

www.microsoft.comwww.microsoft.com

Shoutcast client Shoutcast client and server and server (Nullsoft)(Nullsoft)

.mp3.mp3 Audio/video streaming, using Audio/video streaming, using WinAmp client. Open Source WinAmp client. Open Source

(generally - FREE).(generally - FREE).

www.shoutcast.comwww.shoutcast.com

Icecast client and Icecast client and serverserver

(Icecast.org)(Icecast.org)

.mp3 .o.mp3 .ogggg

Audio/video streaming Audio/video streaming software, server/client software, server/client programs. Open source programs. Open source

(FREE). Linux only(FREE). Linux only

www.icecast.orgwww.icecast.org

Page 58: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound on the InternetSound on the Internet

Your first consideration when using Your first consideration when using sound on the Internet is file sizesound on the Internet is file size

Uncompressed files can be very Uncompressed files can be very largelarge A 10 second recording of an audio CD A 10 second recording of an audio CD

can be as large as 2MBcan be as large as 2MB

Page 59: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound Tips for the InternetAppropriate Appropriate UseUse

Consider the appropriateness of using sound. Consider the appropriateness of using sound. Some sounds are content-related, such as Some sounds are content-related, such as hearing a foreign phrase pronounced. Other hearing a foreign phrase pronounced. Other sounds are for effect, such as creating a mood sounds are for effect, such as creating a mood or setting a scene. Avoid using sound when or setting a scene. Avoid using sound when there is no compelling benefit.there is no compelling benefit.

QualityQuality Start with the highest-quality sound available Start with the highest-quality sound available and reduce the file size by converting the audio and reduce the file size by converting the audio file to a compressed format. When possible, file to a compressed format. When possible, avoid using free sound clips available from the avoid using free sound clips available from the Internet. These are often of poor quality and Internet. These are often of poor quality and overused.overused.

Cost Cost consideratioconsiderationsns

When recording audio files, it may be cost-When recording audio files, it may be cost-prohibitive to contract with a recording studio prohibitive to contract with a recording studio and hire professional talent. Investing in and hire professional talent. Investing in reasonably high-end equipment (such as a reasonably high-end equipment (such as a sound card, microphone, and recording and sound card, microphone, and recording and editing software), however, will prove editing software), however, will prove worthwhile.worthwhile.

Page 60: Sound in Multimedia and HCI sound The physical characteristics of sound The psychological characteristics of sound Quality Sound file formats Sound on

Sound Tips for the InternetAlternatiAlternative ve MethodsMethods

Consider using sound and still images as an Consider using sound and still images as an alternative to video to reduce file sizes. It may be alternative to video to reduce file sizes. It may be just as effective to show a photograph of a just as effective to show a photograph of a speaker and play the sound file of the speech as it speaker and play the sound file of the speech as it is to show a video of a “talking head.”is to show a video of a “talking head.”

StreaminStreamingg

Consider streaming the audio, especially for large Consider streaming the audio, especially for large files.files.

User User ControlControl

If appropriate, provide a way to give the user If appropriate, provide a way to give the user some control over the audio. Consider allowing some control over the audio. Consider allowing the user to skip a sound clip or adjust the volume. the user to skip a sound clip or adjust the volume. This issue is especially important if a musical This issue is especially important if a musical introduction is played when the user first enters a introduction is played when the user first enters a Web site. The second time visiting the site, the Web site. The second time visiting the site, the user may not want to hear the musical user may not want to hear the musical introduction.introduction.