[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Event - extend or subclass?
Hi,
I've just discovered how I can use Patterns to send midi... I mean like:
Pbind(
\type, \midi,
\midinote, 60,
\amp, 0.7,
\chan, 0,
\midiout, m
).play;
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.
Should I subclass Event (is this a good idea at all?), or add a new
\type with +Event{} (well I am just thinking this should work, but
dont really know how) ??
Cheers :),
Kilian Sprotte