-
... of symbols to embed Pdefs superclass: FilterPattern for non-event patterns see Pnsym Overview: JITLib related: Pdef Psym(pattern, dict) pattern: a pattern that returns symbols or characters. Arrays are converted to parallel patterns ( Ppar ...
-
... period; var <>startpos; *initClass { StartUp.add{ SynthDef("periodmerge".debug(\pn),{arg bufnum,start,end,size,mult,pan; var env=EnvGen.ar(Env.new([1,1,0], [size/BufSampleRate.ir(bufnum),0],[0,0]).debug(\env), doneAction: 2); var sam=PlayBu ...
-
... kc = 2; ~helpers = Pbind( \instrument, "am1", \midinote, Pseq([ Pn([57], 6), Pn([64], 6), Pn([59], 6), Pn([60], 6), ], inf), \ctranspose, 12, \dur, Pseq([Pn(0.5, 5), 1.5], inf), \amp, Pwhite(0.25, 0.35 ...
-
... durations after r = Psetpre ( \freq , Pseq ([500, 600, 700], 2), q); Pstretch ( Pn ( Env ([0.5, 2, 0.5], [10, 10])), Pn (r)).play; Pset ( \stretch , Pn ( Env ([0.5, 2, 0.5], [10, 10]) ), Pn (r)).play //Pstretchp(valPattern, pattern) // stre ...
-
... ihat", \dur, Pseq([1/4, Rest(1/4)], inf), \att, 0.001, \rel, 0.1, \idk, Pn(Pgeom(300, 1.5, 8.4), inf), \amp, 0.45, \tempo, 126/60 );//I meant for this to be a hi hat but it turned to be something different but better ~softBu ...
-
... \defaultB", \midinote, Pseq([ [51, 58, 63, 67], [48, 55, 58, 63], [43, 55, 58], Pn([44, 51, 56, 60], 4), [51, 58, 63, 67], [48, 55, 58, 63], [43, 55, 58], [44, 51, 56, 60]]), \amp, Pseq([ 0.3, 0.28, 0.25, 0.18, 0.15, 0.13, 0.09, 0.25, 0.23, ...
-
... ~counter = { arg n=4, palindrome=false; var pat; if(palindrome, {pat = Pn(Pseq((1..n).mirror))}, {pat = Pn(Pseq((1..n)))} ); pat.asStream; }; // an accumulator // 1 -> 1 // 2 -> 1, 2 // 3 -> 1, 2, 3 // n -> 1, .., n ...
-
... .wav"); s.stopRecording; ( Pseq( [ ~twinkle, Ppar([~phaser, ~accent, Pn(~twinkle, 2)], 1), Ppar([~melody, ~drums], 2), Pn(~romanianMinor, 2), ~spanish, ~mixolydian, ~egyptian2, Ppar([Pn(~egyptian1,2), ~egyptian2 ...
-
... n input) examples of unary operators are: squared, sqrt, sin, tan ... See also: Pnaryop , Pbinop , UnaryOpFunction // example ( var a; a = Punop ( \sqrt , Pseries (0, 1, 12)); a.asStream.all; ) // this is the same as: ( var a; a = Pseries ( ...
-
... on : Object use a pattern of symbols to embed Pdefs Source: Psym.sc Subclasses: Pnsym , Psym1 , Ptsym See also: Pdef Description for non-event patterns see Pnsym . Overview: JITLib . Class Methods Psym. new ( pattern , dict ) Arguments: pat ...