CITATION — REFERENCE ENTRY

Mathematics of the Discrete Fourier Transform (DFT), with Audio Applications — W3K Publishing

Revision 1498de8a-5144-4960-b8ba-71c505831b39 · 11/26/2026, 10:58:11 PM UTC
Key
smith-mdft
Authors
Smith III, Julius O.
Issued
2007
Type
book
Publisher
W3K Publishing
Edition
2
Raw CSL JSON
{
  "URL": "https://ccrma.stanford.edu/~jos/mdft/",
  "ISBN": "978-0-9745607-4-8",
  "note": "Quotes are from the online edition at CCRMA, Stanford University; locators are its section titles.",
  "type": "book",
  "title": "Mathematics of the Discrete Fourier Transform (DFT), with Audio Applications",
  "author": [
    {
      "given": "Julius O.",
      "family": "Smith III"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2007
      ]
    ]
  },
  "edition": "2",
  "accessed": {
    "date-parts": [
      [
        2026,
        11,
        26
      ]
    ]
  },
  "publisher": "W3K Publishing"
}

Claims

  1. Energy above half the sampling rate aliases to a lower frequency: a frequency Fs/2 + ε appears at Fs/2 − ε, a mirror image called folding, a description that applies only to real signals; for complex signals aliasing is better seen as a sum over spectral blocks of width Fs. A sinusoid at exactly half the sampling rate generally cannot be reconstructed: sampled at its zero crossings it gives only zeros.
    "It is well known that when a continuous-time signal contains energy at a frequency higher than half the sampling rate ... sampling at ... samples per second causes that energy to alias to a lower frequency. ... This phenomenon is also called ``folding'', since ... is a ``mirror image'' of ... about ... As we will see, however, this is not a complete description of aliasing, as it only applies to real signals. ... For general (complex) signals, it is better to regard the aliasing due to sampling as a summation over all spectral ``blocks'' ... of width ... The practical impact is that it is not possible in general to reconstruct a sinusoid from its samples at this frequency. ... For an obvious example, consider the sinusoid at half the sampling-rate sampled on its zero-crossings"
    Locator: D.2 Aliasing of Sampled Signals; Appendix: Frequencies Representable by a Geometric Sequence · Quote language: en
  2. Each bit of linear PCM is worth about 6 dB of dynamic range, so covering the roughly 120 dB between the threshold of hearing and the threshold of pain needs about 20 bits, a simplistic estimate since the least significant bit need not equal the threshold of hearing; signal processing also needs headroom and guard bits, so 24 fixed-point bits are reasonable to work with and 32 preferable.
    "Since the threshold of hearing is around 0 dB SPL , the ``threshold of pain'' is around 120 dB SPL , ... and each bit in a linear PCM format is worth about 20 log10(2) ≈ 6 dB of dynamic range , ... we find that we need 120/6 = 20 bits to represent the full dynamic range of audio in a linear fixed-point format. ... This is a simplistic analysis because it is not quite right to equate the least-significant bit with the threshold of ... hearing ... However, this still does not provide for headroom needed in a digital recording scenario. ... In general, 24 fixed-point bits are pretty reasonable to work with, ... although you still have to scale very carefully, and 32 bits are preferable."
    Locator: G.5 How Many Bits are Enough for Digital Audio? · Quote language: en
  3. In digital audio, sound is sampled into a stream of numbers, each giving a loudspeaker position at an instant; CDs use 44,100 samples per second, about one every 23 microseconds, which covers human hearing because we cannot hear above about 20,000 cycles per second and sampling at more than twice the highest frequency allows exact reconstruction.
    "Inside computers and modern ``digital'' synthesizers, (as well as music CDs), sound is sampled into a stream of numbers . ... Each sample can be thought of as a number which specifies the position ... of a loudspeaker at a particular instant. When sound is sampled, we call it digital audio . ... The sampling rate used for CDs nowadays is 44,100 samples per second. ... or once every 23 microseconds. ... we cannot hear frequencies higher than around 20,000 cycles per second, ... and a sampling rate more than twice the highest frequency in the sound guarantees that exact reconstruction is possible"
    Locator: D.1 Introduction to Sampling · Quote language: en
  4. The sampling theorem is often traced to a 1928 paper by Nyquist, with Shannon credited for reviving interest in it after the Second World War, so it is called Nyquist's or Shannon's sampling theorem. 'Nyquist rate' historically meant the sampling rate but in modern usage usually means half of it; Julius Smith uses 'Nyquist limit' for half the sampling rate to avoid the clash.
    "An early derivation of the sampling theorem is often cited as a 1928 paper by Harold Nyquist, ... and Claude Shannon is credited with reviving interest in the sampling theorem after World War II when computers became ... public. ... the sampling theorem is often called `` Nyquist's sampling theorem,'' `` Shannon's sampling theorem ,'' or the like. ... Also, the sampling rate has been called the Nyquist rate in honor of Nyquist's contributions [ 50 ]. ... modern usage of the term ``Nyquist rate'' refers instead to half the sampling rate. ... the term Nyquist limit will always mean half the sampling rate in this book series"
    Locator: Appendix D: Sampling Theory · Quote language: en
  5. Pulse code modulation is the standard number format for sampled audio: each sample is treated as a pulse of a given amplitude that is binary encoded, usually as two's-complement fixed-point; raw binary audio nowadays almost always means 16-bit two's-complement PCM, and most soundfile formats are a header followed by PCM data.
    "The ``standard'' number format for sampled audio signals is officially called Pulse Code Modulation ( PCM ) . ... This term simply means that each signal sample is interpreted as a ``pulse'' ( e.g. , a voltage or current pulse) ... at a particular amplitude which is binary encoded, typically in two's complement binary fixed-point format ... When someone says they are giving you a soundfile in ``raw binary format'', ... they pretty much always mean (nowadays) 16-bit, two's-complement PCM data. ... Most mainstream computer soundfile formats consist of a `` header '' (containing the length, etc.) ... followed by 16-bit two's-complement PCM."
    Locator: G.1 Pulse Code Modulation (PCM) · Quote language: en
  6. Quantization noise is usually modelled as uniform random error between plus and minus half the least significant bit; dynamic range is the maximum level sustainable without overflow minus the level of the noise floor, for magnetic tape about 55 dB.
    "The dynamic range of a signal processing system can be defined as the maximum dB level sustainable without overflow ... (or other distortion ) minus the dB level of the `` noise floor''. ... Quantization noise is generally modeled as a uniform random variable between plus and minus half the least significant bit ... The dynamic range of magnetic tape is approximately 55 dB."
    Locator: F Dynamic Range · Quote language: en
  7. Telephone codecs have used 8-bit mu-law encoding sampled at 8 kHz, enough for a voice band of about 3 kHz; wideband audio needs at least 44.1 kHz, and systems moving to 96 kHz do so mainly because oversampling simplifies signal processing, not because anything above 20 kHz is audible.
    "Digital telephone CODECs G.11 have historically used (for land-line switching networks) a simple 8-bit format called μ -law ... As a result of the narrow bandwidth provided for speech, it is sampled at only 8 kHz in standard CODEC chips. ... For ``wideband audio'', we like to see sampling rates at least as high as 44.1 kHz, ... and the latest systems are moving to 96 kHz (mainly because oversampling simplifies signal processing requirements in various ... areas, ... not because we can actually hear anything above 20 kHz)."
    Locator: G.5 Mu-Law Coding · Quote language: en
  8. A continuous signal can be reconstructed exactly from uniform samples if it has no energy at or above half the sampling rate; the reconstruction is a sum of shifted sinc functions weighted by the samples. Energy exactly at half the sampling rate is excluded because its phase is constrained there.
    "Then ... can be exactly reconstructed from its samples ... the formula for reconstructing ... as a superposition of weighted sinc functions is obtained ... We have shown that when ... is bandlimited to less than half the sampling rate, ... the IFT of the zero-extended DTFT of its samples ... gives back the original continuous-time signal ... While a real digital signal ... may have energy at half the sampling rate (frequency ... the phase is constrained to be either 0 or ... there, which is why this frequency had to be excluded from the sampling theorem."
    Locator: D.3 Sampling Theorem · Quote language: en
Available in