Professional Documents
Culture Documents
Audio
Two types of audio signal
Speech signal as used in a variety of interpersonal applications including telephony and video telephony
Music-quality audio as used in applications such as CD-on-demand and broadcast television Audio can be produced either naturally by means of a microphone or electronically using some form of synthesizer
Free Powerpoint Templates Page 2
Sampling
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 the of sound is recorded in digital bits
Page 3
The bandwidth of a typical speech signal varies from 50Hz -10 kHz and that of a music signal from 15Hz 20 kHz
Hence sampling rate must be in excess of nyquist rate which is 20 Kbps for speech and 40 Kbps for music. No of bits per sample must be chosen so that the quantization noise generated by the sampling process is at acceptable level relative to minimum signal level Tests have recommended the use of a minimum of 12 bits per sample for speech and 16 bits for music For stereo sound bit rate must be double thatFree a mono signal of Powerpoint Templates Page 4
In practice, both the sampling rate used and the number of bits per sample are often less than these values In speech, BW of network used is often much less than the BW of the source signal thus dictating a lower sampling rate with fewer bits per sample. In music, sampling rate is lowered in order to reduce the amount of memory that is required to store a music
Page 5
Problem:
Assuming the BW of a speech signal is from 50Hz to 10KHz and that of a music signal is from 15Hz to 20KHz, derive the bit rate that is generated by the digitization procedure in each case assuming the Nyquist sampling rate is used with 12bps for the speech signal and 16bps for the music signal. Derive the memory required to store a 10 minute passage of stereophonic music.
(stereo)
Memory req = 1280x103x600/8 = 96Mbytes Free Powerpoint Templates
Page 6
Page 8
Pulse Code Modulation consists of two additional circuits: Compressor (encoder) and Expander (decoder) to help reduce the effect of quantization noise with just 8 bits per sample, making the intervals nonlinear with narrower intervals for small amplitude signals than larger amplitude signals. This is achieved by the means of the compressor circuit Free Powerpoint Templates
Page 9
Page 12
Synthesized audio
The amount of memory required to store a digitized audio can be very large, even for short passages Synthesized audio is used in multimedia applications, since the amount of memory required is 2 to 3 times less than that required for equivalent digitized form. It is much easier to edit synthesized audio and to mix several passages.
Free Powerpoint Templates
Page 13
Synthesized audio
The 3 main components are the computer, keyboard, sound generators. The computer takes input commands from the keyboard and outputs these to the sound generators which produce the corresponding sound waveform via DAC - to drive the speakers
Page 14
Pressing a key has similar effects to pressing a keyboard of a computer. For each key press a different codeword (message indicating the key pressed and the pressure applied) is generated
The control panel contains range of different switches and sliders that collectively allow the user to indicate to the program information such as the volume of the generated output and selected sound effects to be associated with each key Secondary storage interface allows the sequence of messages, including control panel relating to a particular piece of audio to be saved on secondary storage like floppy disk.
Free Powerpoint Templates Page 15
In addition there are programs to allow user to edit or mix several passages.
The sequence program associated with the synthesizer then ensures that the resulting integrated sequence are synchronized and output to sound generators to create merged passage. As well as a (piano) keyboard, there is other inputs from instruments such as electric guitar, all of which generate messages similar to those produced by the keyboard. To discriminate between the inputs from different possible sources, a standard known set of messages have been defined for both i/pt & o/pt to the corresponding set of sound generators: Music Instrument Digital Interface (MIDI)
Free Powerpoint Templates Page 16
MIDI
This also defines the type of connectors, cables, & electrical signals that are used to connect any type of device to the synthesizer. The format of a MIDI message consist of : Status byte - This defines the particular event that has caused the message to be generated Data bytes Which collectively define a set of parameters (pressure applied, identity of the key) associated with the event Event A key being pressed It is important to identify the different types of Free Powerpoint Templates instruments that generated the events Page 17
Page 18