[Csnd] API InputMessage question
Date | 2013-02-26 19:23 |
From | francesco |
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. |
Date | 2013-02-26 19:51 |
From | Victor |
Subject | Re: [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 |
Date | 2013-02-26 20:36 |
From | francesco |
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. |
Date | 2013-02-26 20:51 |
From | Michael Gogins |
Subject | Re: [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, Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-02-26 21:26 |
From | francesco |
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. |
Date | 2013-02-26 21:51 |
From | Victor |
Subject | Re: [Csnd] Re: API InputMessage question |
yes, use the performance thread class method ScoreEvent(). On 26 Feb 2013, at 21:26, francesco |