FIT3084: Sound


In the previous lecture:

In this lecture:

References:

There are many good books on electronic sound and music... most of them have nothing to do with the WWW. This area is so vast that it is ridiculous to pretend that a single lecture can do any more than scratch the surface. I suggest you head to the library and start reading anything on the subject which takes your interest!

Roads, C. "The Computer Music Tutorial", MIT Press 1996

...is however an excellent general text on the subject of computers and music.


guitar player


This material relies heavily on examples played during the lecture. Of course you were there so you knew that!

The Attributes of Sound



Pitch


Timbre

frequency spectrum of pitch C4
sin wave tone
(note the fundamental)

frequency spectrum of pitch C4
square wave tone
(fundamental + overtones)





Duration


Loudness (Dynamics)


Attack - Decay

Simple model:

More completely specified envelope (ADSR):

ADSR envelope


Different sounds have different envelopes:

piano envelope organ envelope



Digital Audio


hello envelope
Fig 1: Spoken 'hello' waveform
(8 bits per sample, 22kHz sampling rate)



hello wave section

Fig 2: Close-up of spoken 'h...'


hello samples

Fig 3: Extreme close-up of 'h...'




Music, Sound or Noise?


Sound For Moving Pictures (e.g. Animation)
girl headphones

Literal Sounds: emerge from a sound source to which the sound refers.

  • Dialogue

  • Sound effects

  • Source-connected (source on-screen) or source disconnected (source off-screen)

  • Source-disconnected literal sounds evoke a visual image of the source

 

E.g. If you could hear this girl singing and the muffled sound of music being played through her headphones, these two sounds would both be literal and souce connected.

If you could hear her boyfriend in the background shouting, "Can you get the telephone?" and the sound of the telephone ringing, the former sound would be literal, source-disconnected dialogue and the latter would be ... what?

star wars opening

Non-literal Sounds: are not intended to convey a literal meaning, nor be identified with a source.

  • Music

  • Source disconnected non-literal sounds do not evoke a visual image of the source

E.g. Do you picture a classical orchestra playing the Star Wars theme in outer space as the movie begins?

Sounds (like colours) can evoke or describe moods, places, times, attributes (heavy, rough, cold) and much more!



Recording Sounds
foley studio

The creation and recording of sounds in a studio as video/film footage plays is known as foley.

(E.g. Foley artists place footsteps, slam or knock on doors, drum fingers etc. where these sounds were impossible to record well in the field.)

Improvise with sound effects...

pop paper bags, tap pencils, break glasses, crumple plastic bags, strike matches, wobble cardboard, walk in trays of gravel... there's no shortage of sound creating paraphernalia!




Sounds for Interfaces

Web Sound

Down-loadable audio digital sound files are down-loaded in total by a user before playback using a helper application.

Common digital audio file format extensions:

<A HREF="path/mySound.mp3">soundName</A>


Streaming audio digital sound files run in a real-time stream to client. The client plays as much of the file as possible as it is received.

Format: RA (RealAudio)



midi set up MIDI - Musical Instrument Digital Interface
  • A protocol for communication between digital musical instruments.

  • A stream of MIDI messages instruct instruments such as synthesizers to:

    • Play a note of a certain pitch

    • Play a note on a certain instrument or sound module

    • Stop playing a note

    • Alter sound parameters (loudness, envelopes, effects etc.)

      ...and lots more!

The image above shows a traditional, basic MIDI instrument set up.

On the WWW, it often makes sense to send MIDI music files because they are much smaller than digital audio files that store sampled waveforms.



This lecture's key point(s):


Courseware | Lecture notes

©Copyright Alan Dorin 2009