-
... bufPlot.remove; bufPlot = nil; params[3] = bufLengthBox.value; s.bind({ buffer.free; s.sync; buffer = Buffer.alloc(s, s.sampleRate * bufLengthBox.value, 1); s.sync; bufPlot = XiiBufferPlot.new(buffer, win, Rect( 120, 5, 680, 220 )); s.sync ...
-
... tion of electronic music Copyright (C) 2018 Henry James Harkins This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either v ...
-
... .postln; }; }; section.("Section 1: SamplerVoice proxy", { var setCalls = [], onFreeFn, freeResult; // NB: an Event literal (set: ..., free: ...) can't be used here — Event already // defines real .set/.free methods (JITLib's NodeEvents ext ...
-
... oveAt will change indices of other objects, not good classHooks.at(this.class, \free).value(collIndex, this); this.class.collection[collIndex] = nil; ChuckableBrowser.updateGui(this.class); this.changed(\didFree); } // for objects that don' ...
-
... ? this.numChannels; ^EnvelopedPlayer( this, Env.asr(1, 1, 1), n ); } releaseAndFreeToBundle { arg releaseTime=(0.0), bundle; this.releaseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(release ...
-
... ? this.numChannels; ^EnvelopedPlayer( this, Env.asr(1, 1, 1), n ); } releaseAndFreeToBundle { arg releaseTime=(0.0), bundle; this.releaseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(release ...
-
... ly just SMR LEDs) */ reset { (32..71).do({|i| this.set_btn_led(i, 0)}); } /** * Frees all MIDIdefs */ free { MIDIdef(\msc_nk2).free; MIDIdef(\msc_mon).free; } /** * Handle an incoming CC from the nanoKontrol * slider: 0 -> 0 * knob: 16 -> 1 ...
-
... use the default synth s = Synth(\default); s.map(\amp, o['/1/fader1'].asBus); s.free; ``` #### In a pattern via Pdefn ```supercollider ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdef ...
-
... (\record, mixer.isRecording.binaryValue) }; } close { { synth.notNil.if({ synth.free; synth.server.nodeAllocator.freePerm(synth.nodeID); synth = nil; }); 0.5.wait; buffer.notNil.if({ ("******** Recording ended. File closed: " ++ path).postl ...
-
... efs set */ ValueUMapDef( \osc_set, { |unit, oscfunc| var message, spec; oscfunc.free; spec = unit.getSpec( \value ); message = unit.get( \message ); if( message.size == 0 ) { message = unit.unitArgName; unit.set( \message, message.asString ...