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

@@ -14,7 +14,7 @@
used in fixed delay-length applications, such
as for reverberation.
by Perry R. Cook and Gary P. Scavone, 1995 - 2004.
by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
*/
/***************************************************/
@@ -167,9 +167,9 @@ StkFloat Delay :: nextOut(void)
return inputs_[outPoint_];
}
StkFloat Delay :: tick(StkFloat sample)
StkFloat Delay :: computeSample( StkFloat input )
{
inputs_[inPoint_++] = sample;
inputs_[inPoint_++] = input;
// Check for end condition
if (inPoint_ == inputs_.size())
@@ -184,9 +184,9 @@ StkFloat Delay :: tick(StkFloat sample)
return outputs_[0];
}
StkFloat *Delay :: tick(StkFloat *vector, unsigned int vectorSize)
StkFloat Delay :: tick( StkFloat input )
{
return Filter::tick( vector, vectorSize );
return computeSample( input );
}
StkFrames& Delay :: tick( StkFrames& frames, unsigned int channel )