Virtual instrument
Virtual Synthesizer
Play a two-octave browser synthesizer with mouse, touch, or computer keys. Choose a waveform and release time to hear how oscillator shape changes timbre.
Play the virtual synth
Use the printed computer keys for the first part of the keyboard, or press the on-screen notes.
How a browser synth makes sound
An oscillator repeats a waveform at a chosen frequency. Doubling frequency raises the pitch by one octave. The amplitude envelope controls how quickly a note starts and fades; the release slider above changes the fade after you let go.
Sine
Mostly the fundamental frequency, useful for hearing pitch clearly.
Square
Strong odd harmonics create a hollow, electronic tone.
Sawtooth
A dense harmonic spectrum works well as a raw subtractive-synthesis source.
Virtual synth practice ideas
Play a major scale, then change only the waveform. Build a triad by holding the root, third, and fifth. Finally, compare short and long release values while repeating the same rhythm so the effect of the envelope is easy to hear.
Frequently asked questions
What is a virtual synthesizer?
A virtual synthesizer generates sound with software rather than an acoustic resonator. This page uses the Web Audio API to create oscillator waveforms in your browser.
Which waveform should I choose?
Sine is smooth and pure, triangle is soft with more harmonics, square is hollow and bright, and sawtooth is rich and buzzy. Filter and envelope processing normally shape these further.
Can I play the synth with a computer keyboard?
Yes. The letters printed on the keys trigger notes. Browser keyboard layouts vary, so mouse or touch remains the most predictable input.
Why is there a delay on mobile?
Bluetooth audio, power-saving modes, and browser audio buffering can add latency. Built-in speakers or wired headphones usually respond faster.