808 rimshot and claves

ATMOSYNTH built-in module

The rimshot and the claves of the Roland TR-808, which share a switch, ported from io-808's Web Audio graph (MIT, Copyright (c) 2016 Vincent Riemer). The claves are a triangle at 2450 Hz through a band-pass of the same, dying in 40 ms. The rimshot is a sine at 480 Hz through a band-pass and a triangle at 1750 Hz through a 2450 Hz high-pass, half-wave rectified, driven into a soft clipper and cut off in 10 ms, then high-passed at 480 Hz. Kind chooses which, Level is the gain at the end, and how hard a note is struck scales the whole sound. Each note is a hit of its own. An automation is counted in whole milliseconds and io-808 opens its envelopes in a fraction of one, so each opens by a clock drawn finer, from the strike, and falls by an automation.

Four notes played on Keys, their level moved by it.

What it is made of

Ports: note input ‘Note’, audio output ‘Out’.

  • ‘note’: note input · port midi
  • ‘one’: Constant · into ‘unit’ · into ‘ringFrequency’ · into ‘ringBandFrequency’ · into ‘woodFrequency’ · into ‘woodHighFrequency’ · into ‘swingDriveGain’ · into ‘rimHighFrequency’ · into ‘clavesFrequency’ · into ‘clavesBandFrequency’
  • ‘unit’: Waveshaper · into ‘kind’
  • ‘kind’: Gain · into ‘whenRimshot’ · into ‘whenClaves’ · level turned by ‘Kind’
  • ‘level’: Gain · into ‘out’ · level turned by ‘Level’
  • ‘out’: audio output · port out
  • ‘clock’: Constant · into ‘opens0_11’ · value set by ‘Clock’
  • ‘ring’: Oscillator · wave sine · into ‘ringBand’
  • ‘ringFrequency’: Waveshaper · modulates the frequency of ‘ring’
  • ‘ringBand’: Filter · filter type band-pass · into ‘rectify’
  • ‘ringBandFrequency’: Waveshaper · modulates the cutoff of ‘ringBand’
  • ‘wood’: Oscillator · wave triangle · into ‘woodHigh’
  • ‘woodFrequency’: Waveshaper · modulates the frequency of ‘wood’
  • ‘woodHigh’: Filter · filter type high-pass · into ‘knockOpen’
  • ‘woodHighFrequency’: Waveshaper · modulates the cutoff of ‘woodHigh’
  • ‘knock’: Gain · into ‘rectify’ · level set by ‘Knock’
  • ‘rectify’: Waveshaper · into ‘swingDrive’
  • ‘swingDrive’: Gain · into ‘swingClip’
  • ‘swingDriveGain’: Waveshaper · modulates the level of ‘swingDrive’
  • ‘swingClip’: Waveshaper · oversampling 2× · into ‘swingOpen’
  • ‘swing’: Gain · into ‘rimHigh’ · level set by ‘Swing’
  • ‘rimHigh’: Filter · filter type high-pass · into ‘pickRimshot’
  • ‘rimHighFrequency’: Waveshaper · modulates the cutoff of ‘rimHigh’
  • ‘pickRimshot’: Gain · into ‘level’
  • ‘whenRimshot’: Waveshaper · modulates the level of ‘pickRimshot’
  • ‘knockOpen’: Gain · into ‘knock’
  • ‘opens0_11’: Waveshaper · modulates the level of ‘knockOpen’ · modulates the level of ‘swingOpen’ · modulates the level of ‘clackOpen’
  • ‘swingOpen’: Gain · into ‘swing’
  • ‘claves’: Oscillator · wave triangle · into ‘clavesBand’
  • ‘clavesFrequency’: Waveshaper · modulates the frequency of ‘claves’
  • ‘clavesBand’: Filter · filter type band-pass · into ‘clackOpen’
  • ‘clavesBandFrequency’: Waveshaper · modulates the cutoff of ‘clavesBand’
  • ‘clack’: Gain · into ‘pickClaves’ · level set by ‘Claves’
  • ‘pickClaves’: Gain · into ‘level’
  • ‘whenClaves’: Waveshaper · modulates the level of ‘pickClaves’
  • ‘clackOpen’: Gain · into ‘clack’
  • ‘hold’: Constant · value set by ‘Hit length’
  • ‘Clock’: envelope, 2 points, on the value of ‘clock’ · one-shot
  • ‘Knock’: envelope, 2 points, on the level of ‘knock’ · one-shot
  • ‘Swing’: envelope, 2 points, on the level of ‘swing’ · one-shot
  • ‘Claves’: envelope, 2 points, on the level of ‘clack’ · one-shot
  • ‘Hit length’: envelope, 3 points, on the value of ‘hold’ · holds at point 1
  • ‘Level’: knob, 0 to 1
  • ‘Kind’: knob, rimshot / claves

Patches built on it

1 published patch