Maths encyclopedia and lessons  
Search

Mathematics Encyclopedia and Lessons

 
     
 

Lessons

Popular
Subjects

algebra
arithmetic
calculus
equations
geometry
differential equations
trigonometry
number theory
probability theory
more
 

References

applied mathematics
mathematical games
mathematicians
more
 
 

Sawtooth wave

(Redirected from Sawtooth function)

The sawtooth wave is a kind of basic waveform. It is named a sawtooth based on its resemblance to the teeth on the blade of a saw.

Image:sawtooth-td and fd.png
A bandlimited sawtooth wave pictured in the time domain (top) and frequency domain (bottom). The fundamental is at 220 Hz (A2).

The piecewise linear function y = x - floor(x) is an example of a sawtooth wave with period 1.

A sawtooth wave's sound is harsh and clear and its spectrum contains both even and odd harmonics of the fundamental frequency. Because it contains all the integer harmonics, it is one of the best waveforms to use for constructing other sounds, particularly strings, using subtractive synthesis.

A sawtooth can be constructed using additive synthesis. The infinite series

x_{sawtooth}(t) = \sum_{k=1}^{\infin} \frac {\sin kt}{k}

converges to a sawtooth wave. In digital synthesis, the series is only summed over n such that the highest harmonic, Nmax, is less than the Nyquist frequency (half the sampling Frequency). This summation can generally be more efficiently calculated using the Fast Fourier transform. If the waveform is digitally created directly in the time domain using a non-bandlimited form, such as y = x - floor(x), infinite harmonics are sampled and the resulting tone contains aliasing distortion.

An audio demonstration of a sawtooth played at 440 Hz (A4) and 880 Hz (A5) and 1760 Hz (A6) is available below. Both bandlimited (non-aliased) and aliased tones are presented.

  • Sawtooth-aliasingdemo.ogg {440 Hz bandlimited, 440 Hz aliased, 880 Hz bandlimited, 880 Hz aliased, 1760 Hz bandlimited, 1760 Hz aliased}

See also

01-04-2007 01:18:14
The contents of this article are licensed from Wikipedia.org
under the GNU Free Documentation License. How to see transparent copy