Data Representation
Data Representation
Sam
1 2 3 4 5 6 7 8 9 10
ple
Den
8 3 7 6 9 7 2 6 6 6
ary
Bina 10 00 01 01 10 01 00 01 01 01
ry 00 11 11 10 01 11 10 10 10 10
Bit depth
Bit depth refers to the number
of bits used to record each sample. Just
as with images, the higher the bit depth,
the more accurately a sound can be
recorded, but the larger the file size.
Typical bit depths are 16 bit and 24 bit.
Bit rate
Bit rate is simply a measure of how
much data is processed for each second
of sound. Bit rate is calculated by:
~Bit depth refers to the number of bits used to record each sample. Bit rate is a
measure of how much data is processed for each second of sound.
Compression
lossy compression
lossless compression
Lossy compression
With lossy compression, some data is
removed and discarded, thereby(从而)
reducing the overall amount of data and
the size of the file.
Lossless compression
There are some files that we would not
want to lose data from. For example:
text files
spreadsheets
financial records
emails
So: