-
... stfile2.txt" , "w" , true ); Task ({ 20.do{ f.writeLine( Array .fill( 10, { 1.0.rand })); 1.0.wait; }; "done" .postln; }).play; f.close; // view the file: "testfile2.txt" .openDocument; // read it with the player: a = TabFilePlayer .new( "t ...
-
... sig = filter + filter.mean; // and spot of reverb dry = sig; 5.do { var d = 0.5.rand; sig = AllpassN.ar(sig, d, d * delT.lag(0.2), 1); }; sig = (dry + sig) * amp; sig = SVF.ar(sig, wCut.lag(0.4)); sig = sig.clip2(cclip) * cclip.reciprocal; ...
-
... ethod, this can also extend methods that already exist in Object a.value = { 10.rand2 }; a.dup = { |self, n = 2| Set.fill(n, self) }; a.dup(5) // performWithEnvir a.performWithEnvir(\nockerl, (x: 8, y: 9, z: -3)); // 20 /* Some internals */ ...
-
... , [1,0,0], [1,1,1], [2,1,2], [3,3,2], [4,5,4]], "wiggle"); g.plot3({ { 1.0.bilinrand }.dup(3) }.dup(1000), "hairball"); // more plot3 ( h = GNUPlot.new; t = 2*pi*Array.series(1001, 0, 1/1000); ) ( // helix var f1 = 10; var f2 = 10; d = [sin ...
-
... , [1,0,0], [1,1,1], [2,1,2], [3,3,2], [4,5,4]], "wiggle"); g.plot3({ { 1.0.bilinrand }.dup(3) }.dup(1000), "hairball"); // more plot3 ( h = GNUPlot.new; t = 2*pi*Array.series(1001, 0, 1/1000); ) ( // helix var f1 = 10; var f2 = 10; d = [sin ...
-
... tch",{ Patch(model).topGui }); ToggleButton(layout,"Test",{ test = Patch(model).rand; test.play },{ test.free; }); ActionButton(layout,"post Instr name",{ model.dotNotation.post; }).beginDragAction = {model.dotNotation}; this.sourceGui(layo ...
-
... ", { Patch(model).topGui }); ToggleButton(layout, "Test", { test = Patch(model).rand; test.play }, { test.free; }); ActionButton(layout, "post Instr name", { model.dotNotation.post; }).beginDragAction = {model.dotNotation}; this.sourceGui(l ...
-
... dependants, <>spec, <name, midiResp, midiFlag, <>bMidiInvert, <valueMapped, <canRandomize; var <mainLayout, <labelName, <sliderView, <numberBoxValue, <toggleMidiLearn, <toggleMidiInvert, buttonMuteRandomization; *new { |argName, argSpec, pa ...
-
... ion g.cleanUpMethod; Examples a = BlobField (0.0,1.0, 60.collect{ [ RealVector .rand(2),rrand(0.4,1.0),0.05] }) a.plotUni( Rect (0,0,1,1),400,0.2); a.getRange; a.value( RealVector [0.2,0.7]); BlobField (0.0,1.0,[[ RealVector [0.5,0.5],1,0.0 ...
-
... gered, MedianTriggered].do{|avgunit| [ { var trig = Impulse.kr(100); var son = TRand.kr(-1, 1, trig); var mash = avgunit.kr(son, trig, 1); [son, mash] }, { var trig = Impulse.ar(100); var son = TRand.ar(-1, 1, trig); var mash = avgunit.ar(s ...