-
... is for each repeat. states states should be an instance of IdentityDictionary , Event or some other associative collection ] list syntax: [ signal stream, ( // state 0, signal value : [ destination state, return stream or pattern ], signal ...
-
... d(300, 3400 ! 2), 0.08).dup * 0.2 }; ~z.end; p.clear; // clear all. sequence of events: When inserting a new function into the proxy, the synthdef is built, sent to the server who sends back a message when it has completed. Then the proxy w ...
-
... nf ).trace(prefix: "value: " ), \dur , 0.2 ).play ); // post only a slot of the events ( Pbind ( \degree , Pseq ([1, 4, 1, Pwhite (0, 6, 3), 100, 39], inf ), \dur , 0.2 ).trace( \degree ).play ); // several slots at once: ( Pbind ( \degree ...
-
... sed other than Set #[item, item...] define a literal Array (a:1, b:2) define an Event (same as Event[\a -> 1, \b -> 2]) ` (backtick or backquote) define a Ref: `1 == Ref(1), `(a+1) == Ref(a+1) \ inside a string or symbol, escapes the next c ...
-
... t the environment to show obj - can be nil, a dictionary, an environment, or an event. g = EnvirGui ((freq: 120, \amp : 0.2, \pan : -0.5), 12, nil , bounds: Rect (20, 400, 220, 100)); g.object_((a: 1, b: [2, 3], c: \symbol , d: [4, 5, 6], f ...
-
... e following example, a and b do not have keyDown actions themselves, so the key event is passed to c, the parent, which defines the key down action. d's parent is the SCTopView, which has no key down action. See also SCView . ( //Click on t ...
-
... y device by the developer). Creation / Class Methods *start(updtime) Starts the eventloop. Only really necessary on Mac, but use it for cross platform robustness. updtime - updatetime of the eventloop in milliseconds *discover Discovers a n ...
-
... ions Use the methods below to store functions to be called in response to a key event initiated by the user. If you return nil from your function, or you have no function registered, the event will bubble up to the parent view which may the ...
-
... CPU is busy with audio synthesis or maintaining accurate scheduling for musical events, AppClock events will be delayed until the CPU is free enough. Solution: write your GUI updates as follows. defer schedules the function on AppClock. { m ...
-
Understanding Streams, Patterns and Events - Part 2 Patterns Often one wants to be able to create multiple streams from a single stream specification. Patterns are just a way to make multiple Streams from a single specification, like a cook ...