This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


ListWaveform[{{f1, a1}, {f2, a2}, ...}, freq, dur]
creates a Sound object with fundamental frequency of freq hertz, lasting for dur seconds, with a spectrum in which relative frequency fi has relative amplitude ai.
  • Relative frequencies fi are measured relative to the fundamental frequency freq.
  • ListWaveform allows you to create a waveform with a specific spectrum.
  • The following options can be given:
DisplayFunctionIdentityfunction to apply to sound before returning it
PlayRangeAllrange of sound amplitude levels to include
SampleDepth8number of bits used to encode sound amplitude
SampleRate8192sampling rate per second