-
... print out the logical time (clock.beats) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef(\sinGrain, { |out = 0, freq = 440, amp = 0.5, dur = 1| Out.ar(out, SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(1) ...
-
... and not 0 to avoid deadlocks when used as a duration pattern. In a sense, 1 is just as generic as 0). *removeAll Remove all proxies from the global dictionary (* all ) *clear Clear all proxies, setting their source to silence. *all *all_(e ...
-
... .. // remember that you can live the same without a Painter Painter (g, r) ; // just comment it out // g.plot ; // in case you just wnat to see the topology r.addAndSetup(1) ; r.addAndSetup(10) ; r.addAndSetup(20) ; r.addAndSetup(30) ; ) ( ...
-
... playing (~index >= buf.size).if({ ~index = ~index % buf.size; // or should this just be 0? }); currentEnvironment }; ~asNotePattern = { // Pfunc is roughly 6.7 times SLOWER than Prout Prout({ |inval| ~repeats.do { ~index = 0; while { ~index ...
-
... stream behaviour, only durations are given separately. Here values are demanded just by one stream with constant duration, but more than one duration pattern per HS and more than one Pbind per duration pattern may be defined - see the PHS h ...
-
... rt of the code doesn't have to know how many events or how long to play. It can just return an infinite pattern, and another part of the code can wrap it in one of these to stop it based on the appropriate condition. Pfin(count, pattern) Re ...
-
... ); } { if(dur == inf) { //if there is nothing to play but the score is infinite just keep updating the position. this.playState_(\playing); updatePosFunc.value; } { if(loop) { //if there is nothing to play in this run of the score and we ar ...
-
... ers. You can still add \key->action associations,ActionQSubMenu,or a MenuAction just like in ActionQMenu. Closes on click outside or on escape key. Class Methods . new Create an ActionMenu Arguments: parent The parent view. bounds A Rect na ...
-
... ld go from LazyListEmpty to LazyListEmpty() ? this way we can make methods that just use inject, collect, etc without having to add them both to LazyListEmpty and LazyListCons */ //note: because supercollider functions are eager, methods in ...
-
... ern definition is more modular, it's easy to change the behavior of the pattern just by changing its components in the environment. To sum up: BP calls ~asPattern to get the process's behavior. ~asPattern can do anything it wants to make th ...