Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound OSX Examples Knackser-Problem

Date2014-10-28 16:06
FromSteven Yi
SubjectRe: [Cs-dev] Csound OSX Examples Knackser-Problem
AttachmentsNone  None  
Hi Oliver,

I was actually confused by this.  Technically, you shouldn't need to call runCsound: yourself, but rather should just call play:

- (void)play:(NSString *)csdFilePath

{

mCsData.shouldRecord = false;

    [self performSelectorInBackground:@selector(runCsound:) withObject:csdFilePath];

}

With the latest in the develop branch, the code is setting -b256 now.  With that, and not setting anything for -B, audio is running fine with the examples given (at least, the ones I tested).  



On Tue Oct 28 2014 at 11:49:15 AM Oliver Brodwolf <oliver@helix64.com> wrote:
Your statements confuse me a little bit.

I use Yosemite on the fastest new Mac Pro without any external
audiointerface.
The problem only exists if the csound is uses in a new thread  with
performSelectorInBackground
The buffsersize could not be the problem, because -B8192 -b1024 is ok, the
sound is clean.

Regards, Oliver



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-OSX-Examples-Knackser-Problem-tp5738142p5738160.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel