-
... ust be prefixed with * for classmethods and - for instancemethods. copymethod:: SinOsc *ar Inside a method section, the following optional tags are allowed, in the order given below. These tags are level 4 subsections. ARGUMENT:: [argname] ...
-
... e - note how the peak measured power changes with frequency var in, chain; in = SinOsc.ar(MouseY.kr(100, 1000, 1), 0, MouseX.kr(0,1)); chain = FFT(b.bufnum, in); Out.ar(0, in * 0.1); Out.kr(0, (FFTPower.kr(chain) * 0.66667).poll(label:"Sine ...
-
... ustain, AmpCompA.kr(freq)*amp), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq), pan, env)) }).add; ) ( a = Plambda( Pseq([ Pfindur(5, Ppar([ Pbind(\note, Plet(\x, Prand([1, 5, 1, [10, 14]], inf)), \dur, 8/3, \pan, -1), Pbin ...
-
... Help . In general, there are help files for classes (capitalized words, such as SinOsc, Array, Nil, etc.). Select the name of a class and press Cmd-d. A help file, if one exists, will open. Class definitions, message implementations, and th ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pfunc({ exprand(0.1, 0.3) + #[1, 2, 3, 6, 7].choose }).asStream; { a.do { |val| Synth(\help_sinegrain, [\freq, v ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pfsm([ #[0, 1], 67, #[0, 0, 3], 72, #[2], 73, #[0, 2], Pseq([74, 75, 76, 77]), #[2, 3, 3], nil, nil ], inf).asStream; R ...
-
... , by using the Sweep UGen. ( { SendReply.ar(Impulse.ar(4), "/reply", [Sweep.ar, SinOsc.ar(0.3)]); 0 }.play; OSCdef(\x, { |msg| var time, value; time = msg[3]; value = msg[4]; "value % occurred at time %".format(value, time).postln; }, "/rep ...
-
... Action("play") .icon_(~startIcon) .action_({ if (~synth.isNil) { ~synth = { |f| SinOsc.ar(f) * 0.1 }.play(args: [\f, ~freq]); ~synth.onFree { ~synth = nil }; ~play.icon = ~stopIcon; } { ~synth.free; ~play.icon = ~startIcon; } }); ~toolBar = ...
-
... xample ( w = Window.new.front; v = ListView(w, Rect(10, 10, 120, 70)) .items_(["SinOsc", "Saw", "LFSaw", "WhiteNoise", "PinkNoise", "BrownNoise", "Osc"]) .background_(Color.clear) .hiliteColor_(Color.green(alpha: 0.6)) .action_({ |sbs| [sbs ...
-
... r gain = -12; var sig; var foa; sig = Saw.ar(freq, gain.dbamp); // saw // sig = SinOsc.ar(freq, mul: gain.dbamp); // sine // FOA encoding, refRadius = inf foa = FoaProximity.ar( // FOA radial encoding FoaPanB.ar( // FOA angular encoding HPF ...