Andy Belov
Well-known member
I'm making a guitar effect thingy based on Teensy 4 and I want the user to be able to select one or more effects and their sequence of processing.
I know some effects have a pass through mode and it's easy to add one to those which don't.
I know that AudioConnection takes src and dst in the constructor and then calls connect and disconnect on them.
I wonder if I can override the connect() to take a new src and dst, thus dynamically re-connecting things. I'll just call a disconnect() in the new connect(str, dst).
Did anybody try that yet?
I know some effects have a pass through mode and it's easy to add one to those which don't.
I know that AudioConnection takes src and dst in the constructor and then calls connect and disconnect on them.
I wonder if I can override the connect() to take a new src and dst, thus dynamically re-connecting things. I'll just call a disconnect() in the new connect(str, dst).
Did anybody try that yet?