-
... Buffers.do(_.free); all.remove(this); } inTransit { ^(synth.notNil.if({ synth.isPlaying; }, { false })); } setParam {|which, val| synthParams[which] = val.asArray; synth.notNil.if{ synth.setn(which, val.asArray); }; } transite {|to, dur = 5 ...
-
... ntrolsContainer.addFlowLayout; controls = { |i| var state; state = [ 'rewind', 'play', 'forward', "O", 'stop', 'record' ][i]; RoundButton( controlsContainer, 32@19 ).radius_(4) .states_( [ [ state, if( i != 5 ) { Color.black } { Color.red } ...
-
... r); outputBus = Bus.audio(server); pauseRoutine = Routine({ if (resumeRoutine.isPlaying) {resumeRoutine.stop}; running = false; 1.wait; synths.do {|i| i.run(false); } // 1.wait; }); resumeRoutine = Routine({ if(pauseRoutine.isPlaying) {paus ...
-
... 0.1.wait; }); this.report; } } // run a single test in the name format "TestPolyPlayerPool:test_prepareChildrenToBundle" *runTest { | methodName | var class, method, unitTest; # class, method = methodName.split($:); class = class.asSymbol.a ...
-
... ready: [Color.new255(181, 196, 255), Color.new255(136, 147, 191)], // baby blue playing: [Color.new255(69, 255, 23), Color.new255(52, 191, 17)], // green late: [Color.yellow, Color.yellow(0.75)], driven: [Color.new255(214, 191, 255), Color. ...
-
... ready: [Color.new255(181, 196, 255), Color.new255(136, 147, 191)], // baby blue playing: [Color.new255(69, 255, 23), Color.new255(52, 191, 17)], // green late: [Color.yellow, Color.yellow(0.75)], driven: [Color.new255(214, 191, 255), Color. ...
-
... ding synthdefs after startup AUTHOR: Marinus Klaassen (2022) */ ( SynthDef(\SCM_PlayBuf_Perc, { | bufnum=0, decay=1, rate=1, pos=0, boost=0, amp=1, pan=0, out=0 | var sig = PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum) * rate, startPos: pos ...
-
... A, 1.2); // // 0.25.wait; // p[\bleepo].pause; // // 0.5.wait; // // p[\bleepo].playN((0..q.numChans - 1).scramble.keep(4).clump(2), vol: 0.0); // // // Tdef(\bleepoDrift, { inf.do { // exprand(0.2, 10).wait; // q.bliPreset.setRand([0.001, ...
-
... , amp ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) } ); Ndef( \testSynth ).play; k.elementAt( \pad, 1 ).action = { arg el; Ndef( \testSynth ).set( \t_trig, 1, \amp, el.value ) }; //// mapping ranges: /// linlin: Ndef( \testSynth, { arg ...
-
... un right before booting NTMI.defaults.preBoot = nil; // which sound function to play when starting NTMI: NTMI.defaults.helloSound = { LoadMe("0_helloSound.scd") }; // function to run right after booting NTMI.defaults.postBoot = nil; //// te ...