-
... = ~okvoices.collectAs( { |v| v.langSymbol.asString.split($_).first.asSymbol }, Set).asArray.sort.postln; /* ~voicesByLang.value(\en).size; ~voicesByLang.value(\de); ~voicesByLang.value(\ar); ~voicesByLang.value(\pt).size; ~voicesByLang.val ...
-
... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ HybridUMapDef( \logical, { |a = 0, b = 0, mode = 0, trueValue = 1.0, falseValue = 0.0| var index, and, or, output; UMapDef.useMappedArgs_( false ); and = ...
-
... the noise -- this is an Udef definition file part of the Unit lib default Udefs set */ var class; class = 'PV_MagSmooth'.asClass; if( class.notNil ) { Udef( \magSmooth, { |fftSize = 4096, smooth = 0.0, smear = 0.0, amp = 0.1, noise = 0.0| v ...
-
... f the class that one wants to make an instance of some type class. */ //you can set a value as an internal change which gets propagated via the ES returned by changes // you can acess an ES that only propagates external changes // this allo ...
-
... XAMPLE -- enable ledControl and simulate native feature of lighting buttons ( m.setLEDControl(\padandbutton, true); m.padVelAction = {|idx, val, time| m.setPadLED(idx.postln, #[\off, \amber][(val>0).asInteger]); }; m.butVelAction = {|idx, v ...
-
... ted -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ FuncUMapDef( \random_value, { |unit, range = #[0.0,1.0], type = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linl ...
-
... ts).bitadd_(bitadd).sr_(sr ?? {Server.default.sampleRate/2}).srmult_(srmult); } setup { //tail of cutgroup synthid= cutgroup.server.nextNodeID; cutgroup.server.sendMsg(\s_new, \cutbit1chan++(cutgroup.numChannels.asSymbol), synthid, 1,cutgro ...
-
... .new.modamount_(modamount).modfreq_(modfreq).mamult_(mamult).mfmult_(mfmult); } setup { //tail of cutgroup synthid= cutgroup.server.nextNodeID; cutgroup.server.sendMsg(\s_new, \cutmod1chan++(cutgroup.numChannels.asSymbol), synthid, 1,cutgro ...
-
... ted -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ FuncUMapDef( \random_value, { |unit, range = #[0.0,1.0], type = 'white'| switch( type, \white, { range[0] rrand: range[1]; }, \linear, { 1.0.linrand.linl ...
-
... ndex].wrapAt(key) * (2 ** (key div: 12)) }; ~syntonic = 80/81; ~fillOne = { |offset = 0| var out = Array.newClear(12); 12.do { |i| var commaK; i = i - 5; commaK = (i + offset) div: 4; out.wrapPut(i * 7, ~flattenOctave.((1.5 ** i) * (~synton ...