-
... perkysine); d.toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9,1,6,\rest], 1)); Pdefn(\note2, Pseq([\rest,2,1,0, 2], 1)); SynthFile.postAll(\point); SynthFile.read(\point).do{|item| SynthFile.read(\poi ...
-
... i.new(num) } ], [ \Pdef, { Pdef.all.size }, { |num| PdefAllGui.new(num) } ], [ \Pdefn, { Pdefn.all.size }, { |num| PdefnAllGui.new(num) } ], [ \Ndef, { Ndef.all.sum(_.size) }, { |num| NdefMixer.new(Ndef.all.choose, num) } ], [ \proxyspace, ...
-
... y; // for sketch retuning by lookup; better lokup scheme to be written later: ( Pdefn ( \tunePekingA , Pfunc ({ |ev| ().at(ev.noteKey) ? 1 })); Pdef ( \pekingA , Pbind ( \laras , \slendro , \instKey , \PekingA , \noteKey , Pseq ([\56, \61, ...
-
... peg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \d ...
-
... peg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \d ...
-
... is.envir.size) }; ^PdefGui(this, numItems, nil, bounds, options: preset); } } + Pdefn { *gui { | numItems, bounds, preset| numItems = numItems ?? { max(12, all.size) }; ^PdefnAllGui(numItems, nil, bounds, options: preset); } gui { | bounds, ...
-
... peg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \d ...
-
... peg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \d ...
-
... seq("\ser*2..4("1234")\seq("875")")"; /y- /************** Listing 37. Usage of \pdefn() generator. **************/ Pdefn(\y, Pn(Pseries(0, 1, 8), inf).collect { |d| SequenceNote(d, nil, 0.9) }); /y.a0 = "[*]::\ins("*", 2, 0.5)::\pdefn(`y, " ...
-
... To save time in performance, you can define the adaptation symbol pattern as a Pdefn, // and use the Pdefn name to chuck into the adapt adverb. // This works only with chucking syntax; variable assignment syntax does not work in that case. ...