Sorry, but I have to revisit one more time... I got sidetracked by the normalization problem, but my original worry about ctrl7 going to zero at max is still valid. On Tue, Jan 08, 2019 at 07:00:08AM +0000, Victor Lazzarini wrote: > ... The table opcode will never overflow, it either limits or wraps around. Obviously if this was true for ctrl7 also it couldn't snap back to 0 at the top end. So I took a look at the source, and here's the problem: In midiops2.c:ictrl7: value = *(ftp->ftable + (int32)(value*ftp->flen)); /* no interpolation */ I haven;'t dug into table allocation, but I assume 'ftlen' would be 128 for a 128-point table (and for 129 too?). So multiplying the original value -- scaled it seems 0..1.0 -- by ftlen is going to overflow into the guard point! A ticket is appropriate, I guess. -- Pete -- Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here