Hello,
is there a way to get the size of a file or the duration of a sound file on disk from within a pd patch, preferably by pd core objects?
Thanks! Siegfried
or [filesize]
i think it may be in zexy?
otherwise, if you're loading files into arrays, then [soundfiler] outputs the size, and then you just divide that by whatever to get your duration.
Unfortunately [soundfiler] needs to load all data into a table first, so it works only with rather little audio files. Anyway, [soundfile_info] does perfectly what I was searching for.
Thanks everybody! Siegfried
hard off wrote:
or [filesize]
i think it may be in zexy?
otherwise, if you're loading files into arrays, then [soundfiler] outputs the size, and then you just divide that by whatever to get your duration.