How does a guitar distortion pedal change the sound?

It bends the wave with a curve like y = x − x³/3. A pure note is a sine wave, and the cube of a sine contains a sine three times as fast. So the pedal adds a new note an octave and a fifth higher. Hit it harder and more harmonics pile up, which is the grit of overdrive.

The curvein (x)outshaded: the part you useThe wave: in (dashed) and outThe notes it contains (harmonics)11102220333044405550666077708880#Hz0.488% of the sound is new
Share of the sound in new harmonics
0.488%
2nd harmonic (octave up)
0.028
3rd harmonic (octave and a fifth)
0
Original note’s level
0.4

Challenge: Make the 3rd harmonic louder than the original note.

×
The input wave’s peak. 1 is the edge of the soft clipper’s curve.
More settings

Play

Start with light overdrive, then slide the drive past 1. Try the lopsided curve for even harmonics.

Challenge: Make the 3rd harmonic louder than the original note. The box under the picture turns green when you get it.

Stuck? Pick one of the examples from the “Try an example” menu, or press “New example.”

Understand

y=x−x33y = x - \tfrac{x^3}{3}

A pure note is a sine wave. A pedal sends it through a curve that bends the loud parts more than the quiet parts, such as the soft clipper y=x−x3/3y = x - x^3/3.

The key is a trig identity:

sin⁡3θ=34sin⁡θ−14sin⁡3θ\sin^3\theta = \tfrac{3}{4}\sin\theta - \tfrac{1}{4}\sin 3\theta

The cube of a sine contains a sine three times as fast, a new note an octave and a fifth up. Each power of xx brings its own harmonics, and the bars show how strong each one is.

Use

Every input has a unit menu, so you can type values in the units you already have. Results follow your units.

Show the work

  1. The input is a pure note: a sine wavex = 0.4\sin\theta
  2. Pass it through the curvey = x + 0.35x^2
  3. A square of a sine contains a sine twice as fast (and a shift)\sin^2\theta = \tfrac{1}{2} - \tfrac{1}{2}\cos 2\theta
  4. So the output gets an octave-up harmonicy = 0.028 + 0.4\sin\theta - 0.028\cos 2\theta
  5. Measured levels of harmonics 1–4h_1 = 0.4,\ h_2 = 0.028,\ h_3 = 0,\ h_4 = 0

Export

Export PDF

Pick a curve and slide the drive. "More settings" changes the note, which sets the frequencies of the harmonics.

  • Real pedals also filter the sound before and after the curve, so this shows the idea, not a specific pedal.

For learning and estimation. Verify with applicable codes, standards, and a qualified professional before using in design, construction, or safety-critical work.

Cheat card

y=x−x33y = x - \frac{x^3}{3}
sin⁡3θ=34sin⁡θ−14sin⁡3θ\sin^3\theta = \tfrac{3}{4}\sin\theta - \tfrac{1}{4}\sin 3\theta
sin⁡2θ=12−12cos⁡2θ\sin^2\theta = \tfrac{1}{2} - \tfrac{1}{2}\cos 2\theta
4cos⁡3θ−3cos⁡θ=cos⁡3θ4\cos^3\theta - 3\cos\theta = \cos 3\theta
SymbolMeaningUnit
xxinput wave
yyoutput wave
AAdrive: how hard the note hits the curve
  • An x² term adds the octave (2nd harmonic). An x³ term adds the octave and a fifth (3rd).
  • A symmetric curve makes only odd harmonics. A lopsided one adds even ones.
  • The harder you drive, the more the high-power terms matter, so distortion grows fast.

Print this card

Where it’s used

  • Music & Sound
    Guitar pedals, tube amps, and tape saturation all bend the wave with a curve.
  • Electrical & Electronics
    Audio engineers measure harmonic distortion to keep hi-fi gear clean.
  • Music
    Hear why a softly played note stays clean while a hard strum crunches.

Questions people ask

What does distortion actually do to the sound?

It reshapes the wave, which adds new notes at whole-number multiples of the one you played. Those harmonics are what make it sound gritty or warm.

Why do tubes sound "warm"?

A slightly lopsided curve adds even harmonics, especially the octave, which blends smoothly with the note. Symmetric clipping adds odd harmonics, which sound harder.

What is a Chebyshev waveshaper?

A polynomial built so that feeding in a cosine gives a cosine exactly n times as fast. Synthesizers use them to add precise harmonics.