hi,
there is a "wavinfo" object in ext13 but i don't know if it works on aiff or au or raw ..
cheers,
yves/
On Tue, 11 Jun 2002 07:55:01 +0200 "sme" marius.schebella@chello.at wrote:
hi, there is a -resize feature which can be sent to soundfiler (like read -resize blabla.wav array1). it automatically sets the size of the array to the length of the soundfile. and iŽd like to add another question...
is there a way of reading whether a file is mono or (2-channel-)stereo?
marius.
----- Original Message ----- From: "Chris McCormick" chris@perthweb.net.au To: pd-list@iem.kug.ac.at Sent: Tuesday, June 11, 2002 4:04 AM Subject: [PD] array size
hi, Is there a way of reading the size of a file before using soundfiler to load it into an array? i mean, like to dynamically adjust the size of the array to be able to take the whole file? or is there some better way of loading a file for playback? I want to write a nice abstracted sample player patch. Also, does anyone use a software midi sequencer to drive PD on linux? i am using shaketracker (http://www.reduz.com.ar/shaketracker/) which is pretty good, but i'm interested to hear what other people are using.
Chris. ______________________________________________________ Chris McCormick - Systems Developer - PerthWeb Pty Ltd Internet Solutions for your business! Level 9/105 St George's Tc - Perth - Western Australia Ph: (08) 9226 1366 Fax: (08) 9226 1375 Visit Perth online! : www.perthweb.com.au PGP Key = http://www.perthweb.com.au/~chris/public.txt