4.5.6.7 Digital Representation of Sound Flashcards
Calculate sound sample sizes in bytes
Digital Representation of Sound
Computers represent sound as a sequence of samples, each take a discrete digital value
~ number of samples per second, measured in Hertz
Sample Resolution
Number of bits allocated to each sample
High Sample Resolution
Greater audio quality but increased file size
Size of Sound Sample
Multiply together the duration of samples in seconds, sampling rate in Hertz, sample resolution
Size of Sound Sample Example
A minute long audio file sampled at 44 kHz with a sample resolution of 24 bits would require almost 8 megabytes of storage.
~ 60 x 44,000 x 24 = 63360000
~ 63360000 / 8 = 7920000
Metadata
Can be stored in audio file, increase the space required to store file
Nyquist Theorem
Sampling rate of digital audio file must be at least twice the frequency of the sound. If the frequency is below this the sound may not be accurately represented .