Closed sinshu closed 2 years ago
The oscillator can be a bit faster by using fixed-point numbers, but I'm not sure if this change works without glitch. https://github.com/sinshu/meltysynth/blob/fixed-point-number/MeltySynth/src/Oscillator.cs
Unit tests are OK. The output waveform is almost identical to the floating-point version. I'll merge this after some more tests.
The oscillator can be a bit faster by using fixed-point numbers, but I'm not sure if this change works without glitch. https://github.com/sinshu/meltysynth/blob/fixed-point-number/MeltySynth/src/Oscillator.cs