# Synthesizer

> Play a virtual synthesizer with your keyboard, mouse or touch. Choose sine, square, sawtooth or triangle waves and shape attack and release. No plugins.

- Open the tool: https://overtooled.com/synthesizer
- Category: Audio Tools
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: synthesizer, synth, keyboard, piano, audio, oscillator, music

## In short

Play a virtual synthesizer with multiple waveforms and an attack/release envelope.

## Overview

A playable on-screen keyboard synthesizer that runs in the browser. Play notes with the computer keyboard or by clicking, tapping or dragging across the piano keys, choose an oscillator waveform, and shape the sound with attack and release times. Good for quick experimentation or learning how waveforms sound.

## Features

- 21 keys from B3 to G5 (Caps Lock through Enter), with an octave shift from -2 to +2 (frequencies multiplied by 2^octave)
- Polyphonic: each held note gets its own OscillatorNode -> GainNode -> output chain
- Waveforms: sine (default), square, sawtooth, triangle
- Envelope: linear attack ramp 0.01-1 s (default 0.05 s) and linear release ramp 0.05-2 s (default 0.3 s); there is no decay or sustain stage and no filter
- Volume 0-100% (default 40%) sets the peak gain of each note
- Pointer support: click or touch a key, and drag across keys to glide between notes (glissando)
- Pressed keys are highlighted on the on-screen piano

## How to use it

1. Pick a waveform (sine, square, sawtooth or triangle)
2. Play white keys on the home row (Caps Lock, A S D F G H J K L ; ' Enter) and black keys on the row above (W E T Y U O P [)
3. Or click/tap the on-screen keys, dragging to slide between notes
4. Use Z / X or the -/+ buttons to shift the octave
5. Adjust Volume, Attack and Release to shape the sound

## Inputs

- Computer keyboard, mouse, touch or pen (pointer events)

## Outputs

- Live audio through the device speakers or headphones; no recording or export

## Limits and notes

- Requires the Web Audio API
- Waveform, volume and attack changes apply to newly played notes, not notes already held
- Key presses are ignored while focus is in a text field, select or slider, and whenever Ctrl, Cmd or Alt is held (browser and site shortcuts keep working)
- Held notes are released if the window loses focus or the tab is hidden, so a note never gets stuck on
- Settings are not saved between visits

## Keyboard shortcuts

- Caps Lock: B3
- A S D F G H J: C D E F G A B (octave 4)
- K L ; ' Enter: C5 D5 E5 F5 G5
- W E T Y U: C# D# F# G# A#
- O P [: C#5 D#5 F#5
- Z: octave down (min -2)
- X: octave up (max +2)

## Questions and answers

### How does the Browser Synthesizer work?

Each note you press creates its own Web Audio OscillatorNode at that note's frequency (shifted by the octave setting) with the chosen waveform, feeding a GainNode that ramps up linearly over the attack time to your volume level. When you release the key, the gain ramps linearly to zero over the release time and the oscillator is stopped. Several notes can sound at once.

### How do I play the synthesizer?

Use the home row of your computer keyboard for white keys (Caps Lock, A, S, D, F, G, H, J, K, L, ;, ' and Enter, from B3 to G5) and the row above for black keys (W, E, T, Y, U, O, P, [). Press Z or X to shift down or up an octave. You can also click or tap the on-screen keys and drag across them to slide between notes.

### What waveforms and controls are available?

Four oscillator waveforms: sine, square, sawtooth and triangle. You can also set the volume (0-100%), attack time (0.01-1 s), release time (0.05-2 s) and octave shift (-2 to +2). There are no decay/sustain stages, filters or effects.

### Does it require any plugins or downloads?

No. The synthesizer runs using the Web Audio API. No Flash, plugins, or software installation needed. Works on any modern browser including mobile.

## Related tools

- [BPM Detector](https://overtooled.com/music-analyzer.md): Detect the tempo of any song by listening through your microphone with kick-drum onset detection and IOI analysis
- [Kick Sample Creator](https://overtooled.com/kick-sample-creator.md): Synthesize custom kick drum sounds with layered oscillators, pitch envelopes, effects, and WAV export
- [Beat Maker](https://overtooled.com/beat-maker.md): Create beats and hear what genres sound like with 20 presets, 15 instruments, and WAV/MIDI export
- [BPM Tapper](https://overtooled.com/bpm-tapper.md): Tap along to any song to find its tempo in beats per minute

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
