The writing of PEAK chunks still seems to be limited to floating point sample formats, though, and of course to have support for reading peak information, the eventual 5.02 releases should be built with libsndfile 1.0.16 or newer. On Wednesday 03 May 2006 00:57, Matt Ingalls wrote: > great! > > On May 2, 2006, at 11:35 AM, Istvan Varga wrote: > > > On Saturday 08 April 2006 18:24, matt ingalls wrote: > > > >> On Apr 8, 2006, at 12:13 PM, Istvan Varga wrote: > >> > >>> Unfortunately, I do not see how this could be done with libsndfile. > >>> Even worse, reading the source code it looks like > >>> SFC_CALC_NORM_SIGNAL_MAX > >>> and related commands in libsndfile always scan the whole file > >>> regardless > >>> of whether a peak chunk is present - if there is one, it is ignored > >>> and the file is scanned anyway. > >> > >> well, better than nothing. > > > > This has improved now with the availability of libsndfile-1.0.16: > > the peak chunk is used if it is available, otherwise a warning is > > printed and the file is scanned. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net