-
... 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 ...
-
... 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. ...
-
... an If you already calculate a mean (=RunningSum/length) in another part of your SynthDef you can supply it here, so it is not calculated again, thus safing processing power. Inherited class methods Instance Methods Inherited instance method ...
-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\maxmag, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar * 0.5; chain = FFT(fftbuf, in); // let the strongest (0 - 1023) pa ...
-
... ethods . embedInStream ( event ) . hi . hi = value . lo . lo = value Examples ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... Color.green(1, 0.1); s.waitForBoot({ 1.wait; //in case things are not ready... SynthDef(\monoPlayer, { arg buffer, loop=1, amp=1, outbus=0; var sig; sig = PlayBuf.ar(1, buffer, BufRateScale.kr(buffer), loop: loop); Out.ar(outbus, sig*amp); ...
-
... ted instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-add", { |out = 0, soundBufnum| var inA, chainA, inB, chainB, chain ; inA = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); inB ...
-
... imenting as compile time is shorter, but once you have finished the design of a SynthDef it might pay going back to blocksize 32 or 64 for runtime efficiency, especially if many kr UGens are involved. References Righetti, Ludovic; Buchli, J ...
-
... herited class methods Instance methods value spec topMakePatchOut synthArg addToSynthDef instrArgFromControl didSpawn removeResponders stopToBundle freeToBundle cmdPeriod rate Inherited instance methods Classes (extension) | External Contro ...