-
... arg node; node.color = oldcolor}); // not very interesting scale mapping... all random freqs (feel free to map boxes to freqs) freqList = Array .fill(225, {200 + (5000.rand)}); 15.do({ arg i; 15.do({ arg j; a.createNode(14+(i*20), 14+(j*20) ...
-
... 5, 620, 470), a); p.supplyTextFields([sampleNameField, pitchSampleField]); p.setRandomBuffer(gBufferPoolNum); // new prey gets a random buffer preyArray = preyArray.add(p); a.replaceDrawList(preyArray); a.addToDrawList(predatorArray); preyA ...
-
... same parametrical function, with determined signals it's a waste of CPU and for random UGens the result is different. For the strict interpretation of FIS define the parameter signal outside and refer to it from inside func . init - Init va ...
-
... asInteger); a.resize; },a.numSteps); l.startRow; Button (l,80@17) .states_([ [ "randomize" , Color .black, Color .blue] ]) .action_(a.func( 'rand' )); }, Rect (10,10,400,400)); ) Note that this GUI has no dependency relationship on anything ...
-
... = 1), { if ( (rbuttons[scene][cc - knobs_note].val == 1), { // TODO: smooth the randomness a little bit p = 1.0.rand; }); if ( (sbuttons[scene][cc - knobs_note].val == 1), { p = (val.linlin(0,127,-1,1) - knobs[scene][cc - knobs_note].tmpSva ...
-
... alue )}, \mouseDownAction); Button.new(win, Rect(10, 590, 100, 16)) .states_([["random buffers", Color.black, Color.clear]]) .font_(GUI.font.new("Helvetica", 9)) .canFocus_(false) .action_({ toshioNodeSampleIndexArray = {{((bufferList.size- ...
-
... set the RGB colors for your item, if you click on the colored rectangle, a new random color will be picked for you. When you press "Ok", the item will be placed on the track view. The details regarding the usage of them is covered later on ...
-
... l = PLshuf ( \p ); // scramble with every loop ~l = PLshufn ( \p ); // weighted random ~l = PLwrand ( \p , [4, 1, 3, 1, 1]/10); p.stop; Ex.5) PLbindef and PLbindefPar // High-level control of Strings can be combined with replacing key strea ...
-
... ats: true, bufData: { // Pink noise == 1/f noise <-- Voss algorithm == Pvoss // Random generation will have DC offset. // Easiest removal is to subtract the DC offset (data.sum) // distributed over all samples (data.sum / data.size == data. ...
-
... eloc; nodeloc.postln; b.setState_(nodeloc[0], nodeloc[1], 0)}); // fill it with random nodes (nTET*3).do({ b.setState_(32.rand, nTET.rand, 1); // column, row, state }); ) // and we can play the grid from above with a clock ( var nTET = 19; ...