-
... 0.1.wait; choiceOldNdef.end(2); 2.wait; choiceOldNdef.clear; }; // if no other Error, store File.use(q.choiseNdefs_storePath, "w", { |file| file.write(q.ndefs.collect(_.key).cs) } ); }.play(AppClock); [ slotIndex, choiceIndex, key].postcln ...
-
... { |f| var k = f.(a); if( k.class == this.class) { ^Writer( k.a, w |+| k.w ) } { Error(">>= class mismatch: this: % that %".format(this, k) ).throw } } *makePure { |a,class| Writer(a, class !? _.zero ?? {[]}) //where to store the zero ? } }
-
... tion = unitDuration * ~length / avgSpeed; }, \s, { unitDuration = ~length; }, { Error("this unit ('%') is not defined".format(~unit)).throw }; ) }; sustain = ~sustain.value; sustain = sustain ?? { delta = ~delta.value; if(~legato.notNil) { ...
-
... needs to be increased from the default of 8192 // or you'll see the following error: // exception in real time: alloc failed, increase server's memory allocation (e.g. via ServerOptions) o = ServerOptions.new; o.memSize_(16000); Ser ...
-
... ynth.setoffset((next.at(1).asFloat)/(rcd.subdiv)); //to minimise floating point errors? //if(block==(offsetlist.size-1),{blocklength=currphraselength- phrasepos;}); this.endBlockAccounting; } }
-
... mn: i)) ) } ), ( key: \select, // assuming this is 24-31? was 16-23, copy paste error? elements: (24..31).collect { |num, i| ( key: (i+1).asSymbol, groupType: \noteOnOffBut, midiNum: num, shared: (style: (row: 3, column: i)) ) } ) ] ), ( ke ...
-
... arg pattern, rules, transparent = false, maxContextSize = 30; if(rules.isNil) { Error("need rules for Ptafisran!").throw }; ^super.new.pattern_(pattern).rules_(rules) .transparent_(transparent).maxContextSize_(maxContextSize) } rules_ { arg ...
-
... name.asString; instr = Instr.at(name) ?? {Instr.load(name)}; if(instr.isNil, { Error("Instr not found" + name).throw; }); outSpec = instr.outSpec; args = instr.argNames.collect({ arg argName, i; var spec = instr.specs.at(i); ( name: argNam ...
-
... + 9 * 10; a = Fexpr(2) + 9 * (Fexpr(10) / 2); b = a.pingolino a.call b.call // error. a = Fexpr(_ + 2) + 3; a.value; // returns a new Fexpr, so this is not what we wanted a.call // BinaryOpFunction a.call.value(0) // 5 // you can wrap the ...
-
... score.score ( Renderer .use({ { SinOsc .ar(499) * 0.1 }.play; }, 3).score ); // error here still ( Renderer .use { Pbind ( \freq , Pseq ([500, 300, 200], 2), \dur , 0.1 ).play; }.score ) ( a = Renderer (3); Routine ({ SynthDef ( "test" , { ...