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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user