Fix a buzzing sound in Monstro's 2nd oscillator. It was introduced with
commit c2f2b7e0d7.
The problem was caused by checking if `len_r` is not equal to 0 instead of
checking `pd_r`.
This commit is contained in:
committed by
GitHub
parent
538572a3c5
commit
0384813ae4
@@ -514,7 +514,7 @@ void MonstroSynth::renderOutput( fpp_t _frames, SampleFrame* _buf )
|
||||
}
|
||||
|
||||
sample_t O2R = 0.;
|
||||
if (len_r != 0.)
|
||||
if (pd_r != 0.)
|
||||
{
|
||||
len_r = BandLimitedWave::pdToLen(pd_r);
|
||||
if (m_counter2r > 0)
|
||||
|
||||
Reference in New Issue
Block a user