Added missing Twang::setLoopFilter() and ModalBar::setModulationDepth() functions.

This commit is contained in:
Gary Scavone
2022-04-22 16:28:12 -04:00
parent f3ce5f4d04
commit 3acb9502ae
3 changed files with 15 additions and 1 deletions

View File

@@ -90,6 +90,11 @@ void Twang :: setLoopGain( StkFloat loopGain )
loopFilter_.setGain( gain );
}
void Twang :: setLoopFilter( std::vector<StkFloat> coefficients )
{
loopFilter_.setCoefficients( coefficients, true );
}
void Twang :: setPluckPosition( StkFloat position )
{
if ( position < 0.0 || position > 1.0 ) {