[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Newb question - creating subclass for audio signals
Hi all,
I'm trying to create a subclass to handle filtering of audio signals. I want
to be able to write code along these lines:
SynthDef( "Filtering", {
var signal1, signal2;
signal1 = MySignalClass.new; signal2 = MySignalClass.new;
signal1 = PlayBuf.ar( 2, bufNum );
signal2 = PinkNoise.ar(1.0);
signal1.applyFiltering();
signal2.applyOtherFiltering();
} );
I'm just not sure what the superclass should be, so it can handle audio from
any source. If someone could just point me in the right direction, I would
greatly appreciate it.
Thanks for any help!!
--
View this message in context: http://www.nabble.com/Newb-question---creating-subclass-for-audio-signals-tp21225372p21225372.html
Sent from the Supercollider - User mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/