files and compression Flashcards

1
Q

define audio data compression and audio level compression

A

amount of data in the recorded waveform is reduced for transmission
- data compression reduces the number of bits needed to represent a word length
- makes a file take up less space while retaining the same or perceived information

dynamic range of an audio waveform is reduced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does each letter mean in terms of value when put in front of Bytes?
K
M
G
T

A

KB = 1000
MB = million
G = billion
T = trillion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how many bits in a nibble

A

4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how do you calculate kbps for data compression

A

no. of channels ( sample rate x bits )

for 16 bit depth the bits would be 16 for 1 second of audio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how do you calculate KB of a storage used by the compressed audio file

A

no. of channels ( sample rate x bytes )
for 16 bit depth, bytes would be 2 for 1 second of audio

gives an answer in B
then divide by 1000 for KB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

give 5 ways in which data can be compressed to make files more manageable

A

1 lower audio quality, lower kHz, bit depth

2 use non-linear quantisation

3 adaptive differential pulse code modulation (ADPCM)

4 exploit predictability (& redundancy) of audio waveforms

5 take advantage of human hearing using psychoacoustics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe ADPCM

A

adaptive differential pulse code modulation

measures the differences between samples which are often smaller then the amplitudes themselves, so fewer bits are needed to encode

more efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

define lossless compression

A

compression that allows the audio file to expanded back to a bit for bit file identical to the original file

  • looks for patterns and probabilities and so does not need to repeat
  • reduces file to 50-60% of original size
  • .zip and FLAC files use this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

define lossy compression

A

compression that causes information to be lost, expansion results in something similar but not identical to the original

  • 10% of original file
  • includes MP3, Ogg Vorbis, AAC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how does MP3 work

A

takes audio in 26ms chunks and analyses each chunk for its freq and amplitude values.

if they are low, then fewer bits can be assigned to that chunk and so saves data, no loss in perceived sound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

the ultimate size of a file is driven by….?

A

bitrate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how many kbps is PCM sound format of CD audio?

A

1,411 kbps

pulse code modulation takes 1,411 kilo bits per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

define
CBR
ABR
VBR

A

constant bitrate - each sample of encoded file must go thru the same number of bits

average bitrate - like CBR but has a reservoir, if number of bits is greater than the average/target, some can be taken from the reservoir

variable bitrate - bitrate is reduced for more silent, low freq parts and saved for more busy parts, less file size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly