it works with
gi=n.cumsum(dD,0,n.int)%Dv
for me.
So, your code had no problem?
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?
http://sed.free.fr/pyt.tar.bz2
sorry, no wav, I don't have scikits,
I did ti.tofile("ti.raw") and t.tofile("t.raw").
I get the same results with my C code if I
change it to do the cumsum in ints.