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?
Thank you all for your help,
D.S
http://www.flickr.com/photos/schafferdavid/ https://soundcloud.com/schafferdavid
On 8 Ιουλ 2014, at 0:18, David Schaffer via Pd-list pd-list@lists.iem.at 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?
Doesn't [readanysf~] give this info?
Thank you all for your help,
D.S
http://www.flickr.com/photos/schafferdavid/ https://soundcloud.com/schafferdavid _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-07-08 00:10, Alexandros Drymonitis via Pd-list wrote:
Doesn't [readanysf~] give this info?
assuming that [readanysf~] give you the length in some time-based unit (seconds, milliseconds,...), what's that length of a JPG?
fgmasdr IOhannes
On Tue, Jul 8, 2014 at 10:10 AM, IOhannes m zmoelnig via Pd-list < pd-list@lists.iem.at> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-07-08 00:10, Alexandros Drymonitis via Pd-list wrote:
Doesn't [readanysf~] give this info?
assuming that [readanysf~] give you the length in some time-based unit (seconds, milliseconds,...), what's that length of a JPG?
Oops, I omitted the JPG, sorry, was thinking of audio files only..
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBCAAGBQJTu5lzAAoJELZQGcR/ejb42HUP/RUtW366Zpp2EDz9v8HiGpJh NIOCd7b2a+Vu40jy9ggwp1o2F2u+flqIyEOgan/p68SuCTd279lPA4dA/EL8i2BT 5HY6ICBCvF4kN2t/TD7oK41lYegXJUMt8oMJJvdNICq5cuheA5mKQ6kr/6P4FvOc YxQVNsqGhVRVpeiCyFkkvDlm3NPF4/+mjrPXg5ZSNXTYozrbrKDqXp6HI5pUqLX4 6Rw639iXOmJczz0DjOj7zOU09GAM09PloBgaRXE3LHiVCnZ1YfnlJaQDTgdFAPpX sTB9SQrV25GZCo4AFS1w2GY33M7vSvArJZbXm+BtQNHGyZ8cybz7W1rXOYUxQ9yQ uriEN3i2gYW8oPnmCmGYWMc9vyc/+W/wzlzDehvk8ngeeunV4x+VKVNTo0tnTGT/ +rEk0WZZ3mKANZ34M2azrhiDxl/tZaueu8KY9+t/f3UXWKqX/k2jknFBAKF0hL8U KQRBDyhHRcB5iSm2ZYOH1HLxiNMgZOl+a6crb3FZ1M8R/5e765RC7p2EizYQq21W LZw/oKGQCNO4+JwRW+1DT88Cv0tJpB55BKS363Z3IDP1y8aJgb4bbQBue3/QWt/U ZFqIR05NHUNwqxgtpGTOEEeueLYKNDPWJhg/N3nmNs2ol1/EplUJgeJmq6d49NuU kZneFB1Isx3raQtIE8Fk =2/8w -----END PGP SIGNATURE-----
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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