On Wednesday 03 May 2006 13:50, Victor Lazzarini wrote: > It just seems a roundabout way of doing things though. Maybe we > should have an i-time opcode that returns the file length, sr, channels, > etc.. You may want to have a look at these already existing opcodes: http://csounds.com/manual/html/filelen.html http://csounds.com/manual/html/filesr.html http://csounds.com/manual/html/filenchnls.html > And an API function. Why not just use libsndfile directly ? ------------------------------------------------------- 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