hi, do we have an external that tells you the number of channels of an aiff file?
cheers
hi, do we have an external that tells you the number of channels of an aiff file?
I don't think so. But on Unix OSes you can call SoX or sndfile-info through the [shell] object.
p
[1] http://sox.sourceforge.net/ [2] http://www.mega-nerd.com/libsndfile/sndfile_info.html
The new [soundfiler] on 0.48.0.
Mensaje telepatico asistido por maquinas.
On 8/15/2017 4:23 AM, Peter P. wrote:
- Alexandre Torres Porres porres@gmail.com [2017-08-15 03:53]:
hi, do we have an external that tells you the number of channels of an aiff file?
I don't think so. But on Unix OSes you can call SoX or sndfile-info through the [shell] object.
p
[1] http://sox.sourceforge.net/ [2] http://www.mega-nerd.com/libsndfile/sndfile_info.html
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
2017-08-15 15:58 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
The new [soundfiler] on 0.48.0.
Well, It doesn't really do that, it just gives you the sample rate now, but I've suggested it could also give you number of channels and other information, see https://github.com/pure-data/pure-data/issues/179
It gives the No. of channels here on win32:
see image (one file is 2 channels and the other 4):[image]
Mensaje telepatico asistido por maquinas.
On 8/15/2017 4:09 PM, Alexandre Torres Porres wrote: 2017-08-15 15:58 GMT-03:00 Lucas Cordiviola <lucarda27@hotmail.commailto:lucarda27@hotmail.com>: The new [soundfiler] on 0.48.0.
Well, It doesn't really do that, it just gives you the sample rate now, but I've suggested it could also give you number of channels and other information, see https://github.com/pure-data/pure-data/issues/179
wow, then I missed it completely and opened a pointless issue :) haha
I thought that was only sample rate, as it was announced in the time.
so yeah, I guess an "info" message that just spits the header stuff out would do the job for what I want,
awesome
cheers
2017-08-15 16:47 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
It gives the No. of channels here on win32:
see image (one file is 2 channels and the other 4):[image: image]
Mensaje telepatico asistido por maquinas.
On 8/15/2017 4:09 PM, Alexandre Torres Porres wrote:
2017-08-15 15:58 GMT-03:00 Lucas Cordiviola lucarda27@hotmail.com:
The new [soundfiler] on 0.48.0.
Well, It doesn't really do that, it just gives you the sample rate now, but I've suggested it could also give you number of channels and other information, see https://github.com/pure-data/pure-data/issues/179