[PD] [sfinfo~]

Pierre Alexandre Tremblay tremblap at gmail.com
Fri Jan 28 20:32:02 CET 2022


> I forgot is even simpler (no need for an array)

Oh la la this is embarrassing. I didn’t know one could not supply an array… but that way I don’t get the size of the file in frames.

> Are you doing stuff that "soundfiler" doesn't?  If so, it would be better to add to the soundfiler object than to add a new object with its own name.


Indeed Miller I’ll do a PR to add it at the end then. I get everything else with soundfiler

For info, I need the size of the sum of my sound files in frames and in channels to allocate the right size once. I do that in Max and SC doing 2 passes, once to read the headers and accumulate what I need in both dimensions (and capture the SR at the same time) then I assign then I read and copy. For large corpora, this is useful.

So the proposal is not so big and bold as my first email… but still a needed feature.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1418 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220128/76b8a61a/attachment.bin>


More information about the Pd-list mailing list