Hi-hat

A hi-hat is the same white noise as the snare, filtered much higher and cut much shorter. Accents — some strikes louder than others — make it feel played rather than programmed.

  • Synthesized
  • White noise

The sound

Compare it with the snare: one high-pass filter instead of two filters, and a decay several times shorter. Same source, very different sound.

react-strudel-kit
export const hiHatSound = (sound: HiHatSettings): PatternModifierCall[] => [
  fn('highPass', sound.lowCut), // Keep only the brightest part of the noise.
  fn('decay', sound.decay), // Much shorter than the snare: a tick, not a burst.
  fn('sustain', 0),
  fn('release', 0.01),
  fn('gain', 0.08),
]

Playing it on its own takes a rhythm, here written next to the sound. Switch to Strudel output to see the values the sliders are playing now.

export const hiHatAlone = (settings: HiHatSettings) => chain(
  fn('sample', repeat(NOISE, 8)), // Eight strikes per bar.
  ...hiHatSound(settings),
  // velocity scales each strike: full on the beat, softer in between.
  fn('velocity', repeat(sequence(number(1), number(settings.offBeat)), 4)),
  fn('cpm', 25),
)

How it is built

PartUnitWhat it does
sample('white')—The same source as the snare.
highPassHzKeeps only the top of the noise. Lower values let in more body and grit.
decaysecondsVery short sounds like a closed hi-hat; longer rings like an open one.
velocity× gainScales each strike: 1 is full, 0.5 is half. Written as its own pattern, so it can accent strikes without changing the sound.

In a groove

Your hi-hats, accents included, over the kick and snare from the previous pages.

export const hiHatGroove = (settings: HiHatSettings) => chain(
  fn('stack',
    chain(fn('note', sequence(KICK, rest(), KICK, rest())), ...kickSound(KICK_DEFAULTS)),
    chain(fn('sample', sequence(rest(), NOISE, rest(), NOISE)), ...snareSound(SNARE_DEFAULTS)),
    chain(
      fn('sample', repeat(NOISE, 8)),
      ...hiHatSound(settings),
      fn('velocity', repeat(sequence(number(1), number(settings.offBeat)), 4)),
    ),
  ),
  fn('cpm', 25),
)

Full beat

Ready

Used in: Hi-hat accents · Four on the floor · Backbeat