Digital Audio Flashcards
A/D and D/A converters, and where
Small piece of circuitry inside interfaces, consoles, cell phones, computers, headsets, MP3 players, CD players, DVD players, BluRay players, etc
A/D converters
Takes AC voltage and converts into Binary Code
D/A converters
Take Binary Code and converts into AC voltage
The Clock
Uses crystals (commonly quartz) to maintain a precise frequency, which regulates the movement of a timing device (watches, CONVERTERS)
Why is the Clock important in a converter?
It is responsible for the accuracy and timing of the converter when converting A/D or D/A
PCM
Pulse Code Modulation
PCM’s two basic properties that determine quality of recorded audio
- Sample rate
2. Bit depth
Sample rate
Determines frequency response
How many samples per second per track
Bit depth
Determines dynamic range and resolution (volume)
Deals with amount of information happening
Amount of bits stored for every sample take
Samples
Samples are snapshots of information throughout bit depth (volume/level) fluctuates over sample rate (time)
The more snapshots, the more samples
Main function of an audio interface
Converts analog signal to digital (binary) information
Analog sound pressure waves representation
AC voltage (positive & negative charges) on a molecular level
Digital sound pressure waves representation
Binary information
Analog/Digital: Which has the more accurate representation of sound/waveform?
Analog
List at least 3 advantages of digital audio
- Non-destructive editing
- Visual editing
- Recall sessions
- Flexibility in sharing
- Portability in equipment
- Affordability
- Maintenance (DAWs and plug-ins have no wear&tear)
Information in between samples
Information in between samples are lost
Dynamic resolution formula
2^n = same as calculating bit in a binary word
Quantisation
The sample’s level is quantised to the nearest value based on the bit depth
Nyquist theorem
The sample rate must be at least 2x the highest audio frequency being recorded or converted
The highest frequency you can capture is half the sample rate
Nyquist theorem requires
At least one sample of both compression and rarefaction - if the frequency’s compressions and rarefactions are happening faster than the sample rate, it will not be captured correctly
Alias/Artefacts
These can be caused when the frequencies are higher than the sample rate
How do you get rid of alias/artefacts?
Anti-alias filter
Anti-alias filter
Steep low-pass filter at the Nyquist frequency which will cut off any higher frequencies
Standard CD quality sample rate and bit depth
44.1kHz sample rate
16 bit depth
From standard quality sample rate, how do you calculate the next common measurements?
Double the frequency
Next two common samples rates after 44.1kHz
Double 44.1 = 88.2kHz
Double 88.2 = 176.4kHz
Standard DVD quality sample rate and bit depth
48 kHz sample rate
24 bit depth
Next two common samples rates after 48kHz
Double 48 = 96kHz
Double 96 = 192kHz
BluRay quality sample rate and bit depth
192kHz
24 bit depth
Higher sample rate and bit depth essentially means
Less information is lost because we have more samples and information within each sample (bit depth)
How well can you hear a difference between these standard sample rates/bit depths?
Hardly any - human hearing only goes up to 20kHz. So this is more about information retention accuracy than being able to hear an actual difference
Up-sampling, and does it affect quality?
Up-sampling is only used for compatibility reasons, and it will NOT affect (or improve) quality
*can’t have more of what you already don’t have
Down-sampling, and does it affect quality?
We are now losing samples when we do this, therefore we will degrade the quality
Sample rate side effects
Jitter, phase issues, thin stereo image, drop outs, pops, clicks, etc.
Jitter
Digital TIMING error between samples
Bit depth formulas for Dynamic range and Dynamic resolution
Dynamic range: 1 bit = 6dB; n bits x 6dB = DR
Dynamic resolution: 2^n=degrees; n = bits
Bit depth=16
What is the dynamic range and dynamic resolution?
Dynamic range: 16 x 6 = 96dB
Dynamic resolution: 2^16 = 65,536 degrees
How often and how much is a simple way to describe these two things
Sample rate and bit depth
Pro audio standard bit depth
24 bit
BluRay sample rate
192 kHz
Compression ratio for .mp3
11:1
Bit depth of audio CD
16 bit
Nyquist frequency of 48 kHz sample rate
24 kHz
Degrees of dynamic resolution of 7 bit
128 degrees
dBs of dynamic range of 16 bit
96dB
Common bit rate for .mp3
256kbps
Quantisation noise
Q-noise: added noise from the converters working
Higher bit depth affects Q-noise how?
Larger bit depth means larger dynamic range and resolution, pushing Q-noise further down to the bottom of the volume scale
Quality that determines frequency response of a digital recording?
Sample rate
Lossy vs lossless data compression
Lossless: non-destructive, temporary
Lossy: destructive, permanent
Pro audio protocol for converting A/D & D/A
PCM
iTunes bit rate
256 kbps
ADAT channels
8
Bit rate of CD quality uncompressed .wav file
1411 kbps
Consumer protocol for stereo digital audio
S/PDIF
Impedance of BNC cable
75Ω
Impedance of AES/EBU XLR cable
110Ω
Professional protocol for stereo digital audio
AES/EBU
Cable used in ADAT protocol
Toslink - fibre-optic cable
Which protocol can use an RCA connector?
S/PDIF
Codec can be described as _____
A program
List the 3 AES/EBU connectors
- XLR
- BNC
- DB-25
The Clock can be described as _____
A bit rate locking system, allowing multiple devices to move data at a controlled rate (sample rate)
Embedding
The process of combining audio and video down a single cable
Word clocks
Send out a pulse that has a timing reference (sample rate)
Multiplexing
Combining multiple channels of audio down a single cable
Advantage of using digital audio transfer protocols
It eliminates too many conversions from A/D or D/A
Stereo digital audio protocol that uses a balanced cable with XLR connector
AES/EBU
Digital audio protocols that can use coaxial cable
AES, S/PDIF, MADI
2 examples of lossless codecs
ALAC
FLAC
3 examples of lossy codes
.mp3
.m4a
.ogg
Is m4a lossy or lossless?
It can be either depending on how it’s encoded
AAC (lossy) or ALAC (lossless)
2 examples of uncompressed audio files
.wav
.aiff
Digital audio protocol that can send 64 channels
MADI
S/PDIF connectors
Unbalanced 75Ω coaxial cable with RCA connector
Toslink fibre-optic cable
List examples of multiplexing protocols
AES/EBU S/PDIF ADAT T/DIF MADI
3 advantages of Toslink fibre-optic cables
- No RFI (radio frequency interference)
- No EMI (electromagnetic interference)
- No ground loops
Bit rate vs Bit depth
Bit rate: samples per second
Bit depth: how much/volume/dynamic range
Master clock
One piece of gear that all the digital devices will lock in with for a timing reference
Self-clocking
When a protocol can send clock information along with the audio it streams
2 things used to “draw” a digital waveform
- Bit depth (how much)
2. Sample rate (how often)
2 lowest common sample rates
44.1 kHz
48 kHz
2 middle common sample rates
88.2 kHz
96 kHz
2 highest common sample rates
176.4 kHz
192 kHz
Bit rates unit of measurement
kilobits per second = kbps
Highest bit rate for .mp3
320 kbps
T/DIF channels
8
Cable used in T/DIF protocol
D-25
Cables used in MADI protocol
Unbalanced 75Ω coaxial cable with BNC connector
Fibre-optic cable with MADI optical connector
Ogg Vorbis common bit rate
560 kbps
Compression ratio for 560 kbps
3:1
Highest quality lossy file type
.ogg
Compression ratio for 320 kbps
4:1
Compression ratio for 256 kbps
5.5:1