Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csound 5 API

Date2007-06-27 23:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] csound 5 API
No conflicts, don't worry, Csound  handles temporary
files with unique names (as I am sure CppSound does too).

Using files is good practice, not just legacy.

Victor

>
> 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

-------------------------------------------------------------------------
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