Hearing a moment

Press the waveform and hold still. What should one instant of a sound sound like? Eight answers, each live, timed and measured.

the sound around the caretwhat the method plays
Frame Overlap
Bank Read Lines

Drag across the waveform to scrub; hold still to hear the moment. The lighter band is what the method listens to. Frame, overlap and spread shape the spectral methods (random phase and the vocoders); bank, read and lines the noiscillators. With the waveform focused: ← → move the caret (Shift: ten times further), Space keeps playing, 1–8 pick a method. Drop a sound file anywhere on the page.

Cost and fidelity

Every method plays one gesture at the caret: a 1.5 s hold, a 1 s drag at half speed, a 0.5 s hold. Cost is the time to render a block of 128 samples, the fastest of four turns in a worker; the budget at 44.1 kHz is 2,902 µs. Fidelity compares the first hold with the sound around the caret.

Methodµs per blockReal timeLevelDistanceFlutterRepeats

The methods

  1. Audacity Manual, Scrubbing and Seeking: Scrub plays at the speed of the mouse.
  2. REAPER, looped-segment scrub at the edit cursor (Preferences › Audio › Playback); Scrub and jog, The REAPER Blog (2017).
  3. C. Roads, Microsound, MIT Press (2001).
  4. D. Iv, noiscillators: oscillation with uncertain frequency, a line of any width from a sine to noise, as a noise band (quadrature), a frequency walk (Wiener, or Ornstein–Uhlenbeck) or a sine and noise (rice).
  5. R. V. Shannon, F.-G. Zeng, V. Kamath, J. Wygonski & M. Ekelid, “Speech recognition with primarily temporal cues,” Science 270 (1995).
  6. R. J. McAulay & T. F. Quatieri, “Speech analysis/synthesis based on a sinusoidal representation,” IEEE Trans. ASSP 34 (1986).
  7. X. Serra & J. O. Smith, “Spectral modeling synthesis: a sound analysis/synthesis system based on a deterministic plus stochastic decomposition,” Computer Music Journal 14 (1990).
  8. J. O. Smith & X. Serra, “PARSHL: an analysis/synthesis program for non-harmonic sounds based on a sinusoidal representation,” ICMC (1987): a peak's frequency from the parabola through its log magnitudes.
  9. F. J. Harris, “On the use of windows for harmonic analysis with the discrete Fourier transform,” Proc. IEEE 66 (1978): Hann's half-power width, 1.44 bins.
  10. Nasca Octavian Paul, Paulstretch (2006).
  11. J. Laroche & M. Dolson, “Improved phase vocoder time-scale modification of audio,” IEEE Trans. Speech and Audio Processing 7 (1999).
  12. P. Neubäcker (Celemony), US 8,022,286 B2, “Sound-object oriented analysis and note-object oriented processing of polyphonic sound recordings” (2011).
  13. K. Kodera, R. Gendrin & C. de Villedary, “Analysis of time-varying signals with small BT values,” IEEE Trans. ASSP 26 (1978): reassignment.
  14. P. W. Anderson, “A mathematical model for the narrowing of spectral lines by exchange or motion,” J. Phys. Soc. Japan 9 (1954); R. Kubo, “Note on the stochastic theory of resonance absorption,” J. Phys. Soc. Japan 9 (1954): a line whose frequency walks slowly is its frequencies' Gaussian; walking fast, it narrows to a Lorentzian.