it works with gi=n.cumsum(dD,0,n.int)%Dv
for me.

it was not working beforehand, in this version:
https://gist.github.com/3815747/9721cfc5eff7a4dd706a7f1e80a6264d3bd6915d
when i assumed frequency variation and did the LUT
procedure normally, without the cumsum which takes in
account individual steps and resulting positions.

can you post the .wav that https://gist.github.com/3815747
outputs?

thanks for the feedback and the C version!

2012/10/2 SxDx <sed@free.fr>
The last one in the series, sorry for the mess...

so replace:
gi=n.cumsum(dD,0,n.int)%Dv
by:
gi=n.cumsum(dD)
gi=n.array(gi, dtype=int)%Dv



--
GNU/Linux User #479299
labmacambira.sf.net