Csound Csound-dev Csound-tekno Search About

[Cs-dev] Timestamps of tone

Date2014-08-01 02:47
From"Yogi A. Patel"
Subject[Cs-dev] Timestamps of tone
AttachmentsNone  None  
Hi

I am generating a set of tones using CSound. Is there anyway to accurately log the timestamp associated with the tone?

Yogi

Date2014-08-01 07:24
FromRory Walsh
SubjectRe: [Cs-dev] Timestamps of tone
You could write the times to a file(foutk) but if the tones are being
generated very quickly this could lead to performance problems. In
which case you could write the times to an array and then dump them to
the file at larger intervals. If you could provide some simplified
code it would be easier to assist you.

On 1 August 2014 03:47, Yogi A. Patel  wrote:
> 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
>

------------------------------------------------------------------------------
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

Date2014-08-01 09:40
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Timestamps of tone
AttachmentsNone  

Date2014-08-01 14:52
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Timestamps of tone
>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