Re: [fluid-dev] question on linear interpolation

2015-12-31 Thread Brad Stewart
Could you confirm that "interp 1" command line invokes the Linear Interpolation function? Thanks, Brad On Thu, Dec 31, 2015, at 01:36 PM, Element Green wrote: > Hello Brad, > > To my knowledge the audio sample data is used as is in FluidSynth. > The sample rate of the data and the current pitch

Re: [fluid-dev] question on linear interpolation

2015-12-31 Thread Element Green
Hello Brad, To my knowledge the audio sample data is used as is in FluidSynth. The sample rate of the data and the current pitch of a voice determine how it gets interpolated. So I believe your analysis is correct, that interpolating between two identical values will yield that value with the li

Re: [fluid-dev] question on linear interpolation

2015-12-31 Thread Brad Stewart
Hi Mr Green, Yes, I am carrying the fractional part.  In my case, it's 12 bits and I shift right by 4 to get the upper 8 bits to index to the coefficient table. But let me cite an example, Suppose I have x[i]=100 and x[i+1]=100 (which occurs often in a lower note frequency). Assume after looking