Make your first browser synthesizer
Explore oscillator frequency, level and filtering with a playable sine-wave instrument template.
Template: Little Sine. You will learn: oscillator frequency and level, and a low-pass tone control.
- Open Little Sine and preview its continuous oscillator at a comfortable listening level.
- Change Frequency to hear how oscillator rate controls pitch.
- Change Level to compare amplitude without changing frequency.
- Lower Tone to explore the low-pass filter after the oscillator.
- Create your own copy and inspect the oscillator and filter in Patch. Exposed parameters connect them to the Frame controls.
- Save the Toy, then publish a playable page when you are ready to share it. This example is a continuous sound source, not a note-triggered keyboard instrument.
For the nodes involved, see Oscillator and Low-pass filter.
The template
Explore a continuous sine oscillator in your browser. Frequency changes its pitch, Level changes its amplitude, and Tone filters its output. This starter generates sound directly; it is not a keyboard or polyphonic note instrument.
Create from Little Sine Preview on tune.toys
MIDI1 lane
Audio2ch
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 40–2000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.3 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Continuous sine/triangle/saw/pulse morph; only its two neighboring waveforms are evaluated. Range: 0–3. Default: 0. Linear scale. Units: unitless. Marks: 0 Sine, 1 Triangle, 2 Saw, 3 Pulse.
Sine
Pulse duty cycle with a frequency-dependent safe edge width. Range: 0.05–0.95. Default: 0.5. Linear scale. Units: unitless.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 40–18000 Hz. Default: 6000 Hz. Logarithmic scale. Units: Hz.
Hz
State-variable filter Q. Range: 0.5–12 Q. Default: 0.707 Q. Linear scale. Units: Q.
Q
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–5. Default: 1. Linear scale. Units: unitless.
One or two cascaded state-variable stages; notch/all-pass retain their response semantics. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Reduces resonant gain as Q increases. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio2ch
Controls
- Frequency changes the oscillator pitch in hertz.
- Level controls the output amplitude. Start low when listening.
- Tone changes the low-pass cutoff applied after the oscillator.