Hi All, I think one bug I found in wguide2 is that I think the following code: p->xdel1cod = (XINARG1) ? 1 : 0; p->xdel2cod = (XINARG2) ? 1 : 0; should have been: p->xdel1cod = (XINARG2) ? 1 : 0; p->xdel2cod = (XINARG3) ? 1 : 0; Also: if (p->xdel2cod != p->xdel2cod) should have been checking: if (p->xdel1cod != p->xdel2cod) The test was passing regardless, then because the check later in the code was only looking at xdel1cod, which was always a-rate since it was looking at the first arg, the wrong branch of code in the wguide2 function was always being used, the one assuming the frequency values for the delay lines were coming in as an a-rate vector. So, that lead to reading from unknown memory, hence the bad values on different ksmps and why things sounded correct on ksmps=1 (didn't increment the pointer past the scalar value). This fixes up this aspect of the opcode and has been checked in. Jean Piche noted to me that that feedback values are limited to low values, such that values above .25 or so cause the opcode to go unstable. From my own testing, it seems that the combined values of the feedbacks can not be above .5 in total. Could someone check out the flowgraph diagram in the manual for wguide2 and verify that that is what the limit should be? I've played with the opcode only a little feeding in a number of different values and it seems to be working for values as long as I keep to the .5 total rule. If this is correct behavior, then I think the manual could use an update on this. If others could test this fix out, that'd be great. Thanks! steven ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net