Hi All, I was playing around with the CSD and the only thing I've found is that you can get a glitch per note if you hardcode phs to 0 or remove giving the phs arg to oscili. Making the table power of 2 + 1 didn't change anything. I changed ksmps and got the glitch to happen elsewhere. Now, I have a pretty strong hunch that the glitch happens because of rounding of seconds values to ksmps boundaries ends up with a ksmps empty space between the end of one note and the beginning of the next. The instrument is relying on phase -1 to skip initialization, but on the other hand, notes are not tied, which I think is not the best practice. Also, this instrument applies no envelope at all to the generated signal from oscili. I would recommend the original coder of the CSD both add an envelope to the instrument and also use tied notes if they planning to carry the phase of the instrument from note to note. Thanks! steven On Sun, Oct 5, 2008 at 5:47 AM, wrote: > That is my problem! I cannot see why 1.75s is difference from 0.75s > Will have another hunt this afternoon > ==John > >> Looking at musmon.c and insert.c, the code appears to >> be correct and in the example CSD it works for the >> first notes, but fails at 1.750 secs. I wonder if the failure >> is somewhere else. >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net