Skip to content

Commit

Permalink
- fixed filter graph not being updated when modulated monophonically
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed May 5, 2019
1 parent 8955b13 commit 01f0f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hi_modules/effects/fx/Filters.cpp
Expand Up @@ -564,11 +564,11 @@ juce::IIRCoefficients PolyFilterEffect::getCurrentCoefficients() const
return voiceFilters.getCurrentCoefficients();
}

return MonoFilterEffect::getDisplayCoefficients(mode, frequency, q, gain, getSampleRate());
return monoFilters.getCurrentCoefficients();
}
else
{
return MonoFilterEffect::getDisplayCoefficients(mode, frequency, q, gain, getSampleRate());
return monoFilters.getCurrentCoefficients();
}
}

Expand Down
2 changes: 0 additions & 2 deletions hi_modules/effects/fx/Filters.h
Expand Up @@ -210,8 +210,6 @@ class PolyFilterEffect: public VoiceEffectProcessor,
float q;
float gain;



bool changeFlag;

float bipolarIntensity = 0.0f;
Expand Down

0 comments on commit 01f0f07

Please sign in to comment.