Skip to the object
Tactile UI

Synth Panel

A synthesiser’s live front panel. Turn any of seven machined dials and the scope redraws the filtered, driven waveform before a note is heard.

Built with Detent Dial

What it is for

A product hero for hands-on hardware (a synth, a pedal, a mixer) that shows the product working instead of photographing it.

Installnpx shadcn add https://tactileui.dev/r/synth-panel.jsonWith a Pass: how

Controls

Patch

Where the seven knobs start. Each is a real sound and draws its own waveform.

Panel

The anodised plate. Legends and section rules follow it.

Scope phosphor
Knob finishAluminium

The one lamp every knob is lit by.

Off by default. Play a note, and detent clicks, through WebAudio (only after a click).

Everything you set here is what the Code and Prompt tabs give you.

Seats open in 11 days. Want one email that morning?

Datasheet

Mechanism
Computed oscilloscope, Ladder filter response, Detent dials, One shot envelope, Container queries
Stack
Vanilla ES modules, CSS, Canvas 2D, Web Audio
Needs
Detent Dial
States
10 documented
Version
0.1.0
Licence
With a Pass

States

  1. At restThe scope shows the patch's steady waveform, the meter its level; no loop runs.
  2. TurningEach dial's onInput recomputes the voice (harmonics through a 24 dB ladder, tanh drive, dry/wet mix) and redraws the scope, the readout line and the meter on every value.
  3. Note playingPlay a note or the panel's Gate runs one envelope: a playhead crosses the strip and the meter follows; capped at 2.5 s, then asleep.
  4. Speaker onOff by default. When on, notes sound through WebAudio (created inside the click) and the dials click on their detents.
  5. Patch changeA new patch settles every dial on its spring and redraws once.
  6. Panel colourwaysBlack, silver or olive anodised plate; amber or green phosphor; any dial finish; one lamp angle for every knob.
  7. Off-screen or hiddenA note in progress stops and the steady reading returns; nothing runs.
  8. Reduced motionNo playhead flight and no knob settle: the envelope is drawn still, every value and the scope stay.
  9. TabletThe head stacks and the filter takes its own row above envelope and output.
  10. PhoneScope first across the panel, oscillator beside the meter and gate, full-width buttons, two-column specification; no sideways scroll at 390 px.

Notes

The panel is the pitch: six knobs in two sizes and a snapping selector drive a computed oscilloscope, an envelope strip and an LED meter, beside a headline, a price and a specification strip.

Original. Hollis & Vane and the Type 12 are fictional. The scope is computed from the waveform's harmonic series through a 4-pole ladder response, not drawn by hand. Fonts: Big Shoulders and Geist Mono, both OFL 1.1, shipped as WOFF2 with their licences.

Anatomy

Computed oscilloscope, Ladder filter response, Detent dials, One shot envelope, Container queries

Usage notes

A product hero for hands-on hardware (a synth, a pedal, a mixer) that shows the product working instead of photographing it. The panel is the pitch: six knobs in two sizes and a snapping selector drive a computed oscilloscope, an envelope strip and an LED meter, beside a headline, a price and a specification strip.

Options

OptionTypeDescription
headlinetextHeadline
kickertextKicker
ledetextLede
ctatextButton
pricetextPrice
patchenumWhere the seven knobs start. Each is a real sound and draws its own waveform.
panelenumThe anodised plate. Legends and section rules follow it.
traceenumScope phosphor
finishenumKnob finish
lightnumberThe one lamp every knob is lit by.
soundbooleanOff by default. Play a note, and detent clicks, through WebAudio (only after a click).

Methods

  • state
  • update
  • destroy

How it works

Original. The scope is computed from the waveform's harmonic series through a 4-pole ladder response, not drawn by hand.