Flanger correct interpolate calculation

This commit is contained in:
Dave French
2014-12-22 22:22:51 +00:00
parent 27b822f30d
commit b982fa4b4c

View File

@@ -60,7 +60,7 @@ void MonoDelay::tick( sample_t* sample )
{
readIndex += m_maxLength;
}
float fract = fraction( m_length );
float fract = 1.0f - fraction( m_length );
if(readIndex != m_maxLength-1 )
{
*sample = linearInterpolate(m_buffer[readIndex] ,