Are you planning on adding a filter? You could probably reuse some code generated by Vult DSP. There is a "ladder-type" low-pass filter and a SVF filter implementation I could share.