Csound Csound-dev Csound-tekno Search About

Re: Higher numerical precission in Csound

Date1999-06-05 20:13
FromSean Costello
SubjectRe: Higher numerical precission in Csound
Josep M Comajuncosas wrote:
> 
> Ed Hall wrote:
> 
> > Ouch!  Except in limited circumstances, is there any perceivable gain
> > from doubling the size of virtually all data in Csound?
> 
> Yes, it is deemed necessary for some recursive filters and other computations very
> sensitive to roundoff errors.

What sort of filters? Maybe higher-order filters might need this sort of precision, but it seems
like these would be better achieved using cascaded second-order sections.

More importantly: Which opcodes need to have the higher precision? As someone pointed out, the
inputs and outputs are always floats, so would this create a problem? All the internal precision in
the world won't help if it gets rounded down upon exiting the opcode. Do you need higher precision
in filters, delay lines, oscillators, or...?