1 / 16

AUDIO PROGRAMMING

AUDIO PROGRAMMING. Paris Smith November 28, 2006 ITCS 4230. Overview. Introduction to Audio Programming Basic Terminology Audio Hardware Sample Playback and Manipulation Streaming Audio ADSR Envelopes 3D Audio. Purpose. Job of the audio programmer… Is the programmer needed?

morna
Download Presentation

AUDIO PROGRAMMING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AUDIO PROGRAMMING Paris Smith November 28, 2006 ITCS 4230

  2. Overview • Introduction to Audio Programming • Basic Terminology • Audio Hardware • Sample Playback and Manipulation • Streaming Audio • ADSR Envelopes • 3D Audio

  3. Purpose • Job of the audio programmer… • Is the programmer needed? • -Audio Events…

  4. Terms • Sound – compression waves transmitted through a medium, such as air or water…

  5. Amplitude –measurement of a sound wave’s pressure… • Wavelength – the distance between the midpoints of a wave (in a sine wave) • Frequency – the interval between wave cycles… • Hertz (Hz) – the number of cycles that occur in a second… • Pitch – the perception of frequency

  6. Tuning – a musical distribution of frequency over keys… • Octave – a doubling or halving of frequency… • Equal Tempering – a system of tuning which divides the 12 notes between each octave equally, so one is not favored over the other… • In correspondence to the perceived loudness…

  7. Decibel (dB) – is a measure of the ratio between two quantities, used in measurements of the loudness of sound • -Perceived loudness increases LINEARLY as power increases LOGARITHMICALLY • (EXAMPLE): if a sound is twice as loud as another sound, it is

  8. Attenuation • Amplify • The approximate quietest sound a human can hear is 20 micropascal (pascal is equivalent to one newton per square metre)…

  9. Audio Hardware Features • The flow of audio data through a typical audio processing and rendering system: • Permanent storage… • Data may require optional software dsecoding… • Memory buffer… • Sound channel processing… • Hardware mixing of all channels and digital analog signal conversion

  10. Sampling • Measuring and storing the amplitude of a sound wave at discrete time intervals • Sampling Rate – the rate at which the samples are collected, measured in samples per second… • Bit-Depth – size of sampled data

  11. Sample Playback and Manipulation • A digital audio sample is assigned to a channel then processed. • Manipulating the individual data • Sent to a buffer where it is combined into a single audio stream • Converted into a digital signal in waveform for playback

  12. Channel Operations • Panning – directing the relative position of a sound in a stereo field by attenuating the left or right mix • Pitch Control – processing more or fewer samples per second • Volume Control – implemented via an attenuation control measured in decibels

  13. Streaming Audio • The concept of reading data in real time for playback directly off the bulk-storage medium (disk) instead of storing the entire sample in memory • Pre-buffer is necessary

  14. ADSR Envelopes • ADSR: Attack, Decay, Sustain, and Release

  15. 3D Audio • The game player must be provided with aural cues to immerse tem more fully into the simulated world • Our ears hear sounds at different times and volumes • Solution

  16. Thanks for listening!

More Related