Decibel Lab · The decibel lab

From dBFS to 32 bit float: channel levels in a mix · by Shay Shezifi
‹ All labs

Turn Level, and listen: A is the reference, and B is measured relative to it.

Volume
Inside this lab: screens and terms

The decibel as a ratio, dB SPL and kinds of dB, dBFS and Headroom, how much to lower each channel when summing, mixing as adding samples, inverting vs. phase shift, Gain Staging and 32 bit float

Decibel · What a decibel is

Ratio · A decibel is a ratio

A decibel doesn’t measure an amount. It measures a ratio between two things.

Turn Level, and listen: A is the reference, and B is measured relative to it.

SPL & the Ear · dB SPL and the ear

dB SPL measures air pressure relative to the quietest sound the ear can hear.

Press Play, turn SPL, and go from leaves in the wind to a jet.

Kinds of dB · Same math, different zero

Each kind of dB has a different reference, and so different numbers.

Turn Level: all the scales move by the same number of dB, but each starts from a different place.

Read more: ADC Lab · The converter lab

dBFS · The ceiling

dBFS · The ceiling

In dBFS the ceiling is 0, and every sound is measured by how far below it it is.

Drag the Fader, and notice: every 6 dB the wave doubles.

Read more: ADC Lab · The converter labBits, Bytes and Sampling

Summing · Summing channels

How Much? · How much to lower?

When you sum channels, the master rises. How much do you need to lower each one?

Answer the question, then lower LINK until CLIP goes off.

Mixing = Adding · Adding samples

Mixing is adding: at every moment, the channels’ samples are added together in the master.

Move channel 1’s Fader, and follow the numbers in the table. With Speed you can slow down or speed up the display.

Read more: Phase Lab · Shift & InvertADC Lab · The converter labBits, Bytes and Sampling

Different Channels · RMS rises 3 dB

Different channels add up less: the RMS rises only 3 dB with each doubling.

Switch between Copy and Other, and compare the Peak and the RMS in the master.

Read more: Dynamics Lab · Peak vs. RMS

Space in the Mix · EQ and frequency ranges

EQ · Space in the mix

In the master the channels add up at every frequency: where they overlap, the sum rises.

Turn on EQ, and watch in the spectrum how each channel gets its own range.

Read more: Filter Lab · The filter labHarmonics Lab · White noise and pink noise

Starting a Mix · Gain Staging

Start a mix with low Faders, and leave Headroom in the master.

Turn on channels one by one, and lower LINK to the Target line.

Read more: Dynamics Lab · Peak vs. RMS

32-bit Float · An insurance policy

32-bit Float · An insurance policy

In 32 bit float whatever went past 0 dBFS is kept, and lowering the level brings it back.

The same mix, too loud, saved in two files. Switch Listen between them, and listen.

Read more: ADC Lab · The 32 bit float part

Synth Mixer · In the synth

Synth Mixer · Overloading the filter

Three oscillators at maximum overload the filter input.

Raise OSC 1, OSC 2 and OSC 3 one after another, and watch the filter input.

Read more: MINI·DFilter Lab · The filter lab

Terms in this lab

Decibel · dB
A logarithmic unit for level and gain that counts ratios, not differences: every 6 dB is roughly a doubling of the wave’s amplitude.
Reference
The value you measure against in decibels: it’s always 0 dB, and every measurement says how many dB it is above or below it.
Bel
A unit of ratio named after Alexander Graham Bell, in which each bel is 10 times the power. In practice a tenth of it is used, the decibel.
dB SPL · Sound Pressure Level
A measure of the air pressure a sound creates, relative to 20 micropascals, the quietest pressure a healthy ear can hear.
dBA · A-weighted Decibels
A measure of dB SPL corrected for the ear’s sensitivity at each frequency, so deep bass and very high frequencies measure lower.
dBu · Decibels unloaded
A measure of voltage in an audio cable relative to 0.775 volts, used by professional audio gear (about +4 dBu).
dBV · Decibels Volt
A measure of voltage in an audio cable relative to one volt, used by consumer audio gear (about −10 dBV).
dBFS · Decibels Full Scale
A unit that measures the level of digital audio relative to the ceiling: 0 dBFS is the highest value, and everything below it is written as negative numbers.
Headroom
The space between the sound’s peak and the ceiling, 0 dBFS: how many dB you can still turn it up before the peaks are cut.
Clipping
Cutting off the peaks of the wave when the sound goes past the highest value that can be written: the peaks go flat, and the sound distorts.
Master
The channel in the mixer where all the channels are summed into one, which goes out to the speakers and to the exported file.
White Noise
Noise with the same level at every frequency. It sounds bright and hissy, because most of the frequencies we hear are high.
Sample
One measurement of the wave’s level at a given moment, stored as a number.
Polarity Invert
Flipping the sign of every sample, so every positive value becomes negative and vice versa, without moving the sound in time.
Phase Shift
Moving a sound forward or backward in time, measured in degrees of a cycle, where 360 degrees is a whole cycle.
Phase
The position within the wave’s cycle at a given moment. 0 is the start of the cycle.
Peak / RMS
Two ways to measure level. Peak follows the peaks, and RMS the average level, closer to what the ear feels as loud.
Spectrum
A display of all the frequencies in a sound and the level of each.
Pink Noise
Noise that falls by 3 dB per octave, so every octave holds the same energy. To the ear it sounds balanced.
EQ · Equalizer
A processor that boosts or cuts a range of frequencies. A regular EQ works all the time, by the same amount.
Gain Staging
Setting the level at every stage of the audio path, from the recording through the channels to the master, so that every stage keeps Headroom and nothing clips.
32 bit float · 32-bit Floating Point
An audio file format in which each sample is stored as a number in two parts, a range and a position within the range, so it has no ceiling and can store values above 0 dBFS too.
Clip Gain
Changing the level of the audio clip itself, before the Fader and before any processing in the channel.
DAC · Digital to Analog Converter
Digital-to-analog converter: turns the numbers back into a voltage that moves the speaker or headphones. Found in every device that plays sound: an audio interface, a phone, Bluetooth headphones, a digital synth.
ADC · Analog to Digital Converter
Analog-to-digital converter: measures a continuous voltage, for example from a microphone or a guitar, and turns it into a list of numbers a computer can store and process. Found in every audio interface, phone and portable recorder.
Oscillator
A generator that produces a repeating wave at the frequency it is set to. It is the sound source of a synth.

All terms on the site