Version 4.4.4

This commit is contained in:
Gary Scavone
2013-09-29 23:22:28 +02:00
committed by Stephen Sinclair
parent 0aec39260a
commit fc877b87bf
233 changed files with 9035 additions and 5800 deletions

View File

@@ -17,7 +17,7 @@
use possibly subject to patents held by Stanford
University, Yamaha, and others.
by Perry R. Cook and Gary P. Scavone, 1995-2011.
by Perry R. Cook and Gary P. Scavone, 1995-2012.
*/
/***************************************************/
@@ -37,23 +37,17 @@ Twang :: Twang( StkFloat lowestFrequency )
std::vector<StkFloat> coefficients( 2, 0.5 );
loopFilter_.setCoefficients( coefficients );
lastFrame_.resize( 1, 1, 0.0 );
loopGain_ = 0.995;
pluckPosition_ = 0.4;
this->setFrequency( 220.0 );
}
Twang :: ~Twang( void )
{
}
void Twang :: clear( void )
{
delayLine_.clear();
combDelay_.clear();
loopFilter_.clear();
lastFrame_[0] = 0.0;
lastOutput_ = 0.0;
}
void Twang :: setLowestFrequency( StkFloat frequency )