ListWaveform

As of Version 11, most of the functionality of the Audio package is built into the Wolfram System. >>

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.

Details

  • To use ListWaveform, you first need to load the Audio Package using Needs["Audio`"].
  • 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

See Also

Sound  Waveform

Tutorials