Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Semi-Random Glitch SynthDef
name
code content
// For more SynthDefs and examples please head to: https://mycelialcordsblog.wordpress.com/ ( SynthDef(\hasherTest, { arg rate = 1, freq = 60, index = 1000, tRate = 100, out = 0, fRate = 0.1; var t_trig = LFPulse.kr(0.5/fRate, 0.5); var random = LFNoise0.ar(rate, add:1); var noise = Hasher.ar(random); var sound = Saw.ar((freq+(noise*index)), Decay.kr(Impulse.kr(tRate), noise*0.001)).tanh; sound = Pan2.ar(sound, noise-0.3*2); FreeSelf.kr(t_trig); Out.ar(out, sound); }).store; ) ( Pbind( \instrument, \hasherTest, \dur, 5, \rate, Pfuncn({100.rand}, inf), \freq, Pfuncn({10000.rand}, inf), \index, Pfuncn({20000.rand}, inf), \tRate, Pfuncn({1000.rand}, inf), \fRate, 5, ).play; )
code description
It is a simple SynthDef I made after having a look at Hasher UGen with a pattern to play it. It creates nice and varied glitch sounds.
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change