[PD] array size + stereo?

sme marius.schebella at chello.at
Tue Jun 11 07:55:01 CEST 2002


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 at perthweb.net.au>
To: <pd-list at 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
>
>





More information about the Pd-list mailing list