normally you use soundfiler..
here's an updated version of your patch, i guess i was bored ;)
it uses soundfiler, can handle stereo (although it doesn't automatically play mono samples on both channels), and i added a loop option...
pix.
On Tue, 30 Sep 2003 23:38:00 -0700 "Phil Thomson" hellomynameisphil@mail2sound.com wrote:
Hi all,
I'm a PD newbie, and I just made my first real patch, a simple 4-channel sound file mixer.
http://www.sfu.ca/~pthomson/01.pd
It works okay, but it only plays a sound file once and then I have to reload it. How do I open a stereo sound file, store it in an array for repeatable playback, and then have the contents of the array replaced when I open a new sound file?
Hope someone can help. I was hoping on being able to use this patch for a show on Friday. (eek). TIA.
Phil
Get the FREE email that has everyone talking at http://www.mail2world.com