[PD] array define read from file does not auto resize array

IOhannes m zmoelnig zmoelnig at iem.at
Mon Jul 13 09:16:53 CEST 2015

On 2015-07-11 23:35, Billy Stiltner wrote:
> I guess, your textfile seems to contain only one (or several) line
>> with floats.
>> A better way could be :
>> yes , the textfiles were saved through array
> the data was originally a space delimited list of floats sent from
> javascript->JAVA->TCP->FUDI->[array set]
> then saved by the [write filename( message to [define array arrayname]

but if you have the data within Pd before saving, can't you just save it
in a format that allows resizing?
e.g. using [soundfiler] and write it into a floating-point soundfile.
this will:
- allow for efficient resizing on read
- use a much more space efficient format for storage (and thus be faster)
- use a format for storage that requires way less translation (and thus
be faster)
- have more resolution

[array]s understand any access method knwon from [table]s...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150713/ef46bc15/attachment-0001.sig>

More information about the Pd-list mailing list