Csound Csound-dev Csound-tekno Search About

[Csnd] API: sending multiple events with csoundScoreEvent

Date2011-06-26 01:51
FromCasey Mongoven
Subject[Csnd] API: sending multiple events with csoundScoreEvent
Hi All,

What is the best practice for sending multiple score events, e.g.

i1 0 .1
i1 .1 .1
i1 .2 .1

?

I imagine I would incur a very small delay with the second two notes. Is
that right? Do I have to do something with FlushMessageQueue to wait for all
the events to have been? How would that be implemented, do I Pause first?
Thanks for your time.

Best,
Casey

--
View this message in context: http://csound.1045644.n5.nabble.com/API-sending-multiple-events-with-csoundScoreEvent-tp4524806p4524806.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"

Date2011-06-26 09:46
FromVictor Lazzarini
SubjectRe: [Csnd] API: sending multiple events with csoundScoreEvent
you can send them all together. Csound will take "0" as play  
immediately and the others will come at the requested time. With  
csoundInputMessage() instead of csoundScoreEvent(), you can even send  
the lot as a single string in one function call.

Victor

On 26 Jun 2011, at 01:51, Casey Mongoven wrote:

> Hi All,
>
> What is the best practice for sending multiple score events, e.g.
>
> i1 0 .1
> i1 .1 .1
> i1 .2 .1
>
> ?
>
> I imagine I would incur a very small delay with the second two  
> notes. Is
> that right? Do I have to do something with FlushMessageQueue to wait  
> for all
> the events to have been? How would that be implemented, do I Pause  
> first?
> Thanks for your time.
>
> Best,
> Casey
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/API-sending-multiple-events-with-csoundScoreEvent-tp4524806p4524806.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





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"