-
amoselkana
How do I import a file that has just a list of numbers (say 5 9 6 2 into an array while resizing the array at the same time? Mind you this is not an audio file so soundfiler doesn't help here...
-
amoselkana
Thanks! this solution works like a charm. By the way, is there a way to achieve this in PD Vanilla?
-
amoselkana
@deerell the thing is that if you want to use the stored numbers for something you need to get them out of the array and so need someway of knowing when you've reached the last number. if your array is bigger then what is in the original file then the remainder sometimes returns zeros and sometimes returns the last number over and over...
-
amoselkana
Thanks for your quick response Maelstorm but you missed the point. I probably didn't explain myself well enough... What if the array that I am loading the file into is larger then the file? In that case I need to resize the array. I guess what i am trying to know is the size of the array while loading it. So
[;table_name read file_name( is not enough since it doesn't accept the -resize flag. Any ideas? -