-
Pwhite: Filter: Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods embedInStream hi length lo Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Random ...
-
... ust2.ar(5000).sign }.plot; // pattern velvet noise Pvelvet(Prand([-1, 1], inf), Pwhite(1, 12, inf)).asStream.nextN(128).plot; // same, but less convenient to write Pseq([ Prand([-1, 1], 1), Pdup(Pwhite(0, 11, 1), 0) ], inf).asStream.nextN(1 ...
-
... o get lists of event patterns ( p = PLswitch1(\a, \w); ~a = [ Pbind( \midinote, Pwhite(60, 65), \dur, 0.2 ), Pbind( \midinote, Pwhite(70, 75), \dur, 0.15 ), Pbind( \midinote, Pwhite(80, 85), \dur, 0.1 ), Pbind( \midinote, Pwhite(90, 95), \d ...
-
... * amp) }).add; ) ( Pdef(':)', Pbind( \instrument, \resonator, \out, 0.0, \pan, Pwhite(-1.0,1.0), \dur, Pseg([1,5], 16, \lin, inf ) * 0.125, \sustain, Pwhite(0,0.25) * Pkey(\dur), \degree, Pstutter(3, Pwhite(0,7)), \octave, Pwhite(3,5), \st ...
-
... 97; f.a[0] = 98; // ... or arrays ( e.a = [80, 81]; f.a = (70..73); ) e.a[0] = Pwhite(60, 65, 1) + [0, -5, 29.5]; y.stop; x.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLshufn(\a); ~a = [ Pbind( \ ...
-
... *sig * amp) }).add; ) ( Pdef('🍇', Pbind( \instrument, \string, \out, 0.0, \pan, Pwhite(-1.0,1.0), \dur, Pseg([1,5], 16, \lin, inf ) * 0.125, \sustain, Pwhite(0,0.25) * Pkey(\dur), \degree, Pstutter(3, Pwhite(0,7)), \octave, Pwhite(3,5), \ac ...
-
... lists of event patterns ( p = PLwalk(\a, \step, \dir); ~a = [ Pbind( \midinote, Pwhite(60, 65, 1) + [0, -8.7], \dur, 0.2 ), Pbind( \midinote, Pwhite(70, 75, 2) + [0, -3.3], \dur, 0.2 ), Pbind( \midinote, Pwhite(80, 90, 3) + [0, -4.3], \dur, ...
-
... so get lists of event patterns ( p = PLswitch(\a, \w); ~a = [ Pbind( \midinote, Pwhite(60, 65, 3), \dur, 0.2 ), Pbind( \midinote, Pwhite(70, 75, 3), \dur, 0.15 ), Pbind( \midinote, Pwhite(80, 85, 3), \dur, 0.1 ), Pbind( \midinote, Pwhite(90 ...
-
... may also get lists of event patterns ( p = PLshuf(\a); ~a = [ Pbind( \midinote, Pwhite(60, 65, 3), \dur, 0.2 ), Pbind( \midinote, Pwhite(80, 85, 3), \dur, 0.2 ), Pbind( \midinote, Pwhite(80, 85, 6), \dur, 0.1 ) ]; x = p.play; ) // replace a ...
-
... Undocumented instance methods . embedInStream ( inval ) Examples p = Ppatlace([Pwhite(1, 5, 5), Pgeom(10, 1.01, 10)], inf); x = p.asStream; x.all; 5 // from Pwhite 10 // from Pgeom 4 // from Pwhite 10.1 // etc.... 5 10.201 4 10.30301 2 10. ...