Video 10
Video 10
Representation I
Sabah Sayed
Topics
1. Text Data
2. ASCII
3. Extended ASCII
4. UNICODE
5. Representing Sound
6.Sampling Technique
7.MIDI Technique
Text Data
• Text (Character data) is composed of letters, symbols, and
numerals that are not used in arithmetic operations.
‘b’ , ‘c’.
‘+’, ‘-’ , ‘(‘, ‘)’, ‘%’ , ‘$’ .
‘1’ , ‘2’ , ‘3’ , ‘4’ .
Screen WE B
Memory RAM
Keyboard
W E B 42
45
45
57
Central Processing
Unit
Representing Sound
• Sampling techniques
– Used for high quality recordings
– Records actual audio
• MIDI
– Used in music synthesizers
– Records “musical score”
Sampling Technique
• The most generic method of encoding audio
information is to sample the amplitude of
the sound wave at regular intervals.
Sampling Technique
• Digitize and then assign a binary representation
Sampling Technique
• This technique is used for voice calls with
sampling rate of 8000 samples per second.
• This is not sufficient for high-fidelity music
recordings.
• To obtain the quality sound reproduction
obtained by today’s musical CDs, a sample rate
of 44,100 samples per second is used.
• The data obtained from each sample are
represented in 16 bits (32 bits for stereo
recordings).
MIDI Technique
• An alternative encoding system known as Musical Instrument
Digital Interface is widely used in:
– the music synthesizers
– for video game sound
– for sound effects accompanying websites.
• MIDI encodes what instrument is to play which note for what
duration of time.
• MIDI files avoid the large storage requirements of the sampling
technique.
• You can encode that a clarinet is playing the note D for two
seconds in three bytes rather than more than two million bits
when sampled at a rate of 44,100 samples per second.
• Disadvantages of MIDI files that it might sound different when
performed on different synthesizers.