[PD] Getting the size of a file

Martin Peach via Pd-list pd-list at lists.iem.at
Tue Jul 8 01:52:41 CEST 2014


On 2014-07-07 17:18, David Schaffer via Pd-list wrote:
> Hi list, I'd like to find out a simple way to get the size of a file, be
> it a .wav, .mp3, .jpg, .mov. I thought about using binfile, but I can't
> find a way to use the second outlet's output (the one that sends out the
> info I'm looking for...). It doesn't seem to be a symbol... Any hints?
>

the [info( message causes [binfile] to emit from its middle outlet a 
list of messages with 'length' as one of the selectors:

[info(
|
[binfile]
|  |  |
    |
    [route length]
    |
    [nbx]


Martin




More information about the Pd-list mailing list