-
... DIIn.connect(2, MIDIClient.sources[1]) *init { |sourceInports| var srctemp; var randsrc; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before initialization in ...
-
... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...
-
... ar fbNode = FbNode ( 2 , 1.0 ); var signal = Mix .fill( 10 ,{fbNode.delay( 1.0 .rand)}); fbNode.write(in + (signal* 0.1 )); // if you want, you can use FbNode as a normal multi-tap delay, just by not adding in the // feedback signal here. s ...
-
... te.stamp; while({File.exists(backupname)},{ backupname = filename ++ "_" ++ 999.rand; }); ("mv" + filename + backupname).systemCmd; }; // now write it out. f = File(filename, "wb"); if (f.isOpen.not) { ("Automation: FAILED to open `" ++ fil ...
-
... nect(2, MIDIClient.externalSources[1]) *init { |sourceInports| var srctemp; var randsrc; var extSources; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before i ...
-
... uffer (size: 2048); a.load(sync: true ); a.set(0.0, 0, Array .fill(1024, {-1.0.rrand(1.0)})); b = { PlayBuf .ar(1, a, loop: 1)}.play(s); // change the values in the buffer a.set(0.0, 1024, Array .fill(1024, {-1.0.rrand(1.0)})); // zero it o ...
-
... of repeats ~makeStream = { ~seqStream = Pdup( Pfunc { max(1, ~offset.next) }, Prand(~pool.asArray, inf) ).collect(_.item).asStream; }; ~embedInStream = { |inval| Pdup(Pfunc { max(1, ~offset.next) }, Prand(~pool)).embedInStream(inval) }; ~s ...
-
... erVariable = 20; // store a function in the Environment ~aMethod = { ~aVariable.rand; // the function's return value is the method's result }; ~anotherMethod = { // you can call this Proto's methods by value-ing the function rrand(~aMethod. ...
-
... erVariable = 20; // store a function in the Environment ~aMethod = { ~aVariable.rand; // the function's return value is the method's result }; ~anotherMethod = { // you can call this Proto's methods by value-ing the function rrand(~aMethod. ...
-
... Automation will seek to that position. Pitfalls: * If a slider seems to take a random value at each rewind, it's probably because you haven't recorded a starting value for it. (The slider keeps its previous level, might seem "random".) Eac ...