SamiPerttu / fundsp

Library for audio processing and synthesis
Apache License 2.0
805 stars 44 forks source link

Wavetable oscillators increase in amplitude as pitch increases #63

Closed jangler closed 2 weeks ago

jangler commented 2 weeks ago

If I record the output of envelope(|t| 55.0 * pow(2.0, t)) >> triangle(), it looks like this:

image

pulse and saw also have this issue. I haven't tested the other wavetable oscillators. sine works as expected. I'm using v0.20.0.

SamiPerttu commented 2 weeks ago

Hi! It should be fixed now.

jangler commented 2 weeks ago

Thanks, looks good now!