Bitcrusher

ATMOSYNTH built-in module

A converter with not enough of either thing a converter needs. Bits is how many levels are left to describe the sound with: at sixteen the steps are far too small to hear, at eight the quiet parts start to grow a fizz that follows the note, and at three or four what is left is a shape rather than a sound. Rate is how often a new sample is taken at all, and everything between one and the next is held flat — that is where most of the sound comes from, because every partial above half the rate folds back down under it and arrives at a pitch that has nothing to do with the note. Bringing the rate down is the metallic ringing tail; bringing the bits down is the grit underneath it. At the top of its range the rate holds every sample and does nothing at all, so the bits can be heard on their own. Rate is an input as well as a knob, and Rate amount is how far, in hertz. Dry/wet keeps the sound that went in beside the crushed one rather than replacing it. This module carries code: nothing in the node vocabulary holds a value from one sample to the next, and a curve that could round one is fixed when it is built, so neither knob here could turn.

Four notes played on Keys, passing through it on their way out.

What it is made of

Ports: audio input ‘In’, audio input ‘Rate’, audio output ‘Out’.

  • ‘in’: audio input · port in · into ‘dry’ · into ‘gen’
  • ‘dry’: Gain · into ‘out’
  • ‘gen’: Worklet (your own code) · processor name atmosynth-crusher · inputs 1 · outputs 1 · runs its author’s code · into ‘wet’ · bits turned by ‘Bits’ · rate turned by ‘Sample rate (Hz)’
  • ‘wet’: Gain · into ‘out’ · level turned by ‘Dry/wet’
  • ‘ratein’: audio input · port rate · into ‘ratedepth’
  • ‘ratedepth’: Gain · modulates the rate of ‘gen’ · level turned by ‘Rate amount (Hz)’
  • ‘mixsrc’: Constant · into ‘mixdepth’
  • ‘mixdepth’: Gain · into ‘mixinvert’ · level turned by ‘Dry/wet’
  • ‘mixinvert’: Waveshaper · modulates the level of ‘dry’
  • ‘out’: audio output · port out
  • ‘Bits’: knob, 1 to 16
  • ‘Sample rate (Hz)’: knob, 200 to 48000
  • ‘Rate amount (Hz)’: knob, 0 to 12000
  • ‘Dry/wet’: knob, 0 to 1

Patches built on it

5 published patches