-
... 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 ...
-
... 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::
-
... rns) a= Pbind(\dur, 0.25, \freq, Pn(Pstutter(4, Pseq([800, 400])))+(sin(Ptime()/Pkey(\dur)*2pi*(1/40))*10).trace).play a.stop //and the equivalent (well, roughly) synth as well... (compare how time is handled differently in the original exa ...
-
... have 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; ///////////////////////////////////////////////// // H ...
-
... Pbind( \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| (x ...
-
... bind( // randomly-ordered pitch-class row \row, Pshuf((0..11), inf), \midinote, Pkey(\row) + 60, \timept, Pkey(\row) * 0.25, \amp, 0.5 )), Pbind( \pan, Pseq([-1, 1, 1], inf), \midinote, Pseq([72, 76, 80], inf), \dur, 1, \sustain, 0.15, \amp ...
-
... grain, \sin_grain, \noise_grain], \d, [1, 2, 4] / 8, \n, PLseq(\midi), \m, 70 + Pkey(\n), \a, 0.05, \rq, 0.001 ); VarGui([\midi, [0, 12, \lin, 1, 0] ! 4] ! 3, stream: p.subPLbindefs, quant: 1).gui ) ~w.d = [4, 2, 1] / 8 ~w.d = [1, 2, PLrand ...
-
... environment when embedding the pattern in a stream Source: Ppatmod.sc See also: Pkey Class Methods Penvir. new ( envir , pattern , independent: true ) Arguments: envir an environment with objects to embed. pattern pattern or stream, usually ...
-
... , inf), \amp, 0.3, // data dispatch from above, these values will be sent \rel, Pkey(\data).collect(_[1]), \out, Pkey(\data).collect(_[0]), \t_gate, 1, \midinote, Pwhite(50, 100) ],[ \dur, inf, \in, b, \out, 0, \dtime, 0.1, \decay, 3 ],[ \d ...