;
0 index
1 Basic Sound Concepts
2 Analog Audio
3 Edison's Phonograph
4 Creating a digital sound
5 Making a better sound
6 Problems with digital oscillator
7 sampling rate
8 Common sampling rates (approx. quality)
9 Nyquist's Law
10 bit depth
11 Standard bit depths
12 Quantizing an image
13 Envelope
14 ADSR Envelope attributes
15 Improving the timbre

outline
created using slideshow.cgi by Andy Harris















Audio Concepts

1. Basic Sound Concepts



































Audio Concepts

2. Analog Audio

  • Sound is waves
  • Ear is sensitive to pressure changes
  • Replicate wave - replicate sound


































Audio Concepts

3. Edison's Phonograph

  • Needle on membrane inscribes groove on cylinder
  • Print copies of cylinder
  • Needle on hard cylinder moves membrane
  • Reproduces waves, reproduces sound


































Audio Concepts

4. Creating a digital sound

  • Move a speaker's membrane
  • Use an oscillator
  • Need a pattern for motion
  • Square pattern simplest
  • Push out for a while
  • Pull in for a while
  • The synth applet


































Audio Concepts

5. Making a better sound

  • Use another pattern
  • Sawtooth - start silent - gradually louder
  • Triangle - gradually louder then softer
  • Sin wave - 'smooth' curve


































Audio Concepts

6. Problems with digital oscillator

  • All patterns are blocky
  • Limited in X
  • Limited in Y
  • Even sine is ultimately blocky
  • 'pure' audio (analog) is smooth


































Audio Concepts

7. sampling rate

  • What time does one sample represent?
  • Measured in Hz (cycles / second)
  • Or kHz (1000 cycles / second)
  • Faster sampling rate = better sound
  • ... but larger file
  • represented by distance on time axis


































Audio Concepts

8. Common sampling rates (approx. quality)

  • 8 kHzbad cell phone
    16 Hzphone /tr>
    22 kHzaudio tape
    44 kHzCD


































Audio Concepts

9. Nyquist's Law

  • optimal sampling rate is double desired output frequency
  • backwards wagon wheels
  • 20 kHz is a high frequency in human range
  • Sampling rate is (roughly) 44 kHz


































Audio Concepts

10. bit depth

  • How many possible values for each sample?
  • square wave only requires 1 bit / sample
  • 8 bits = 256 possible values / sample
  • 16 bit = 65,537 possible values / sample
  • higher bit depth = better sound
  • ... but larger file


































Audio Concepts

11. Standard bit depths

  • 8 bit
  • 16 bit
  • 32 bit


































Audio Concepts

12. Quantizing an image

  • Use bit depth and sample rate to break signal into digits
  • number of values depends on sample rate
  • range of each value depends on bit depth


































Audio Concepts

13. Envelope

  • Modifies amplitude over lifespan of tone
  • Greatly changes character of tone
  • Often measured in ADSR


































Audio Concepts

14. ADSR Envelope attributes

  • A - Attack
  • D - Delay
  • S - Sustain
  • R - Release


































Audio Concepts

15. Improving the timbre

  • Most sounds are more complex than a simple frequency
  • You can add multiple oscillators to produce complex sounds


































outline

Basic Sound Concepts

Analog Audio

Edison's Phonograph

Creating a digital sound

Making a better sound

Problems with digital oscillator

sampling rate

Common sampling rates (approx. quality)

Nyquist's Law

bit depth

Standard bit depths

Quantizing an image

Envelope

ADSR Envelope attributes

Improving the timbre