-
... eColor= Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ); env = EnvGen .ar( Env .asr(att, 1, rel), gate, doneAction: 2); Out .ar(out, Splay .ar(sig) * env) }).add ) // Note that SynthDef \array_1a uses the array arg's size (8) at two further places (arrays (1..8)). // As a literal Array, by its ...
-
... M. The MRS supplies the name of the new buffer. MRS ( \newTune ) => MBM (0); // play MIDI notes on keyboard -- use the MIDI channel specified when creating the MIDIBufManager MBM (0).stopRecord; MBM (0)[ \newTune ].dumpSeq;
-
... Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... lor.grey(1, 0.4); sys.do{|o, i| Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ct.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; a= world.objects; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a[0].addForceAngular2D(-10) a[1].addForceAngular2D(10) a[2].addForceAngular2D(-10) a.last.addForceAngul ...
-
... ject2D(o)); }; //Pen.strokeRect(Rect.aboutRedVector2D(~win.mouse, 10)); }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--swapping in new object a= RedObject(~world, RedVector2D[100, 100], 0, 0, 1.5, 10) b= RedObject(~world, RedVector2D[2 ...
-
... M. The MRS supplies the name of the new buffer. MRS ( \newTune ) => MBM (0); // play MIDI notes on keyboard -- use the MIDI channel specified when creating the MIDIBufManager MBM (0).stopRecord; MBM (0)[ \newTune ].dumpSeq;
-
... ction = {}; } startSend{ if ( outTask.isNil ){ this.createOutputTask }; outTask.play; } stopSend{ outTask.stop; } createOutputTask{ outTask = Tdef( \miniHiveOut, { var msg; loop{ outMessages.copy.do{ |it,i| it.postln; xbee.sendMsgNoID( it[1 ...
-
... ,2500), 0.2) ]); PingPongT .ar(b.bufnum, input, 0.5, 0.8,0.1,1, Tempo .tempo) }.play ) bug: the tempo and beats aren't changing ? ( b = Buffer .alloc(s,44100,2); Patch ({ arg bufnum=0, tempo=1.0,beats=0.5,feedback=0.8,wobble=0.1; var input; ...