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.


Waveform
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.
See Also
Tech Notes
Related Guides
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
BibTeX
@misc{reference.wolfram_2025_waveform, author="Wolfram Research", title="{Waveform}", year="2007", howpublished="\url{https://reference.wolfram.com/language/Audio/ref/Waveform.html}", note=[Accessed: 21-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_waveform, organization={Wolfram Research}, title={Waveform}, year={2007}, url={https://reference.wolfram.com/language/Audio/ref/Waveform.html}, note=[Accessed: 21-August-2025]}