CSC 101 2019 2020 Module 3
CSC 101 2019 2020 Module 3
Numeric values are the most prevalent type of data used in a computer system.
Since binary is a number system, there is a natural relationship between the numeric
information and the binary values that we store to represent them. Integers are the
beginning in terms of numeric data. Negative and noninteger values can be represented.
Y-Values
6
4
Y-Values
3
0
0 2 4 6 8 10 12
To obtain the quality sound reproduction produced by today’s musical CD’s a sample
rate of 44,100 samples per second is used. The data obtained from each sample are
represented in bits. Consequently each second of music recorded in stereo requires more
than a million bits.
An alternative encoding system known as Musical Instrument Digital Interface (MIDI) is
widely used in the music syntheses found in electronic keyboards, for video game sound,
and for sound effects accompanying websites. By encoding directions for producing
music on a synthesizer rather than encoding the sound itself, MIDI avoids the large
storage requirements of the sampling technique. MIDI can be thought of as a way of
encoding the sheet music read by a performance rather than the performance itself, and in
turn, a MIDI recoding can sound significantly different when performed on different
synthesizers. Currently, the dominant format for compressing audio data is MP3.