- When noise is a result of quantization error, audibility is
determined using the signal-to-quantization-noise-ratio (SQNR).
- If amplitude values are quantized by rounding to the nearest
integer (the quantizing level) using a linear
converter, the error will be uniformly distributed between 0 and
0.5.
- The SQNR of a linear converter is typically determined by the
ratio of
- the maximum amplitude () to
- the maximum quantization noise (0.5 or )
and is expressed in decibels (dB) as
- A sound with an amplitude 40dB below maximum would have a SQNR
of only 56 dB.
- Matlab uses 64 bits (double-precision floating point)--convert
to 16-bit when using audiowrite.
``Music 270a: Fundamentals of Digital Audio, Discrete-Time Signals''
by Tamara Smyth,
Department of Music, University of California, San Diego (UCSD).
Download PDF version (digitalAudio.pdf)
Download compressed PostScript version (digitalAudio.ps.gz)
Download PDF `4 up' version (digitalAudio_4up.pdf)
Download compressed PostScript `4 up' version (digitalAudio_4up.ps.gz)
Copyright © 2019-09-30 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>