[Csnd] getting csound time in external script
Date | 2012-11-02 08:23 |
From | francesco |
Subject | [Csnd] getting csound time in external script |
Hello All, how can i get info about performance time of a Csound instance? I would like to control two instance of Csound from some scripting language but how can i know the time of Csound in my script (using API)? Or i need to use some global variable and software bus? Thanks, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/getting-csound-time-in-external-script-tp5717591.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-11-02 08:46 |
From | Tarmo Johannes |
Subject | Re: [Csnd] getting csound time in external script |
hello, perhaps you could use times opecode and write it into a channel like? alwayson time2channel isntr time2channel ktime times chnset ktime,"time" endin and read the channel from your API? greetings, tarmo On Friday 02 November 2012 01:23:19 francesco wrote: > Hello All, > how can i get info about performance time of a Csound instance? > I would like to control two instance of Csound from some > scripting language but how can i know the time of Csound > in my script (using API)? > Or i need to use some global variable and software bus? > > Thanks, > ciao, > francesco. > > > > > -- > View this message in context: > http://csound.1045644.n5.nabble.com/getting-csound-time-in-external-script- > tp5717591.html Sent from the Csound - General mailing list archive at > Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" |
Date | 2012-11-02 09:28 |
From | Victor Lazzarini |
Subject | Re: [Csnd] getting csound time in external script |
/** * Returns the current score time in seconds * since the beginning of performance. */ PUBLIC double csoundGetScoreTime(CSOUND *); On 2 Nov 2012, at 08:23, francesco wrote: > Hello All, > how can i get info about performance time of a Csound instance? > I would like to control two instance of Csound from some > scripting language but how can i know the time of Csound > in my script (using API)? > Or i need to use some global variable and software bus? > > Thanks, > ciao, > francesco. > > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/getting-csound-time-in-external-script-tp5717591.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |