-
... .fill(tracks, "{ var env, sine; env = EnvGen.ar(Env.perc, doneAction:2); sine = SinOsc.ar(440, 0, 0.5 * env); sine ! 2 }.play"); xiigui = nil; point = if(setting.isNil, {Point(10, 200)}, {setting[1]}); params = if(setting.isNil, {[1, 0, sta ...
-
... ", "env", "k-buffer", "playbuf", "diskin", "LFNoise0", "LFNoise1", "LFNoise2", "SinOsc", "Impulse", "LFSaw", "LFPar", "LFTri", "LFCub"]) .action_({arg me; me.value; }); ); paramDict[key].add("env" -> TextView(z, 200@20) ); paramDict[key].ad ...
-
... mness level/256+(bias*256); } ) // lets test ( SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600,end: 50, dur: 0.1, doneAction: Done.freeSelf))*0.5; Out.ar(out, Pan2.ar(sig)); }).add; SynthDef(\hh, {|out| var sig = WhiteNoise.a ...
-
... v; env = EnvGen .kr( Env .perc(0.01, envdur), doneAction:2); signal = Pan2 .ar( SinOsc .ar(freq, 0, vol), pan) * env; Out .ar(0, signal); }).add; ) ///////////// scales // here we have one octave of 19 equal tempered scale (19-TET) ( var cl ...
-
... e1Msg((1 .. ((i + 1) * 6)).reciprocal) // completion messages }); a = { VOsc.ar(SinOsc.kr(0.5, 0).range(b.first.bufnum + 0.1, b.last.bufnum - 0.1), [440, 441], 0, 0.2) }.play; ) a.free; // iterate over the array and free it b.do(_.free); ⧉ ...
-
... r(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; p = Pbind( [\degree, \dur], Pseq([[0, 0.1], [2, 0.1], [3, 0.1], [4, 0.1], [5, 0.8]], 1), \amp, 0.05, \octave, 6, \instrum ...
-
... 0, pan=0, amp=1; var env, sine; env = EnvGen.ar(Env.perc, doneAction:2); sine = SinOsc.ar(freq, 0, env*amp); Out.ar(outbus, Pan2.ar(sine, pan)); }).play(Server.default)}.asCompileString; win = GUI.window.new("- gridder -", Rect(point.x, poi ...
-
... example, in the following cases method call assistance will pop up immediately: SinOsc.ar( 123.forBy( ⧉ ✔ ...while in the following cases, you will first need to select a class, because the class is not known: min( x.play( [1,2,3].inject( ⧉ ...
-
... -[STEP 5] SynthDef(\simple, {|frq, amp, dur, pan| var sig; sig = Pan2.ar(SinOsc.ar(frq, 0, mul: amp), pan); sig = sig * EnvGen.kr(Env.perc, timeScale: dur, doneAction: 2); Out.ar(0, sig) }).add; //------------ SynthDef(\wa ...
-
... ef.loadSynthDef x.start ( x = Udef( \sine, { |freq = 440, amp = 0.1| Out.ar( 0, SinOsc.ar( freq, 0, amp ) ) } ); ) y = U( \sine, [ \freq, 880 ] ); y.gui; y.def.loadSynthDef; y.start; y.stop; y.set( \freq, 700 ); ( // a styled gui in user-de ...