42 ms·
It doesn't seem your oscillators are behaving correctly when you vary their frequency input. You seem to be doing something like phase = freq * time, which will
by WAHa_06x36 7y ago
It doesn't seem your oscillators are behaving correctly when you vary their frequency input. You seem to be doing something like phase = freq * time, which will break horribly when freq changes. Instead, you need to accumulate the phase over time based on whatever freq happens to be, like phase += freq * timeOfSingleSample.
- __max__ 7y agoSo you think the oscillators should essentially be stateful? That might explain why I can't seem to implement 303-style slide correctly.
- TheOtherHobbes 7y agohttps://en.wikipedia.org/wiki/Numerically-controlled_oscillator https://en.wikipedia.org/wiki/Numerically-controlled_oscilla... The more advanced version without aliasing: http://www.martin-finke.de/blog/articles/audio-plugins-018-polyblep-oscillator/ http://www.martin-finke.de/blog/articles/audio-plugins-018-p...
- __max__ 7y agoI implemented this last night, and it solves the problem I was having with portamento: https://z.musictools.live/#95 https://z.musictools.live/#95