[Minim] Using two AudioInput objects
in
Core Library Questions
•
16 days ago
Hello everyone,
I'm having a bit of trouble getting my program to display both clean and effect-ed inputs. Minim doesn't allow me to get two inputs from getLineIn(), and I can't clone or duplicate AudioInput. The effects() and noEffects() methods aren't instantaneous, so I can't temporarily disable the effect (I need to use both versions at every draw).
I'd prefer not to have to apply the filter manually, because I'm using the input in a great many places, by keeping a static instance available. If I apply the effect directly, I can't get the clean input anymore (can I?). Is there any type of object that can wrap AudioInput with all it's functionality and let me add an effect to it without compromising the original clean input (I may code one if no better option is available ~ suggestions appreciated), or is there a way to keep two references to the line-in, one with a filter and the other without it?
Thank you very much,
Gabriel.
I'm having a bit of trouble getting my program to display both clean and effect-ed inputs. Minim doesn't allow me to get two inputs from getLineIn(), and I can't clone or duplicate AudioInput. The effects() and noEffects() methods aren't instantaneous, so I can't temporarily disable the effect (I need to use both versions at every draw).
I'd prefer not to have to apply the filter manually, because I'm using the input in a great many places, by keeping a static instance available. If I apply the effect directly, I can't get the clean input anymore (can I?). Is there any type of object that can wrap AudioInput with all it's functionality and let me add an effect to it without compromising the original clean input (I may code one if no better option is available ~ suggestions appreciated), or is there a way to keep two references to the line-in, one with a filter and the other without it?
Thank you very much,
Gabriel.
1