Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Capture Screenshot

Tone Generator

{{$t('general.by')}}
Mouse over the sliders in the Harmonics section to adjust the levels of individual overtones. Click on one of the numbers in the Transpose section to change the octave. Use the keys displayed in the Keyboard section to play a note. Tips: The default setting is a sawtooth wave. Most interesting tones result from eliminating certain harmonics. Remove even-numbered harmonics for a square wave (like a clarinet). Remove all but the 1st, 2nd, 4th, 8th, and 16th harmonics for a tone like that of an old-fashioned electric organ. When Transpose is set to 0, the range is from Middle C to the
We recovered an unsaved version of this sketch. Please review your changes below.

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    {{liveCodeLink}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}