«Semi-Random Glitch SynthDef» by rumush

on 09 Oct'15 15:27 in patternglitchexperimentalrandom

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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;
)
raw 713 chars (focus & ctrl+a+c to copy)
reception
comments