Hi John, I just got around to taking a brief look at the sampletime branch. It seems fine though the code is a little more difficult to read with all the calculations now going on. I'm wondering do you think it would be possible to calculate values like "csound->ct.icurtime/csound->esr" once per ksmp and cache it somewhere so we don't have to have this code in many places? Also, I haven't thought it through, but do you suppose there might be issues with overflowing the value of the long being used to count samples? I haven't calculated what the limits would be but I imagine it could get very large very quickly if using 96khz or 192khz sr. steven On Tue, Oct 21, 2008 at 3:23 AM, jpff wrote: > > I have created a new branch called "sampletime" that has my code to > could time in samples. It needs the same fixed for beatmode > (example?) but I thought it would be best to make it visible for > comment, complaint etc. > > ==John ffitch > > > ------------------------------------------------------------------------- > 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