[PD] how to know if a file has more than one channel?

altern altern2 at gmail.com
Sat May 18 15:57:53 CEST 2013


I would like to be able to distinguish between mono and stereo files at
loading time. I am loading the sound with soundfiler using this messages
which works both for stereo and mono files

read -resize path_to_file table1 table2

any suggestions? maybe there is some way to check if the second table is
full with zeros?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130518/c7457597/attachment.htm>

More information about the Pd-list mailing list