This "glitch" generator uses the percentage values in the sliders to determine whether or not to place a glitch note in the sequence as it generates it.
You can force a note to always be present at a particular step by setting the slider to 1.0
You can force a note to never be present at a particular step by setting the slider to 0.0
The "V" sliders control triggering of glitches in the vocal track and the "G" sliders control triggering of glitches in the drum track.

Tempo: the tempo of the generated sequence.
Measures: how many measures to generate.
AddKick: if lit, a kick drum sound will be added on every quarter note.
MuteVox: if lit, the sequence will be generated without vocals.
FadeGlitch: if lit, each glitch note in the drum track will be faded in over its duration.
Randomize: picks random percentages for all sliders.
Generate: generates a sequence using the current settings.
Perc Glitch: a range used to determine how short each glitch loop will be for the drums.
Vox Glitch: a range used to determine how short each glitch loop will be for the vocals.
The higher glitch values will give you "buzzier" audio and lower values will sound more like a skipping record.

The playback rate of both tracks are scaled based on the tempo you select.
Lower tempos will result in lower-pitched audio and vice-versa.
If you want to hear the entire vocal track you should generate around 104 measures.

Vocals: Half Life by Imogen Heap
Drums: Sample from Hydra Remix By Koen Groeneveld

Source code: glitchGenerator Instruments sampleRepeat

Built with Processing