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 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user