Audio`
Audio`
Waveform
As of Version 11, most of the functionality of the Audio package is built into the Wolfram System. >>
Waveform[type,freq,dur]
creates a Sound object that is a standard waveform of type type, having a fundamental frequency of freq hertz, and a duration of dur seconds.
Details and Options
- To use Waveform, you first need to load the Audio Package using Needs["Audio`"].
- The type type must be one of the following:
-
Sinusoid sinusoidal waveform type Sawtooth sawtooth waveform type Square square waveform type Triangle triangular waveform type - The following options can be given:
-
DisplayFunction Identity function to apply to sound before returning it Overtones Automatic the number of overtones PlayRange All range of sound amplitude levels to include SampleDepth 8 number of bits used to encode sound amplitude SampleRate 8192 sampling rate per second - Waveform[type,freq,dur,Overtones->n] creates a standard waveform with n overtones.
Examples
Wolfram Research (2007), Waveform, Wolfram Language function, https://reference.wolfram.com/language/Audio/ref/Waveform.html.
Text
Wolfram Research (2007), Waveform, Wolfram Language function, https://reference.wolfram.com/language/Audio/ref/Waveform.html.
CMS
Wolfram Language. 2007. "Waveform." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Audio/ref/Waveform.html.
APA
Wolfram Language. (2007). Waveform. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Audio/ref/Waveform.html