The Hi-Hat Generator synthesises cymbal sounds entirely in the browser using the Web Audio API. No samples, no plugins — white noise provides the primary texture while four detuned triangle-wave oscillators at inharmonic frequency ratios add metallic colour. A smear filter removes pitched quality, waveshaper drive adds grit, and a brightness control shapes the overall tone. Tweak six parameters across three groups, preview instantly, and export a one-shot WAV.
Tone — Tone shifts the base frequency of the metallic oscillators from dark and gongy to bright and chimey, Color crossfades between the noise layer and the metallic layer — a nonlinear crossfade that keeps both extremes expressive. Envelope — Decay controls the amplitude envelope — noise uses a linear curve for a natural feel while metal uses a squared curve so the transition from closed to open is gradual, Ring increases the bandpass resonance and extends the metallic sustain. Character — Drive pushes the signal through a waveshaper for crunch and lo-fi grit, Brightness is a lowpass tone control that darkens or opens the overall timbre while always keeping the metallic and noise character intact.