🐛 sine phase overflow.
parent
16f1d8656b
commit
f27d1434da
|
@ -42,6 +42,8 @@ namespace muz
|
|||
m_phases[i] += 2 * M_PI * m_out_freq[i]
|
||||
/ static_cast<float>(m_conf.samplerate());
|
||||
|
||||
m_phases[i] = std::fmod(m_phases[i], 2.0f * M_PI);
|
||||
|
||||
out[i] = value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue