talker93 / 2022-MUSI6106

Template project for assignments and exercises for the class MUSI6106
GNU General Public License v3.0
0 stars 0 forks source link

delay needs to be adjusted in the ringbuffer #20

Open alexanderlerch opened 2 years ago

alexanderlerch commented 2 years ago

https://github.com/talker93/2022-MUSI6106/blob/45fc476013049713691aa6f4cb15438b8190708d/src/CombFilter/CombFilter.cpp#L33 add the following lines of code for (int i = 0; i < m_iNumChannels; i++) { m_ppRingBuffer[i]->setWriteIdx(m_ppRingBuffer[i]->getReadIdx() + m_iDelay); }