Csound Csound-dev Csound-tekno Search About

[Csnd] CSound ApI Questions

Date2013-11-24 12:07
FromJacques Leplat
Subject[Csnd] CSound ApI Questions
I was wondering if someone could shed some light on some csound api methods.

There are two methods to perform a compiled csd, perform() and performKsmps(). the java examples tend to call performKsmps() in a while loop. if I am using my own thread, why call performKsmps() and not perform()?

from the api, is there a way to get the number of samples out of range in a performance? Could I check for this in a csd?

thanks in advance,

Jacques

Date2013-11-24 13:51
FromRory Walsh
SubjectRe: [Csnd] CSound ApI Questions
There might be times when you want to do things between k-cycles,
update channels, tables, etc. If so you should use performKsmps(),
otherwise just run an entire performance in one call with perform().
I'm not sure about the samples out of range. Someone else might be
able to say.

On 24 November 2013 12:07, Jacques Leplat  wrote:
> I was wondering if someone could shed some light on some csound api methods.
>
> There are two methods to perform a compiled csd, perform() and performKsmps(). the java examples tend to call performKsmps() in a while loop. if I am using my own thread, why call performKsmps() and not perform()?
>
> from the api, is there a way to get the number of samples out of range in a performance? Could I check for this in a csd?
>
> thanks in advance,
>
> Jacques
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>