[sdiy] Wavetables
Tom Wiltshire
tom at electricdruid.net
Wed Jan 26 15:49:38 CET 2011
Paul,
> This is where Assembly comes into it's own..
> My oscillator code is a constant length, weather it's sync'ing a
> second oscillator, de-rezzing an oscillator and so on..
> understanding *100%* what the code is doing and how long each command
> takes in clock cycles REALLY is essential to prevent jitter.
That's the long way around, surely?
Can't you live with a one-sample delay and shove out the previous sample before calculating the next one, like Olivier suggested? Or am I missing something?
> I'll be keen to see how you get on, but I still believe you'll get a
> higher top frequency using assembly than with any C compiler.
I completely agree. For this kind of stuff, assembly is the way. You'll be digging around for every spare clock cycle. Compilers might be clever, but they don't do dirty tricks like any half-decent oscillator code does.
Tom
More information about the Synth-diy
mailing list