# Sawtooth wave

Sawtooth wave

The sawtooth wave (or saw wave) is a kind of non-sinusoidal waveform. It is named a sawtooth based on its resemblance to the teeth on the blade of a saw.

The usual convention is that a sawtooth wave ramps upward as time goes by and then sharply drops. However, there are also sawtooth waves in which the wave ramps downward and then sharply rises. The latter type of sawtooth wave is called a 'reverse sawtooth wave' or 'inverse sawtooth wave'. The 2 orientations of sawtooth wave sound identical when other variables are controlled.

The piecewise linear function

:$x\left(t\right) = t - operatorname\left\{floor\right\}\left(t\right)$

based on the floor function of time "t", is an example of a sawtooth wave with period 1.

A more general form, in the range −1 to 1, and with period "a", is

:$x\left(t\right) = 2 left\left( \left\{t over a\right\} - operatorname\left\{floor\right\} left \left( \left\{t over a\right\} + \left\{1 over 2\right\} ight \right) ight \right)$

This sawtooth function has the same phase as the sine function.

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 Fourier series

: $x_mathrm\left\{sawtooth\right\}\left(t\right) = frac \left\{2\right\}\left\{pi\right\}sum_\left\{k=1\right\}^\left\{infin\right\} frac \left\{sin \left(2pi kft\right)\right\}\left\{k\right\}$

converges to an inverse sawtooth wave. A conventional sawtooth can be constructed using

: $x_mathrm\left\{sawtooth\right\}\left(t\right) = -frac \left\{2\right\}\left\{pi\right\}sum_\left\{k=1\right\}^\left\{infin\right\} frac \left\{sin \left(2pi kft\right)\right\}\left\{k\right\}$

In digital synthesis, these series are only summed over "k" such that the highest harmonic, Nmax, is less than the Nyquist frequency (half the sampling frequency). This summation can generally be more efficiently calculated with a 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.

Applications

* The sawtooth wave along with the square wave are the most common starting points used to create sounds with subtractive analog and Virtual analog music synthesizers.
* The sawtooth wave is the form of the vertical and horizontal deflection signals used to generate a raster on CRT-based television or monitor. Oscilloscopes also use a sawtooth wave for their horizontal deflection, though they typically use electrostatic deflection.
** On the wave's "ramp", the magnetic field produced by the deflection yoke drags the electron beam across the face of the CRT, creating a scan line.
** On the wave's "cliff", the magnetic field suddenly collapses, causing the electron beam to return to its resting position as quickly as possible.
** The voltage applied to the deflection yoke is adjusted through various means (transformers, capacitors, center-tapped windings) so that the half-way voltage on the sawtooth's cliff is at the zero mark, meaning that a negative voltage will cause deflection in one direction and a positive voltage will produce deflection in the other direction, allowing the whole screen to be covered by a center-mounted deflection yoke. Frequency is 15.75 kHz on NTSC, 15.625 kHz for PAL and SECAM)
** The vertical deflection system operates the same way as the horizontal, though at a much lower frequency (60 Hz on NTSC, 50 Hz for PAL and SECAM).
** The ramp portion of the wave must be perfectly linear - if it isn't, it's an indication that the voltage isn't increasing linearly, and therefore that the magnetic field produced by the deflection yoke won't be linear. As a result, the electron beam will accelerate during the non-linear portions. On a television picture, this would result in the image being "squished" to the direction of the non-linearity. Extreme cases will show obvious brightness increases, since the electron beam spends more time on that side of the picture.
** Most TV sets used to have manual adjustments for vertical and/or horizontal linearity though they have generally disappeared due to the greater temporal stability of modern electronic components.

*Sine wave
*Triangle wave
*Square wave
*Wave
*Sound
*Sawtooth distortion

References

*cite book | author=Hugh L. Montgomery | authorlink=Hugh Montgomery (mathematician) | coauthors=Robert C. Vaughan | title=Multiplicative number theory I. Classical theory | series=Cambridge tracts in advanced mathematics | volume=97 | year=2007 | isbn=0-521-84903-9 | pages=536-537

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• sawtooth — adj. 1 (also sawtoothed) (esp. of a roof, wave, etc.) shaped like the teeth of a saw with one steep and one slanting side. 2 (of a wave form) showing a slow linear rise and rapid linear fall …   Useful english dictionary

• Square wave — A square wave is a kind of non sinusoidal waveform, most typically encountered in electronics and signal processing. An ideal square wave alternates regularly and instantaneously between two levels. Origins and uses Square waves are universally… …   Wikipedia

• Sine wave — Sinusoid redirects here. For the blood vessel, see Sinusoid (blood vessel). The graphs of the sine and cosine functions are sinusoids of different phases. The sine wave or sinusoid is a mathematical function that describes a smooth repetitive… …   Wikipedia

• List of wave topics — This is a list of wave topics.0 ndash;9*21 cm lineA*Abbe prism *absorption spectrum *acoustics *Airy disc *Airy wave theory *Alfvén wave *Alpha waves *amphidromic point *amplitude *amplitude modulation *analog sound vs. digital sound *animal… …   Wikipedia

• Continuous-wave radar — is a type of radar system where a known stable frequency continuous wave radio energy is transmitted and then received from any reflecting objects.[1]Continuous wave (CW) radar uses Doppler, which renders the radar immune to interference from… …   Wikipedia

• Triangle wave — A triangle wave is a non sinusoidal waveform named for its triangular shape.Like a square wave, the triangle wave contains only odd harmonics. However, the higher harmonics roll off much faster than in a square wave (proportional to the inverse… …   Wikipedia

• Clavia Nord Wave — The Nord Wave is a 49 key polyphonic synthesiser developed by Clavia. It is part of the growing market of keyboards whose functionality fuses analog, FM, and digital synthesis engines together into one package. Other keyboards of this type… …   Wikipedia

• Buchla 200e — The Buchla 200e is a modular analog synthesizer designed by electronic music pioneer Don Buchla and built by Buchla and Associates. Modules 200e synthesizer platform includes several modules that roughly correspond to the canonical analog… …   Wikipedia

• electronic music — electronically produced sounds recorded on tape and arranged by the composer to form a musical composition. [1930 35] * * * Any music involving electronic processing (e.g., recording and editing on tape) and whose reproduction involves the use of …   Universalium

• Trigonometric functions — Cosine redirects here. For the similarity measure, see Cosine similarity. Trigonometry History Usage Functions Generalized Inverse functions …   Wikipedia