[PD] soundfiler mono and stereo files

Eric Skogen eskogen at usfamily.net
Wed May 12 23:23:05 CEST 2004

tom wrote:

>How can I distinguish a mono sound file from a stereo file with
>I made an abstraction that loads sound files:
>- I would like SOUNDFILER to write mono data in 2 arrays as it does with
>a stereo sound file. It should automatically play mono samples on both
>Any ideas?

You could try this loadwav~ abstraction: 
(http://iem.kug.ac.at/mailinglists/pd-list/2004-03/020245.html). Instead 
of soundfiler, it is using readsf~ (to avoid dropouts). When complete 
silence is detected the audio switches over to write on both channels. 
It has worked well for me in performance.

More information about the Pd-list mailing list