Hi,
I’m trying to add a dsp IIR filter to make a lowShelfPass, highShelfPass, and makePeakFilter to make a high, mid, low EQ for an audio app. Every example I’ve found online and reference is how to make it work with an audio plug in and isn’t super relevant to what I’m trying to do. I’m trying to run the filters on audio files that the user loads into my app. I was wondering how you have dsp iir filters for something like that?
Thanks!
I don’t have time to get into the details, but basically you should be able to use the IIR filters in the same way, but instead of iterating over the samples in the buffer given to the plugin, you iterate over the samples in the audio file.
Juce has tools for loading audio files into the juce AudioBuffer format. Once you have the AudioBuffer, you can create loops for processing the channels and samples in the same manner you would process the channels and samples of the AudioBuffer you get in the plugin processBlock.
I hope this is helpful in getting you started.
1 Like