-
... l; ^pattern.embedInStream(inval) } // convenient getters and setters tag_ { arg event; tagProxy.source = event; } tag { ^tagProxy.source } segmentRules_ { arg rules; segmentPattern.rules = rules; } segmentRules { ^segmentPattern.rules } bal ...
-
CtkEvent: Filter: Description Class methods new Inherited class methods Instance methods play function collect condition next score record now envbus release free addTo starttime server timer clear endtime group Inherited instance methods E ...
-
... fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.duration = 8; // looped events limited to 8s }; evt; }) ); y = z.gui; ) ( // create a score with sine waves z = UScore( *12.collect({ |i| var evt; evt = UChain(i/2,i,rrand(3.0,10.0),\s ...
-
... ative topics Tour 4l: kitchen studies, a granular synthesis application Tour 5: EventShortcuts: less typing with Events and event patterns Tour 6: live coding Tour 6a: PLbindef and PLbindefPar Tour 6b: PLx and live coding with Strings Tour ...
-
Pmulp multiply with each value of a pattern to value of a key in event stream superclass: Psetp Pmulp(name, value, pattern) multiplies a value in an event stream until it ends, repeats this with new values until the value stream ends. value ...
-
... rn is needed because sometimes I want streams that return SequenceNotes, // not events // something useful { |source, class, key, adverb, parms| if(class.exists(key).not) { source.chuck(class.new(key), adverb, parms); }; } => Func(\chuckIf) ...
-
... or.gray(0.5), stringColor ][ UScoreEditor.enableUndo.binaryValue ] ); } selectedEvents{ ^scoreView.selectedEvents; } selectedEventsOrAll{ ^scoreView.selectedEventsOrAll } makeGui{ |parent, bounds| var font, size, marginH, marginV; var umixe ...
-
... asInt, time); sp.par(evt); sp.wait(time); }); }); EventPatternProxy.new(pattern); }, process: {arg self, count, time; var me = self; Plazy({ var rows = me.grid; var evts ...
-
... ernally converts parts of code into a function that you can call, passing in an event with parameters, to which you may add the results. It returns the event.
-
Adding values to a base event pattern (Or, “Pattern Composition”) One way to use patterns is to write everything into the pattern up front. This has the advantage of clarity and ease of understanding. Another way is to modularize the behavi ...