-
... ng its pattern with the new one. If the pattern is a function , Pdefn creates a Prout with this function, passing in the envir, if given(see below). Using *new(key) you can access the pattern at that key (if none is given, a default silent ...
-
... Pn(#[0.25, 0.2, 0.5], notepat.estimateLength) } => MicRh('16th'); #{ |notepat| Prout({ var delta; notepat.estimateLength.do({ |i| [delta = 0.2 - ((i * 2pi/25).sin * 0.125), delta, 0.75-delta].yield; }); }) } => MicRh(\sine); // macrorhythm ...
-
... uncn(func, repeats) Get values from the function, but stop after repeats items. Prout(routineFunc) Use the function like a routine. The function should return values using .yield or .embedInStream . Additional List Patterns Pser(list, repea ...
-
... n. But, if you're more accustomed to writing Routines or Tasks, you can use the Prout Pattern, which, for playing purposes, behaves just like a Task.) Proto ({ ~asPattern = { Pbind ( \degree , Pn ( Pseries (0, 1, 8), inf ), \dur , 0.125) }; ...
-
... n. But, if you're more accustomed to writing Routines or Tasks, you can use the Prout Pattern, which, for playing purposes, behaves just like a Task.) Proto ({ ~asPattern = { Pbind ( \degree , Pn ( Pseries (0, 1, 8), inf ), \dur , 0.125) }; ...
-
... an also be used to simplify the coding of co-routines used in EventStreams (see Prout for an example). x = Ref(nil); z = obj.method(x); // method puts something in reference x.value.doSomething; // retrieve value and use it ⧉ ✔ Ref is also ...
-
... s with that =) ( ~molecular_box = { arg lenpat, quant=16, keep=3, pattern; Prout({ arg ev; var lenstr = lenpat.asStream; var patstr; var buf = Array.fill(quant,{List.new}); var pat, len; var i; var basepat; pa ...
-
... ong , Plorenz , Pmono , Pnaryop , Ppatmod , Ppoisson , Pprob , Pproto , Pquad , Prout , Pseries , Pstandard , Pstep , Pstep2add , Pstep3add , PstepNfunc , Pswitch , Ptime , Punop , Pwhite , Spawner … see all See also: Stream , FilterPattern ...
-
... i + 1; }, false); patternList = allValues.collect(Pseq(_, inf)); indexPattern = Prout({|inval| super.embedInStream(inval) }).collect { |x| x.at(\index) }; parallel = PparSwitch(patternList, indexPattern); } getTransformedValue { arg inval, ...
-
... Pbind( \scale, Pfunc({ k.scale }), \degree, Pseq([ Prand(k.scale.degrees, 20), Prout({ k.mode = \minor; 0.yield; }), Prand(k.scale.degrees, 20)], 1) ).play ) ⧉ ✔ helpfile source: /tmp/scquark_hs/TuningLib/HelpSource/Classes/Key.schelp link ...