How accurately do you want it? Sample-accurate or n-decimal places in seconds? Rory is probably correct in the use of an array if density is high. Quoting "Yogi A. Patel" : > Hi > > I am generating a set of tones using CSound. Is there anyway to > accurately log the timestamp associated with the tone? > > Yogi ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net