lesson

Updated 6 days ago ยท 2 views
When you record a sound, your interface captures tens of thousands of voltage measurements every single second and converts each one into raw binary code. How do those tiny ones and zeros turn into the massive audio file sizes we manage in a DAW?
Before we calculate how fast data streams through your studio cables, let's look at how computers count in binary and hexadecimal.
Binary and Hexadecimal Fundamentals
Binary (base-2) uses only 0 and 1 to represent values based on powers of 2. Hexadecimal (base-16) uses digits 0โ9 and letters AโF as a compact shorthand, where each hex character represents exactly 4 binary bits.
๐Interactive diagram
To convert the binary byte 110101102โ to decimal, add the place values where a 1 appears: 128+64+16+4+2=21410โ. To write it in hex, split it into two 4-bit nibbles: 11012โ=1310โ=D16โ, and 01102โ=616โ, giving D616โ.
Analog-to-Digital Conversion (ADC)
During Analog-to-Digital Conversion (ADC), continuous analog acoustic waves are converted into discrete digital data using two key parameters: sample rate and bit depth.
The sample rate (fsโ, measured in Hz or samples/second) sets the maximum recordable audio frequency according to the Nyquist theorem (fmaxโ=2fsโโ).
The bit depth (n, in bits per sample) determines the available quantization levels (2n) and the theoretical dynamic range (โ6.02รnย dB).
With both sample rate and bit depth established, how many bits flow every second when we play back full digital audio?
Analog-to-Digital Conversion Parameters
During Analog-to-Digital Conversion (ADC), continuous analog audio voltages are converted into discrete binary numbers using two core settings: sample rate and bit depth.