-
... standard Pen.use{ Pen.translate(o.loc[0], o.loc[1]); points[i].draw; }; }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... s(10)}!4)).asInteger.clip(0, 1023); action.value(*data); }); (1/sr).wait; }; }).play(SystemClock); } close { task.stop; } getBatteryLevel {blAction.value(3.3)} getDeviceName {dnAction.value("fake")} getSamplingRate {srAction.value(sr)} getF ...
-
... , o.loc[1]); hypercubes[i].drawOutlines; hypercubes[i].drawSurfaces; }; }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... nv, filterEnv, snd, pitch; pitch = freq.cpsmidi; // Lag only useful if synth is played with Pmono ampEnv = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(doneAction: 2); filterEnv = Env.perc( attackTime: att, releaseTime: rel, ...
-
Impact a class for playing with the Saitek Impact game controller-based instruments Impact is a subclass of GamePa. It knows the cookie numbers for the Saitek Impact X6-38U Game controller, a good controller for music. It knows how the scal ...
-
... a| a.postln }); c = { |inpos=0.0| Shaper.kr(b.bufnum, inpos.wrap(0, 2)).poll; }.play; c.set(\inpos, -1); c.set(\inpos, -0.99); c.set(\inpos, -0.6); c.set(\inpos, -0.2); c.set(\inpos, 0.2); c.set(\inpos, 0.6); c.set(\inpos, 0.99); c.set(\inp ...
-
... use it in a proxy: ```sc Ndef(\c, \module -> (name: \simpleSound, freq: 150));.play; ``` Change the sound by redefining the module: ```sc n.put(\simpleSound, { |dict| var f = dict[\freq] ? 200; { LPF.ar(LFSaw.ar(f), f * 2) } // new definit ...
-
... his.sortGlobalEffects(orbit); if (nodeShouldBeAdded == true, { globalDirtEffect.play( orbit.group, orbit.outBus, orbit.dryBus, orbit.globalEffectBus, orbit.orbitIndex ); if (~dirt.isNil.not, { orbit.globalEffects.reverseDo({|effect| ~dirt.s ...
-
... olor= Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
/* If you are playing with your own SuperDirt on a remote SuperDirt server, you may want to get sound file information from the remote SuperDirt application, which has loaded the buffers. RemoteSoundfileInfo makes this easy. It has to run o ...