e = Event.makeParentEvents.parentEvents.default.postcs e.eventTypes[\midi].asCompileString
#{|server| var freqs, lag, dur, sustain, strum; var bndl, midiout, hasHate, midicmd; ...
hasHate = ~hasGate ? true; // heh heh... naturally-born killer ;)
... }
tom
On 24 Dec 2005, at 23:09, James Harkins wrote:
Event.default.eventTypes contains the actions that are taken for different \type values.
Event.default.eventTypes[\myNewEventType] = { ... action ... };
hjh
Thats really cool! Now I am wondering what to do, if I wanted to add my own play behaviour, e.g. just postlining the midinote, or sending OSC to another server than scsynth maybe to do sample playback.
: H. James Harkins .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman
_______________________________________________ sc-users mailing list
.................................. www.tangiercluj.tk ..................................
|