Skip to content

Commit

Permalink
Fix buzz in Monstro's 2nd oscillator (#7334) (#7368)
Browse files Browse the repository at this point in the history
Fix a buzzing sound in Monstro's 2nd oscillator. It was introduced with
commit c2f2b7e.

The problem was caused by checking if `len_r` is not equal to 0 instead of
checking `pd_r`.
  • Loading branch information
michaelgregorius committed Jul 5, 2024
1 parent 538572a commit 0384813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Monstro/Monstro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0384813

Please sign in to comment.