4 ms·
Depending on the frequency you want, perhaps an option is to solve an oscillating ode? Each solution step gives you an audio sample. So instead of increasing t
by Bermion 4y ago
Depending on the frequency you want, perhaps an option is to solve an oscillating ode? Each solution step gives you an audio sample. So instead of increasing the accumulator you calculate the next sine value directly from the previous (and its derivative)