-
... then maybe turning it off and on again on occasion. Some pattern classes (e.g. Ppar) don't work correctly with EventShortcuts, but this can be circumvented by applying shortcuts to source event patterns before, see method Pattern: -eventSh ...
-
... dd; s.boot; ) ( Pdefn(\deg, Pseq([0, 3, 2], inf)); Pset(\instrument, \Pdefhelp, Ppar([ Pbind(\degree, Pdefn(\deg), \pan, -0.8), Pbind(\degree, Pdefn(\deg), \dur, 1/3, \pan, 0.8) ]) ).play; ) Pdefn(\deg, Prand([0, 3, [1s, 4]], inf)); Pdefn(\ ...
-
... , [\perkysine, \default]); c.toPattern(2).play [b.toPattern(1), c.toPattern(2)].ppar.play d = DataFile.read(\pattern, \test3).patternInst(\perkysine); d.toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9 ...
-
... )); x.stop; m.stop; // EventPatternProxy can be used in multiple patterns ( x = Ppar([ Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[0, 2, 0, 3], inf)) ), Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[7, 4, 0, 3], inf)), \dur, 0.6 ), Pbin ...
-
... ) Tdef(\z, Pseq([1, 1, 1, 0.5, 0.5], inf)); ( Pset(\instrument, \pdef_grainlet, Ppar([ Pbind( \dur, Tdef(\z), \note, Pseq([1, 3, 2, 1, 0], inf), \x, Pfunc { TempoClock.default.elapsedBeats.postln } // posts the onset times ), Pbind( \dur, 4 ...
-
... You can use the p method to convert a SimpleMIDIFile into a playable pattern (a Ppar to be exact). // download a Bach midi file: "curl http://www.bachcentral.com/ORGAN/toccata1.mid -o ~/Desktop/toccata1.mid".unixCmd; // read it m = SimpleMI ...
-
... , (x: 9)); g.( { |x| Psetpre({ ~gg = 8; ~zz = 9; }, x) }, Pbind.new); g.( { |x| Ppar([x, x]) }, Pbind.new); g.( { |x| Ppar([x, x]) }, Pseq([(zz: 300), (zz: 500)], 1)); g.( { |x| Ppar([x, x], inf) }, Pseq([(zz: 300), (zz: 500)], 1)); g.( { | ...
-
... ; x.stop; Pdef(\metronom).stop; // Pdef can be used in multiple patterns: ( x = Ppar([ Pbindf(Pn(Pdef(\a), inf), \gtranspose, Pdup(8, Pseq(#[0, 2, 0, 3], inf)) ), Pbindf(Pn(Pdef(\a), inf), \gtranspose, Pdup(8, Pseq(#[7, 4, 0, 3], inf)), \du ...
-
... cumented class) Pgroup - Starts a new Group and plays the pattern in this group PparGroup - Starts a new ParGroup and plays the pattern in this group Pavaroh - applying ascending and descending scales to event stream Pbindf - bind several v ...