[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Event - extend or subclass?



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

On Dec 24, 2005, at 2:39 PM, ml13@xxxxxxxxxxxxx wrote:

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
..................................