-
... 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 ...
-
... var pt; if (i == 0 or: {i == (size - 1)}, { pt = Point( // add 6% randomness item.x, (item.y + 0.03.rand2).clip(0.0, 1.0), ) }, { pt = Point( // add 6% randomness (item.x + 0.03.rand2).clip(0.0 ...
-
... 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 ...
-
... ews have likely // been created before. var tab = UserView() .background_(Color.rand); buttonLayout.add(button); stackLayout.add(tab); }); // Allows to specify the starting tab stackLayout.index_(0); tabView.layout_( VLayout() .add(buttonLa ...
-
... B2A.ar(w, x, y, z); #a, b, c, d = DelayN.ar([a, b, c, d], 0.001, Array.fill(4, {Rand.new(0.0, 0.001)})); #ar, al = GVerb.ar(a, roomsize, revtime, damping, inputbw, 45, drylevel, earlyreflevel, taillevel, maxroomsize, mul); #br, bl = GVerb.a ...
-
... ax is not given, the smallest (or largest value respectively) is used. { 1.0.linrand }.dup(10000).histo(1000).plot; { 8.rand }.dup(10000).histo(8).plot(discrete: true ); printOn(stream) Print a representation of the collection to a stream. ...
-
... ntentsCopy crash debug deepCollect deepDo defaultArgs dereference dereferenceOperand doOnCmdPeriod dumpBackTrace dumpDetailedBackTrace dumpStack envirCompileString envirKey equals eventAt falseAt finishEvent first flatSize free freeze gcDum ...
-
... 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 ...
-
... 0, 3, { |msg| msg.postln}); // get them b.setn(0, Array .fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, { |msg| msg.postln}); // get them b.free; There is an upper limit on the number of values ...