1
0
Fork 0

changed markovsynth

8-channel
Luka Prinčič 2020-03-25 18:34:35 +01:00
parent ae372185ef
commit 978052425d
2 changed files with 5 additions and 7 deletions

View File

@ -1,15 +1,14 @@
( (
SynthDef(\markovS1, { SynthDef(\markovS1, {
arg out, freq, tsize, amp, clip=1; arg out, freq, tsize, amp = 0.8, clip=1, gate = 1, fadeTime = 1;
var snd; var snd, env;
env = EnvGen.kr(Env([0, 1, 0], [fadeTime, fadeTime], \sin, 1), gate, doneAction: Done.freeSelf);
snd = MarkovSynth.ar(SinOsc.ar(freq), 1, 0, tsize); snd = MarkovSynth.ar(SinOsc.ar(freq), 1, 0, tsize);
snd = snd.clip2(clip); snd = snd.clip2(clip);
snd = snd * env * amp;
snd = snd * amp; Out.ar(out, snd);
Out.ar(out,snd);
}).add; }).add;
) )

View File

@ -337,7 +337,6 @@ FreqScope.new(400, 200, 0, server: s);
~lorenzTrig1.free; ~lorenzTrig1.free;
///////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////