-
... vent keys to be overwritten, or one addition or multiplication to be performed. Pkey , in combination with the Pchain or Pbindf "pattern composition" classes, can do everything the following classes can do (though this alternate notation ma ...
-
... t like to use, change the key-value pair \scale in the Pbind // and erase the Pkeys that reference to it. ( q.scaleA = PatternProxy.new; q.scaleB = PatternProxy.new; q.scaleA.source = Scale.majorPentatonic; q.scaleB.source = Scale. ...
-
... ve to be given as collection; ~val refers to current switch [0.1, [ \midinote , Pkey ( \val ) + [0, 5], \legato , 0.2, \amp , [0.1, 0.07]]] ).play; ) // stop and free HSpar by player p.free; ///////////////////////////////////////////////// ...
-
... a scope (namespace) for enclosed streams Source: Plambda.sc See also: Penvir , Pkey Plambda is used to create a namespace for patterns to share data among each other. Used in combination with Plet and Pget , it allows you to get the output ...
-
... rtPos: Pn(Pseg([0, 1], 20), inf), rate: Pwhite(1, 1).midiratio, loop: 0, group: Pkey(\newgroup), bufnum: Pkey(\sf1) ]) ); a.play; ) // a.render("sounds/test.aif", 40) // SoundFile.openRead("sounds/test.aif").play ⧉ ✔ Example 2, loading a wa ...
-
... nd ( \dev , Ptime ().collect(f), // current time passed to function \midinote , Pkey ( \dev ) + 60 + [0, 4], \amp , 0.05, \dur , 0.15 ).play; ) p.stop; ////////////////////////// // example with GUI ( // parametric control function f = { |x ...
-
... ([ Pseq([0.13,0.05,0.07,0.12],inf), Pseq([0.13,0.05,0.07,0.12],inf) * Pkey(\highamp) ],inf) * Pgauss(1, 0.3,inf), \type, Pif(Pkey(\amp) > 0, \note, \rest), \mtranspose, Pstutter(Pwhite(1,5)*8,Pwhite(0,7,inf)), \shi ...
-
... delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.degree, ev.use({ ~freq.value })].postln; ev }).play; ) p.stop; // play th ...
-
... delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.degree, ev.use({ ~freq.value })].postln; ev }).play; ) p.stop; // play th ...
-
... vent ) Examples p = Pbind( \degree, Pxrand([0, 2, 3, 4, 6, 7], 12), \dur, Pdiff(Pkey(\degree)).abs/4, ).play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pdiff.schelp link::Classes/Pdiff::