Last Updated 2 days ago
Filmmaking Dictionary: Letter Q / Quantize (Quantization)
Definition
To quantize is to map a value to one of a set of permitted values. In digital audio and imaging, quantization is involved in representing signals with finite numerical precision. In music software, the same word often means adjusting notes or audio events toward a timing grid. Those uses are related mathematically but describe different operations.
An instruction to “quantize it” therefore needs context: change the timing of a musical performance, change numerical precision, or adjust a compression setting? They are not interchangeable tasks.
Signal Quantization and Bit Depth
When an analogue signal is digitised, sampling selects points in time and quantization assigns values to the measured signal. Sample rate describes how frequently samples are taken. Bit depth describes the available numerical representation; increasing one does not automatically increase the other.
A simple unsigned 8-bit value has 256 possible codes, while a 10-bit value has 1,024. Actual video formats can reserve some codes for particular purposes, so those totals do not mean every code is available for ordinary picture information.
The difference between an original value and its quantized representation is quantization error. Its visible or audible effect depends on the signal, processing and precision. In images, insufficient precision can contribute to banding in smooth gradients. In audio, quantization error can produce noise or distortion.
Advertisement
Quantization in Compression
Lossy image and video compression can quantize transformed image information to reduce the amount of data needed. Coarser quantization generally discards more precision. The result depends on the codec and its rate-control system, rather than on a single universal “quality” number.
Do not confuse a quantization parameter with the recorded file’s bit depth. A 10-bit compressed file can still contain strong compression artifacts. Conversely, changing an export to a larger bit-depth container cannot reconstruct tonal information already lost in the source.
See compression and 10-bit, 12-bit and 16-bit for the surrounding concepts.
Timing Quantization in Music
In a music session, quantization moves notes or detected audio events toward a chosen rhythmic grid, such as eighth notes or sixteenth notes. Some tools allow partial strength or swing, preserving some of the original feel instead of placing every event exactly on the grid.
Audio timing changes may involve time-stretching, which can create artifacts. MIDI timing changes move performance instructions rather than stretching a recorded waveform. Neither is the same as changing audio sample rate.
A Post-Production Example
An editor receives a music cue whose percussion drifts against a repeated visual rhythm. A composer may quantize selected percussion events while leaving the melody’s phrasing alone. That is a timing decision.
Later, the editor notices bands in a sky after a heavily compressed export. That is an image-quality problem to investigate through the source, processing precision and export settings. Applying music quantization would have no relevance.
Review the actual output through quality control; the name of a setting alone does not show whether it has helped.
Related Terms
Browse terms beginning with Q or return to the filmmaking dictionary.