[Stk] signal processing super class?
greg kellum
greg_kellum@hotmail.com
Fri, 21 Feb 2003 14:33:50 +0000
hello all
i've been developing an application with the stk that among other things
allows users to chain effects together to process the output of the
instruments, and it has occurred to me that it would be really nice if there
was a super class for all the effects and sound processing classes. if there
was a super class with a virtual tick(MY_FLOAT) method, then you iterate
through a vector of effects calling tick on each effect without having to
know what effect is actually being used. at the moment you first have to
figure out what kind of object it is you're working with and using an ugly
block of if / else statements cast down to it. the only problem that a super
class presents is finding a suitable name for it...
greg kellum
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail