-
... el: \fwd, midiNum: [50,105].at(lyr), style: ( row: 7, column: 10 ) ) ), ( key: \loop, shared: ( label: \loop, midiNum: [51,106].at(lyr), style: ( row: 8, column: 9 ) ) ), ( key: \rec, shared: ( label: \rec, midiNum: [52, 107].at(lyr), style ...
-
... s*(vec[1]-vec[0]), vec[0]*(r-vec[2])-vec[1], vec[0]*vec[1]-(b*vec[2]) ] }; //--loop w.draw{ obj.vel= lorenz.value(obj.loc, ~sigma, ~rho, ~beta); obj.update; //--render Pen.fillColor= Color.grey((obj.loc[2]/(depth*0.5)).clip(0, 1)); Pen.fil ...
-
... rr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: (n-1).asInteger ); arr = arr.addFirst( index ); vals.at( index ).yield; }; }.r }, addToAll: false ) ...
-
... s*(vec[1]-vec[0]), vec[0]*(r-vec[2])-vec[1], vec[0]*vec[1]-(b*vec[2]) ] }; //--loop w.draw{ obj.vel= lorenz.value(obj.loc, ~sigma, ~rho, ~beta); obj.update; //--render Pen.fillColor= Color.grey((obj.loc[2]/(depth*0.5)).clip(0, 1)); Pen.fil ...
-
The stutter tutorial really has it all. Just not with live audio :) ( ~stutter = { |snd, reset, fragmentlength, rate = 1.0, maxdelay = 10| var phase, fragment, del; phase = Sweep.ar(reset); fragment = { |ph| (ph - Delay1.ar( ...
-
... var in = In.ar( ~plotterIn, 2 ); // Takes an input RecordBuf.ar( in, bufNum, loop: 0, doneAction: 2 ); // And outputs it in our buffer } ).add; ) ( // Demo Synth SynthDef( \demoSynth, { | out = 0, freq = 220 | var snd = SinOs ...
-
... GeneralHID and PhidKey // example // build the device list and start the event loop: GeneralHID.buildDeviceList; GeneralHID.startEventLoop; // find an Impact game device and open it: a = GeneralHID.open( GeneralHID.findBy( 1973 ) ); // ins ...
-
... ,mass,size att= RedHiddenObject(world, RedVector[0, 0]); //hidden attractor //--loop w.draw{ att.loc= w.mouse; Pen.fillColor= Color.grey(1, 0.5); Pen.strokeColor= Color.white; world.objects.do{|o, i| var xy; var trg= o.addForceWander1D; o.a ...
-
... Paccumbounce (-1.0, 1.0, Pwhite (-0.05, 0.1, inf ), inf ).asStream; r = fork { loop { p.next.postln; 0.1.wait } }; r.stop; p.reset; p.nextN(200).plot;
-
... quit. This Class saved me a *lot* of work, especially with those nasty infinite loops one sometimes gets when coding. It is wise to put a line "AutoBackup.start" in your startup.rtf file. Backups are saved as .sc files, named after the titl ...