Version 4.2.1

This commit is contained in:
Gary Scavone
2009-03-24 23:02:14 -04:00
committed by Stephen Sinclair
parent a6381b9d38
commit 2cbce2d8bd
275 changed files with 8949 additions and 6906 deletions

View File

@@ -241,7 +241,7 @@ void Mesh2D :: noteOff(StkFloat amplitude)
#endif
}
StkFloat Mesh2D :: tick(StkFloat input)
StkFloat Mesh2D :: inputTick( StkFloat input )
{
if ( counter_ & 1 ) {
vxp1_[xInput_][yInput_] += input;
@@ -258,7 +258,7 @@ StkFloat Mesh2D :: tick(StkFloat input)
return lastOutput_;
}
StkFloat Mesh2D :: tick()
StkFloat Mesh2D :: computeSample()
{
lastOutput_ = ((counter_ & 1) ? this->tick1() : this->tick0());
counter_++;
@@ -362,16 +362,6 @@ StkFloat Mesh2D :: tick1()
return outsamp;
}
StkFloat *Mesh2D :: tick(StkFloat *vector, unsigned int vectorSize)
{
return Instrmnt::tick( vector, vectorSize );
}
StkFrames& Mesh2D :: tick( StkFrames& frames, unsigned int channel )
{
return Instrmnt::tick( frames, channel );
}
void Mesh2D :: controlChange(int number, StkFloat value)
{
StkFloat norm = value * ONE_OVER_128;