-
... tchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, decay), sig.abs > 0, doneAction: Done.freeSelf); Out.ar(out, (sig * eg) ! 2) }).add; // note add! Without this, arguments won't work ) ( TempoClock.default.tempo = 1; p = Pbind( \in ...
-
... N blocks to avoid transient mangulation by supernova //DetectSilence.ar(outsig, doneAction: 2); //Out.ar(0, outsig); //enable this for debugging }; /* SynthDef(~name, ~function ).add; ( x = Synth(~name, [ \force, 0.9, \incidence, 1, \decayM ...
-
... derNode(s.addr, '/tr', { |time, resp, msg| msg.postln }).add; o.remove; // when done, you need to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef s.scope */ //o= nil; //enable this for debugging //if (o == ...
-
... pbt, 0, \on); k.elAt(\pbt, 0, \on); // ... in longhand, this adding can also be done with: k.elAt(\pgKn1).do { |grp| k.addNamed(grp.name, grp) }; // and add first sliderbutton page as well k.toFront(\pgSl1); k.elAt(\sl, 0); k.elAt(\bt, 0, \ ...
-
... sl.x, y: sl.y)); // and this is the normal set function // bipolar mapping here done by hand a.set(\x, sl.x * 2 - 1, \y, sl.y * 2 - 1); }); SkipJack({ q.sl2d1.setXY(*[a.inValDict[\x], a.inValDict[\y]] + 1 / 2) }, 0.05, { q.win.isClosed }, ' ...
-
Messages Sending messages is the way things get done in an object oriented language. A message consists of a message selector which names the type of operation, a receiver to which the message is sent and in some cases a list of arguments w ...
-
... ; }, "modal volume DOWN failed!", "modal volume DOWN OK."); "\n\n*** NTMI TESTS DONE: % tests with % failures.\n\n".postf(~testCount, ~failCount); }).stop.play;
-
... ry { if(not(started),{Esp.start}); } *start { started = true; // this has to be done first to avoid potential for infinite recursion ("starting Esp.sc, version" + version + "(for EspGrid 0.58.1 or higher)").postln; if(Main.scVersionMajor<3 ...
-
... out, bypass * insig + ((1 - bypass) * sig)); }).add; ) // Whereas node order is done by PpolyPar, bus handling is the user's responsibility, // it looks more flexible to me to define buses separately. // one fx b = Bus .audio(s, 2); ( p = P ...
-
... .boot; ) // This is how dynamic scope placeholding of a ListPattern // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn(Plazy { Pseq(~a, 1) }); ~a = (60..70); x = Pbind( \midinote, p, \dur, 0.2 ).play; ) // First drawback ...