Csound Csound-dev Csound-tekno Search About

[Csnd] API InputMessage question

Date2013-02-26 19:23
Fromfrancesco
Subject[Csnd] API InputMessage question
Hello All,
i'm using a Lua script that compile a simple csd then using csound
performance thread
i send many messages to the running csd. Almost ok except for that:
  LineBuffer Overflow - Input Data has been Lost
so some messages are lost.
I would like to understand if it's a problem with Csound or Lua, and how can
i
solve that, if possible.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-02-26 19:51
FromVictor
SubjectRe: [Csnd] API InputMessage question
I think it is a Lua message, as I do not see such message in the Csound code.



On 26 Feb 2013, at 19:23, francesco  wrote:

> Hello All,
> i'm using a Lua script that compile a simple csd then using csound
> performance thread
> i send many messages to the running csd. Almost ok except for that:
>  LineBuffer Overflow - Input Data has been Lost
> so some messages are lost.
> I would like to understand if it's a problem with Csound or Lua, and how can
> i
> solve that, if possible.
> 
> Thanks,
> ciao,
> francesco.
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457.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"
> 


Date2013-02-26 20:36
Fromfrancesco
Subject[Csnd] Re: API InputMessage question
Thank You,
i'm able to solve adding perf:FlushMessageQueue (), quite obvious now!

ciao,
francesco.





--
View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457p5720465.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-02-26 20:51
FromMichael Gogins
SubjectRe: [Csnd] Re: API InputMessage question
In Csound 5 there is a limit to how many text messages can be sent as score events, due to a static buffer. If you send score events as numeric pfields there is no limit.

Regards,
Mike


On Tue, Feb 26, 2013 at 3:36 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
Thank You,
i'm able to solve adding perf:FlushMessageQueue (), quite obvious now!

ciao,
francesco.





--
View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457p5720465.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"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-02-26 21:26
Fromfrancesco
Subject[Csnd] Re: API InputMessage question
> If you send score events as numeric pfields

How can i do this using performance thread class?

Because i see ScoreEvents, but i'm not able to use it in Lua,
i do not undertsand the arguments ...
This is my limitation, not Csound :)

ciao,
francesco



--
View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457p5720469.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-02-26 21:51
FromVictor
SubjectRe: [Csnd] Re: API InputMessage question
yes, use the performance thread class method ScoreEvent().



On 26 Feb 2013, at 21:26, francesco  wrote:

>> If you send score events as numeric pfields
> 
> How can i do this using performance thread class?
> 
> Because i see ScoreEvents, but i'm not able to use it in Lua,
> i do not undertsand the arguments ...
> This is my limitation, not Csound :)
> 
> ciao,
> francesco
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/API-InputMessage-question-tp5720457p5720469.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"
>