tom wrote:
How can I distinguish a mono sound file from a stereo file with SOUNDFILER.
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 channels.
Any ideas?
Tom
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.