Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csound 5 API

Date2007-06-27 23:40
From"gogins@pipeline.com"
SubjectRe: [Cs-dev] csound 5 API
If they are automatically created from a csd they will not conflict. If you
export them yourself from CppSound you have to take care to name them so
that they will not conflict.

Regards,
Mike

Original Message:
-----------------
From: Greg Thompson greg@rhythmicdesign.com
Date: Wed, 27 Jun 2007 18:11:51 -0400
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] csound 5 API


Hmm .. so if I'm running multiple instances of csound .. these tmp  
files won't conflict, right?  Even if they're playing the same orc  
and sco (csd)?  I suppose if I have to create the files I could name  
them something unique, but still .. just wanted to know how it  
worked.  Its a shame it has to write to disk at all, but that's just  
my opinion ..  probably just a legacy issue.

thanks
greg

On Jun 27, 2007, at 4:52 PM, Michael Gogins wrote:

> With the CppSound class it is possible to pass a csd, a sco, or an  
> orc through the API without requiring Csound to read it from a file.
>
> When Csound runs, you will need to export the files for  
> performance, so they end up in a file anyway, although it can be a  
> temporary file.
>
> Csound writes tmp files if orc and sco filenames are not specified.
>
> Also, Csound sorts the sco, whether permament or temporary, and  
> creates another temporary file that is the _real_ score file that  
> drives the performance.
>
> Regards,
> Mike
>
> -----Original Message-----
>> From: Greg Thompson 
>> Sent: Jun 27, 2007 3:32 PM
>> To: Developer discussions 
>> Subject: [Cs-dev]  csound 5 API
>>
>> few questions on the API:
>>
>> Is it possible to pass a csd or orc/sco through the API without
>> requiring it to read it from a file?
>>
>> I haven't parsed through much of the code, but it appears Csound
>> writes tmp files .. does this happen when compiling or only for misc
>> functions?
>>
>> greg
>>
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

--------------------------------------------------------------------
mail2web.com – Enhanced email for the mobile individual based on Microsoft®
Exchange - http://link.mail2web.com/Personal/EnhancedEmail



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net