Csound Csound-dev Csound-tekno Search About

Temp files (was Re: [Cs-dev] Other problems with csound5 API)

Date2005-12-29 14:13
FromVictor Lazzarini
SubjectTemp files (was Re: [Cs-dev] Other problems with csound5 API)
I have tested the new code for temporary files on the
Mac running two instances of csoundapi~ on PD.
The WARNING message about files not being
deleted is gone, files are deleted properly.

Thanks for the fix. This should sort Matt's problems
as well.

I have built libsndfile 1.0.13 and csound builds OK with
it. I have not tested loops, but I assume they work.

The only thing I am finding slightly confusing is that
csound seems to be a little slower now; would it
be because of the new libsndfile (I tested this
rendering to a file)?

More strange is  this:
 I have two copies of csound;
an older (from the install package) on /usr/local/bin
and the one I built today  on my build directory.

The older one is faster (32u) than the new one (40u),
but  I can't work out why, since both should use the same
csound dynamic lib (and libsndfile). Anyway, that
doesn't matter too much now. I'm sure it's something
I didn't get quite right.

Victor





>
> I have now removed statics from winEPS.c. It still uses
> localtime() and asctime() on platforms other than Linux
> (where I replaced them with localtime_r() and asctime_r())
> , though, and those functions use static buffers.
>
> On Thursday 29 December 2005 09:22, matt wrote:
>
> > > Cscore uses many global variables and it is large,
> > > ugly, old, and rarely used so no one bothered cleaning
> > > it up so far. The PostScript graphs should be easy to
> > > fix (there are 1-2 statics there or so, it is just
> rarely used and got no attention). Of the plugins that do
> > > not work in multiple instances, many depend on third
> > > party libraries and the libraries themselves may often
> > > use global variables. It should be possible to fix the
> > > Maldonado soundfont opcodes, as those do not use any
> > > external libraries, although the code is really awful
> and global variables is just one of the issues that need
> > > to be cleaned up. Finally, some of the utility plugins
> > > may use globals; at least cvanal and pvanal should be
> > OK, however.
> > OK i could probably live with all that
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files for problems?  Stop!  Download the new
> AJAX search engine that makes searching your log files as
> easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-29 14:31
FromIstvan Varga
SubjectRe: Temp files (was Re: [Cs-dev] Other problems with csound5 API)
AttachmentsNone  

Date2005-12-29 19:46
FromErik de Castro Lopo
SubjectRe: Temp files (was Re: [Cs-dev] Other problems with csound5 API)
Victor Lazzarini wrote:

> I have built libsndfile 1.0.13 and csound builds OK with
> it. I have not tested loops, but I assume they work.
> 
> The only thing I am finding slightly confusing is that
> csound seems to be a little slower now; would it
> be because of the new libsndfile (I tested this
> rendering to a file)?

As the main author of libsndfile I can tell you that its
very, *very* unlikely that the new version of libsndfile
is slower than the old version.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Journalist: Microsoft CEO Steve Ballmer has finally said Linux
            is the No. 1 threat to Windows. What's your response to that?
Linus     : "Tag, you're it." I don't care. They've had a lot of
            enemies in their time. Let them fight one enemy that
            doesn't care for a change.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net