-
... t synthdef v.play; // plays default sound with held arpeggio Tdef(\a, { v.play; loop { 3.do { |j| (0, 3 .. 21).do { |note| var midinote = note + 60 - j; v.put(midinote, [\freq, midinote.midicps]); defer ({ v.release(midinote) }, 2); 0.25.wa ...
-
... ncrets"; t = TextView(bounds: Rect(300, 400)); t.string = text; t.front; fork { loop { 2.0.rand.wait; defer { t.setFont(Font("Times", rrand(12, 48)), rand(text.size - 1), rrand(3, 17)); t.setStringColor(Color.rand, rand(text.size - 1), rran ...
-
... = { |str| fork { var m = str.iter.rewriteString(r, level); var b; Char.nl.post; loop { b = m.next; if(a.notNil and: b.isNil) { "\n".post }; (b ? "").post; if(b.isNil) { nil.yield }; Synth.grain(\p, [\freq, b.ascii - 97 * 200 + 300]); 0.04.w ...
-
... nstrument, \Pdefhelp, \dur, 0.25, \degree, Pseq(#[4, 3, 1, 2]*3))); // infinite loops are scheduled (to ths clock's next beat by default) and released: Pdef(\a, Pbind(\instrument, \Pdefhelp, \dur, 0.753, \degree, Pseq(#[0, 5, 4, 3, 2], inf) ...
-
... *[ 1, 1, 0, 0, 1 ].scramble ); // send new random states ( Tdef( \autoaction, { loop { n.sendMsg( "/buttons", 2.rand, 2.rand, 2.rand, 2.rand, 2.rand ); 1.0.wait; }; }).play; ); m.free; ⧉ ✔ As in the simple input examples, we can use an argT ...
-
... q.nextN(60); ⧉ ✔ This example was still similar to the ones before, basically a loop modified by a factor. But imagine that a Plazy could give out arbitrary new Patterns, the choice itself could depend on an environment-dependant parameter. ...
-
... ithZeroX: 1, doneAction: 2); Silent.ar }.play ) // check the waveform b.plot // loop 3rd half waveset // compare plot and scope x = { ZeroXBufRd.ar(b, z, zeroX: 2) }.play s.scope x.release // loop a whole waveset // demand rate ugens in Zer ...
-
... iSCellaneousDirs[0] +/+ "Sounds" +/+ "kitchen_sounds_1.wav"); // switch between looping PlayBufs ( x = { var sig = { DXMix.ar( Dxrand([0, 1, 2], inf), `(PlayBuf.ar(1, b, BufRateScale.kr(b) * [0.4, 1, 2.2], loop: 1)), stepTime: 0.2, fadeTime ...
-
... 2.ar(u, pan)) }) ); // create a task to repeatedly send grains ( t = Task.new({ loop({ // starts a synth with the current synthdef at index 0 ~out.spawn([\pmf, [1, 20, 300].choose, \pan, [0, -1, 1].choose]); [0.1, 0.01, 0.25].choose.wait; } ...
-
... as an MFunc as its action, it can have functions that record control values for looping, log control values in a file, send control values to any number of destinations, in parallel or exclusively send control values by network or whatever ...