-
... ode; var set; rules = rules.deepCollectAssoc { |assoc| assoc = assoc.fromScoreToEvents(converter, false); // sets with variables are expanded into sets of TafsiranNodes. if(this.hasVariableSetNode(assoc)) { this.makeNestedNode(assoc) } { Ta ...
-
... h GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UScoreEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...
-
... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UVoicerEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...
-
... h GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UScoreEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...
-
/* TestEvent.run UnitTest.gui */ TestEvent : UnitTest { var prevMsg, prevLatency; test_equality { var a,b,c, x, y, keys, values; a = (a: 100, b: 200, c: [1, 2, 3]); b = (a: 100, b: 200, c: [1, 2, 3]); c = (a: 100, b: 200, c: [1, 2, 4]); thi ...
-
... alueID = Rest(0) }; }; } wrapPattern { |pattern| ^pattern.collect { |valueID, inEvent| this.processValue(valueID, inEvent) } } // higher level hook, for subclasses handling arrays // we need both common behavior and class-specific overrides ...
-
... ing = false; ~initRecording = { ~recording = List.new; ~dirt.receiveAction = { |event| var e = event.copy; if(~recordingRunning) { e.use { ~type = \dirt; ~dur = ~delta; }; ~recording.add(e) } }; }; ~startRecording = { ~recordingRunning = tr ...
-
... en you ask a Pbind stream for its next value, the result is an object called an Event . Like a Dictionary (which is a superclass of Event), an event is a set of "key-value pairs": each value is named by a key. e = (freq: 440, dur: 0.5); // ...
-
Pattern Guide 03: What Is Pbind: Filter: What's that Pbind thing? Building an event, one key at a time Event, .play and event prototypes Rests Useful Pbind variant: Pmono Connecting Event values to SynthDef inputs Rest events Writing SynthD ...
-
Understanding Streams, Patterns and Events - Part 4 The preceeding sections showed how to use Streams and Patterns to generate complex sequences of values for a single parameter at a time. This section covers Environments and Events, which ...