| >From your description and other questions, it also sounds as if you
require high precision both the the tone generation timing and for the
buttons that you want to register as input. Are you contructing some
kind of audio perception/reaction test? In such a case, I would
suggest using kr=sr (set ksmps=1 in the header). As far as I know
(even though we can do sample-accurate event scheduling also with
higher ksmps) the interfacing with the external controls (button) will
happen at k-rate.
2014-08-01 10:40 GMT+02:00 :
> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel
--
Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205
http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp
------------------------------------------------------------------------------
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 |