-
... }.plot; a.collect{|t| EaseInOutQuad.(t)}.plot; //--similar in sclang and inside synthdefs s.boot c= {SinOsc.ar(EaseInOutExpo.kr(MouseX.kr)*500+500, 0, 0.1)}.play c.free a.collect{|x| EaseInOutExpo.(x)}.plot //--rates are flexibe when used i ...
-
... eive server notifications for. updateFunction - ( // prep s = Server.local; n = SynthDef("Updater-help", {|out, freq| var sin; sin = SinOsc.ar(freq, 0.5)*EnvGen.kr(Env.triangle(4,1), doneAction:2); Out.ar(out, sin); }).send(s); ) ( //create ...
-
... 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 Trefethen, Lloyd N.; Birkiss ...
-
... ied in *new. Inherited instance methods Examples //////// Basic functionality ( SynthDef(\testEQui, { Out.ar(0, WhiteNoise.ar(0.1).equi); }).add; ) ( x = Synth(\testEQui); e = EQui(target: x); // change the GUI; alt-drag changes q ) p = e.v ...
-
... tForBoot({ var win = Window.new( "", Rect(0, 400, 200, 100) ); var roundButton; SynthDef(\GMhelp, { |out = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0 ...
-
... ize_(2); StaticText(w, x.bounds).string_(" frequency").resize_(2); w.front; ) ( SynthDef("sineBlip", { arg freq = 440, vol = 0.1, la0, la1, la2, la3, la4, ta0, ta1, ta2, ta3, crva, lf0, lf1, lf2, lf3, lf4, tf0, tf1, tf2, tf3, crvf; var sign ...
-
... Type arg, other values might cause considerable CPU saving and/or shortening of synthdef compile time. Class Methods . new Creates a new Fb1 ar object. Arguments: func The Function to define the feedback / feedforward relation. The Function ...
-
... rBoot({ var win = Window.new( "", Rect(0, 400, 200, 100) ); var feedbackButton; SynthDef(\GMhelp, { |out = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0 ...
-
... ); var routine; var notes = (Scale.at(\mixolydian).ratios ++ [2]) * 48.midicps; SynthDef(\GMhelp, { |out = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc); Out.ar(0, snd!2); }).add; tapTempoBut ...
-
... will be used for setting the arg 'freq'. defname Symbol or String. Name of the SynthDef to be used for the synth being set. Defaults to \default. offset Number. Offset to be taken for time-shifting synth init and streams. Defaults to 1e-6. ...