We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0197362 commit f9e7ccbCopy full SHA for f9e7ccb
1 file changed
Source/Processors/FilterNode/FilterNode.cpp
@@ -205,7 +205,8 @@ bool FilterNode::getBypassStatusForChannel(int chan)
205
206
void FilterNode::setFilterParameters(double lowCut, double highCut, int chan)
207
{
208
-
+ if (channels.size()-1 < chan)
209
+ return;
210
Dsp::Params params;
211
params[0] = channels[chan]->sampleRate; // sample rate
212
params[1] = 2; // order
0 commit comments