-
... a, Color.cyan]; if(aSets[0].isArray.not, { "Sets must be contained in an Array".error; ^this }); aLabel = aLabel ? aSets; usrView.drawFunc = { this.makeCircle; aSets.do({|thisset, i| aColor = if (i > 6, {Color.rand}, {colors[i]}); this.make ...
-
... r: // the level needs the slot, snd t 1 1 1 -6) warns instead of throwing an // error and leaving a stray Ndef 'inBus-6' (found in the session audit, 30 Oct 2026). ~radTest.("snd-missing-bus", setup: ["start 2 1", "snd t 1 1 -6"], check: { ...
-
... min); indicators[item].value = rms; indicators[item].peakLevel = peak; }); } { |error| }; }.defer; }, ("/rms")).fix; } addRemoteControlListener { OSCFunc ({|msg| { var event = (); var orbitIndex; event.putPairs(msg[1..]); orbitIndex = event ...
-
... specs // if not set a default mapping if (synthDef.isNil && synthDesc.isNil) { Error("SynthDefAutogui: SynthDef '%' not found. Call .add on the SynthDef first.".format(name)).throw }; ctrlNames = if(synthDef.notNil){synthDef.allControlName ...
-
... aleRetune(newWin); }.defer(0.1); }; }.defer(0.1); }; } { "workscale - File load error".warn; }; } }); Button(compSCT, Rect(0,0, 160,25)) .states_([["reset to VGG scale"]]) .action_({ VGScale.workScales[laras] = VGScale.refScales[laras].copy ...
-
... s).value_(active); }); cBox; }; midiConnectAll = { try { MIDIIn.connectAll } { |error| error.postln; "MIDIIn.connectAll failed. Please establish the necessary connections manually".warn; } }; switch(GUI.id, \cocoa, { modsDict = KeyDownActio ...
-
... KindOf(AbstractPlayer) and: { thing.spec == this }) } constrain { arg ... args; Error("AudioSpec cannot constrain").throw; } } // an array of mono/stereo signals MultiTrackAudioSpec : AudioSpec { var <>tracks; *new { arg tracks=2,numChannel ...
-
... ich.asArray.collect { |name| var func = analysisMethods[name]; if(func.isNil) { Error("no analysis method found with this name:" + name).throw }; func }; synthDefFunctions.do { |synthDefFunc, i| var name = synthDefFunc.identityHash.abs.asSy ...
-
... KindOf(AbstractPlayer) and: { thing.spec == this }) } constrain { arg ... args; Error("AudioSpec cannot constrain").throw; } } // an array of mono/stereo signals MultiTrackAudioSpec : AudioSpec { var <>tracks; *new { arg tracks=2, numChanne ...
-
... numFrames, sr, i; sf = SoundFile.openRead(path.standardizePath); if(sf.isNil) { Error("ATSAnalyzer: could not open file: " ++ path).throw; }; numChannels = sf.numChannels; numFrames = sf.numFrames; sr = sf.sampleRate.asInteger; // Read all ...