Hi Richard, I too very much enjoy the legato feature of csound (I learned a great deal from your Csound Book chapter when I first went to learn how to use it!), and since Istvan left in the ftfree, I think it will be no problem to only deallocate at the last note. I know with my instruments that use tied notes, it can detect if it's the first note of the sequence (tival == false and p3 < 0) so one could use ftgen with that note, and then check if tival == true and p3 > 0 to detect the end note of the sequence and call ftfree. If not a tied note at all, then could just use ftgentmp. steven On 8/3/05, Richard Dobson wrote: > This will be a useful facility: bearing in mind one of my interests, will this > auto-deallocate work OK with legato notes (neg p3)? I am just speculating here, > but it is possible one may want the ftable to survive until the end of the last > note in a legato sequence. > > > Richard Dobson > > > Steven Yi wrote: > > > I like that the ftable will clean itself up and timed exactly at note > > deinitialization, and I think that I prefer to have it in an opcode as > > the intention then is very clearn in the code and syntax-wise would > > also be less Csound code to write within the instrument body. > > > > Either way, it seems Istvan has gone and done the job I stopped on and > > has moved out the opcodes to its own library, as well as left in > > ftfree and created ftgentmp. Also by looking at his code I realized I > > did the code incorrectly anyways doing it the old way with the 4th > > function pointer in the OENTRY instead of the new > > RegisterDeinitCallback. Thanks very much Istvan for this, it's very > > useful to me and I appreciate it! > > > > steven > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net