0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

when clipper threshold set too high the whole mpx goes? what the fuck

This commit is contained in:
2025-05-31 11:47:20 +02:00
parent 7da1ab87ad
commit 0a138420ad

View File

@@ -34,9 +34,7 @@ float get_oscillator_cos_multiplier_ni(Oscillator *osc, float multiplier) {
return cosf(new_phase);
}
void advance_oscillator(Oscillator *osc) {
inline void advance_oscillator(Oscillator *osc) {
osc->phase += osc->phase_increment;
if (osc->phase >= M_2PI) {
osc->phase -= M_2PI;
}
if (osc->phase >= M_2PI) osc->phase -= M_2PI;
}