-
I tried to increase the modularity of the code synthdef. It remains to improve the modularity and conciseness of code pattern. I find it too "heavy", too "long" ... I also added comments in English this time! /* My simple synth with some ...
-
... on Class methods Inherited class methods Instance methods source socketStatus asSynthDef synthDefArgs synthArg rate numChannels loadDefFileToBundle defName spawnToBundle isPlaying didSpawn instrArgFromControl initForSynthDef connectToPatchI ...
-
... p); ) // this does the analysis and saves it to 'y'... frees itself when done ( SynthDef("pvrec", { arg recBuf=1, soundBufnum=2; var in, chain, bufnum; bufnum = LocalBuf.new(2048, 1); Line.kr(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in ...
-
... eated it by chance =) (fork of the tweet 0007 by redFrik) ( ~name = 'xfiles'; SynthDef(~name, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ifreq=5, maxdelaytime=0.05, delaytime= 0.05, decaytime=0.2, ffr ...
-
... readFromBus ( bus ) . server . setMsg ( value ) . stopReadFromBus Examples d = SynthDef("help-NodeControl", { |out = 0, freq = 400| Out.ar(out, SinOsc.ar(freq, 0, 0.5) ) }); y = d.play; // the synth c = NodeControl(y, 1); c.value = 500; c. ...
-
... eD - 60 dB lag time in seconds for the downgoing signal. ( // used to lag pitch SynthDef ( \lagud_help , { arg freq=300,lagup=1, lagdown=5; Out .ar( 0, SinOsc .ar( // sine wave LagUD .kr( // lag the frequency freq, lagup, lagdown ), 0, // p ...
-
... eD - 60 dB lag time in seconds for the downgoing signal. ( // used to lag pitch SynthDef ( \lag3ud_help , { arg freq=300,lagup=1, lagdown=5; Out .ar( 0, SinOsc .ar( // sine wave Lag3UD .kr( // lag the frequency freq, lagup, lagdown ), 0, // ...
-
... eD - 60 dB lag time in seconds for the downgoing signal. ( // used to lag pitch SynthDef ( \lag2ud_help , { arg freq=300,lagup=1, lagdown=5; Out .ar( 0, SinOsc .ar( // sine wave Lag2UD .kr( // lag the frequency freq, lagup, lagdown ), 0, // ...
-
... 108)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(fre ...
-
... hannelLayout = \ambi; ~function = { | order = 2, bufnum = 0, loop = 1, mul = 1| SynthDef.wrap(~diskins.at(order), prependArgs: [loop, bufnum]); }; ~setup = { |satieInstance| var orders = satieInstance.config.ambiOrders; ~diskins = Array.fil ...