[PD] array read -resize according to file ?

Raphaël Ilias phae.ilias at gmail.com
Thu Oct 6 18:00:23 CEST 2016


Hello list

For an array used as data storage (i.e. not audio), is there a way to load
data from a file AND have it resized according to file's length ?
...like with soundfiler : [read -resize filename.wav tablename (

I want to load textfiles into arrays but their may vary and cannot be
predicted...

I feel my english isn't very clear today ! So I attached an example patch.

Any idea ?

have a good day !

-- 
Raphaël Ilias
  ___________________________________
*     phae.fr <http://phae.fr>*
     10 rue des Deux Haies - 49100 Angers / France
     phae.ilias at gmail.com / 06 04 45 79 78
  ___________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20161006/e8d10f69/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array-resize.zip
Type: application/zip
Size: 985 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20161006/e8d10f69/attachment.zip>


More information about the Pd-list mailing list