ScoreEvent in CsoundPerformanceThread not working?

View: New views
2 Messages — Rating Filter:   Alert me  

ScoreEvent in CsoundPerformanceThread not working?

by Andres Cabrera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

This is not working (no error, no crash, but no effect):
      ud->qcs->perfThread->ScoreEvent(0, type, eventElements.size(),
ud->qcs->pFields);

But the following in the same place is (it is unsafe, though, so I
want the above to work):

      csoundScoreEvent(ud->csound,type ,ud->qcs->pFields, eventElements.size());

What am I doing wrong with the ScoreEvent call above?


Cheers,
Andrés

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

Re: ScoreEvent in CsoundPerformanceThread not working?

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you try using

CsoundPerformanceThread::inputMessage()

instead to see if it works?


Victor
On 19 Oct 2009, at 08:58, Andres Cabrera wrote:

> Hi,
>
> This is not working (no error, no crash, but no effect):
>      ud->qcs->perfThread->ScoreEvent(0, type, eventElements.size(),
> ud->qcs->pFields);
>
> But the following in the same place is (it is unsafe, though, so I
> want the above to work):
>
>      csoundScoreEvent(ud->csound,type ,ud->qcs->pFields,  
> eventElements.size());
>
> What am I doing wrong with the ScoreEvent call above?
>
>
> Cheers,
> Andrés
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@...
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel