-
... nc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \n, 1, // first ask r.value by hand in a Pfunc: \degree, Pfunc({ |ev| (r.value(ev[\inc], ev[\n] ? 1) * 7).round(1) }), \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).play; // try using number of notes: Pbindef( ...
-
... Source: Ppatmod.sc Subclasses: PlazyEnvir See also: PlazyEnvir , PlazyEnvirN , Pfunc Description Plazy evaluates a function that returns a pattern and embeds it in a stream. Class Methods Plazy. new ( func ) Arguments: func A Function that ...
-
... tern = Pn( Ppar([ Padd(\midinote, Pfunc({transposition}), Panola.new( notation:interp.globalState()[\patternnotes].join(" ").debug(" ...
-
... 1,0, 1,0,0],inf), \lforange, Pseq([1000,2000,3000],inf).stutter(8), \ffreq, Pfunc({ arg ev; Ndef(\lfo1).set(\trig, ev[\move], \lforange, ev[\lforange]); Ndef(\lfo1); }), \dur, 0.5 )).play ) ////// sub pattern way ( ...
-
... ((1..7))), // use Function ~seti (2d) for SC versions without method seti: \do, Pfunc { |e| s.makeBundle(s.latency, { ~seti.(x, \otAmps, e.i, e.otAmp) }) } // for newer SC versions with method seti you can use this line instead: // \do, Pfu ...
-
... value pattern). Access to the environment depends on function-driven patterns: Pfunc , Pfuncn , Prout , .collect , .select , .reject , and similar. The independent flag specifies whether the environment will be kept separate for each strea ...
-
... should never be called from within the function that defines a FuncStream or a Pfunc (the pattern that creates FuncStreams). Event Patterns An Event is a Environment with a 'play' method. Typically, an Event consists of a collection of key ...
-
... tes p = Pbind ( \freq , Pwhite (0,log(32)).exp.round(1) * 36.midicps, \detune , Pfunc ({ | ev | ev[ \freq ] * rand(0.01) }), \sustain , Pwhite (log(0.1), log(20)).exp, \dur , Prand ([0.1,0.1,0.1,0.1,0.2,1,2], inf ), \db , Pstep ( Pseq ([-20 ...
-
... lt, \dur, 0.25, \amp, 0.5, \freq, Prand(availableNotes, inf), \foo, Pfunc({ |event| playedNote = availableNotes.indexOf(event.freq); timesNotesWerePlayed[playedNote] = timesNotesWerePlayed[playedNote] + 1; if((timesNo ...
-
... vSend]); x = Pbind( \instrument, \bell, \out, ~revSend, \root, Pfunc({~root}), \octave, Pwrand([4, 5, 6, 7], [6,8,3,1].normalizeSum, inf), \degree, Prand(Scale.lydian.degrees, inf), \ctranspose, Pwhite( -0.05, 0 ...