On Tuesday 27 December 2005 15:36, Jean-Pierre Lemoine wrote: > The following code koctA, kampA pitch asigl, 1, 5, 8, 10 is trapping > Csound5 (Csound tidy up: Segmentation violation). asigl is valid as well > as the Csound Instrument where I put the "faulty" code. The crash is now fixed in the CVS sources. I also corrected the amplitude output which seemed to be off by 12 dB; not sure if this was a good idea, though, there may be existing orchestra code that depends on the previous behavior of outputting an amplitude level that is about 4 times lower than what it should be. Another oddity I noticed is that the opcode only works correctly if the input is in the range -32767 to 32767, but not if the range is -1 to 1, even though the threshold is adjusted accordingly.