-
... ).add; s.sync; ~quNeo.pads[0].note.onFunc = { Pbind(*[instrument: \test, freq1: Pseq([300,600,900,1200], 1), freq2: 1000, amp: 1, dur: 0.3, lpfFreq: ~quNeo.vSliders[0].loc.map, lpfRes: 0.5 ]).play; }; ~quNeo.pads[1].note.onFunc = { Pbind(*[ ...
-
... ; }.dup(4); list = list.collect({ |item| AminoacidPattern(item, 4, 0) }); pat = Pseq(list, inf); Pbind( \instrument, \amino, \degree, pat, \stepsPerOctave, 72, \dur, 0.1, \legato, 1.0 ).play; ) // or this one: ( Pbind( \instrument, \amino, ...
-
... ive channel Pdef ( Pdef(\simple, Ppar({ |i| Pbind( \instrument, \simple, \freq, Pseq(#[67, 43, 60, 62, 71].midicps, inf), \dur, Prand(#[1, 2, 3, 7], inf), \channelOffset, i ) } ! 5) ) ) ( // five channel Ndef, holding the Pdef Ndef(\simple) ...
-
... , Pwhite(60,75,1) + [0, 5, 14, 19, 22], \dur, 0.15 ); ~a[3] = Pbind( \midinote, Pseq((90..95)), \dur, 0.05 ); ) // replace whole array ( ~a = [ Pbind( \midinote, Pwhite(60, 65, 3), \dur, 0.05 ), Pbind( \midinote, Pwhite(70, 90, 2), \dur, 0. ...
-
... ; ) // play a pattern on clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan, -0.5, \amp, 0.5 ) ).play(t); ) // post info on tempo changes t.verbose_(true); // fadeTempo(newTempo, time, warp); // // ma ...
-
... operations a.scramble; a.rotate(2); a.pyramid(2); a.scramble; a.class; a.array; Pseq(a).asStream.all; a.addAll("rr"); a.as(Array).at(1).class; // -> BigChar a + "text"; a + a b = a ++ "xyz" ++ "ÄÖÜ"; b.scramble; b[3..6] b.keep(-4); b.drop(3 ...
-
... ses notes randomly) Pbind( \octave, 3, \degree, Pwhite(0, 7, inf), \dur, 0.5 ), Pseq([ Pchain( ~swingify, Pbind( \degree, Pseries(-7, 1, 15) +.x Pseq([0, 9], 1), \dur, Pwhite(1, 3, inf) * 0.25 ), (swingBase: 0.25, swingAmount: 0.2) ), Pfunc ...
-
... hing simple - the higher the note, the shorter the length ( p = Pbind( \degree, Pseq([Pseries(-7, 1, 14), Pseries(7, -1, 14)], inf), \dur, 0.25, // \degree is EARLIER in the Pbind \legato, Pkey(\degree).linexp(-7, 7, 2.0, 0.05) ).play; ) p. ...
-
... ay(keys.size * 2); keys.do({ |key| if(key.envirGet.notNil) { pairs.add(key).add(Pseq(key.envirGet, 1)) }; }); pairs }, // identify rests in the rhythm array // (to know where to stick notes in) getRestIndices: { |array| var result = Array(a ...
-
... // patterns naturally create an .ir input Pswitch1([ ~beatStart1, ~beatStart2 ],Pseq([0,1],inf)) // juggle back and forth ], // stream of beat durations Pseq(~durations,inf)); ~patch },[ // a blank sample Sample.new(nil) ]) .gui_({ arg layo ...