Csound Csound-dev Csound-tekno Search About

Re: oscil3

Date1999-01-20 08:01
FromGreg Sullivan
SubjectRe: oscil3
Ah, ok - thanks.

Note that oscil doesn't seem to suffer from the same problem,
though. It was only oscili and oscil3. (well, I didn't try all the
rest, so maybe all the interpolating oscil's suffer from it)

What I find strange, though, is that the pitch error is occurring
even when the readback rate is an EXACT integer multiple
of the base sample rate of the ftable. I would have thought
that in these cases it would read back at exactly the right
rate. I have not looked at the code at all, though.

Greg.

-----Original Message-----
From: Gabriel Maldonado 
To: csound@maths.ex.ac.uk 
Date: Wednesday, 20 January 1999 6:43
Subject: Re: oscil3


>The pitch error is probably caused by the use of integer math in oscil,
oscili and oscil3.
>I have developed the opcode 'posc' (precise oscillator) which is
substantially an oscili
>with floating-point indexing math. The sources of this opcode (as well as
of all
>DirectCsound) are available in my site:
>
>http://www.agora.stm.it/G.Maldonado/download.htm