-
... .kr(2) + 400 }; ~freq[5] = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts ...
-
... n, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( Pn ( Pbind ( \dur , Pconst (1, Prand ([1, 0.02, 0.2], inf )), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ) ).play; )
-
... ( \y , Prand ([5, 9, 1], 2)); Pdefn ( \z , Pdefn ( \y ) * 2); ( Pdef ( \play , Pbind ( \instrument , \gpdef , \harmonic , Pnsym ( Pseq ([ \x , \x , Prand ([ \x , \y ]), [ \z , \y ], \y ], inf )).trace, \dur , 0.2, \note , 10 ) ).play; ) // ...
-
... ections of keys) to specify the resultant music. See the help files Pattern and Pbind and the tutorials Streams-Patterns-Events4 and Streams-Patterns-Events5 for more details on Patterns. Patterns that return events may be played on a clock ...
-
... Array .series(rrand(2, 4), [1, 5].choose, 1); x.put(x.size.rand, 8+0.1.rand2); Pbind ( \instrument , \help_sinegrain , \dur , 0.12, \degree , Pseq (x, 2) ) }); Pn (a, inf ).play; )
-
... PlazyEnvirN ({ arg g=0, h=0, dur=1; postf( "g: %, h: %, dur: %\n" , g, h, dur); Pbind ( \instrument , \help_sinegrain , \dur , dur, \degree , Pseq ([g, g, h, g, h], 2) ) }); ); // different variants (a <> (g: 0, h: 3, dur:0.2)).play; // sin ...
-
... eAsPlist(" testWritePlist.plist" ); // cannot convert these objects [ Ref (pi), Pbind .new].writeAsPlist( "testWritePlist.plist" ); Dictionary [ \a -> "a" , "b" -> \b , 3 -> 3.0 ].writeAsPlist( "testWritePlist.plist" ); IdentityDictionary [ ...
-
... t event Using the default event prototype, pitch and rhythm can be specified in Pbind at different levels depending on the musical requirement. The default event prototype includes logic to convert higher-level abstractions into the physica ...
-
... 1, 1, -1]]], 2].convertRhythm; // negative value is tied over. // sound example Pbind ( \degree , Pseries (0, 1, inf ), \dur , Pseq ([2, [1, [1, [2, 1, 1, -1]]], 2].convertRhythm)).play;
-
... outine ({ loop({ x.next.postln; 0.2.wait; }) }).play; ) // 'musical' example: ( Pbind ( \freq , Pseq ([ Phid ( \x ,0,8), Phid ( \y ,0,8)], inf ) * 500 + 200, \dur , Phid ( \slider ) + 0.02, \pan , Phid ( \hat ) * 2 - 1 ).play; )