15 lines
197 B
Plaintext
15 lines
197 B
Plaintext
|
(
|
||
|
SynthDef(\markovS1, {
|
||
|
arg out, freq, tsize, amp, clip=1;
|
||
|
var snd;
|
||
|
|
||
|
snd = MarkovSynth.ar(SinOsc.ar(freq), 1, 0, tsize);
|
||
|
|
||
|
snd = snd.clip2(clip);
|
||
|
|
||
|
snd = snd * amp;
|
||
|
|
||
|
Out.ar(out,snd);
|
||
|
}).add;
|
||
|
|
||
|
)
|