@lapras53 said:
Could I use a -resize flag in combination with the readtab4~ command in order to automatically resize the array table that the sound file is read to?
That's exactly right.
You haven't posted any code yet have you? You might need to do that if you you're still struggling to meet a Monday 11th deadline. I should be around this weekend mostly.
Possibly study the use of a message like
[1, 44100000 1000000]
|
[vline~]
(that's digit ONE, a comma, and 44100000 and 1000000, no commas)
don't worry that Pd immediately converts these to SI notation.
which is a catch all ramp generator. It says to vline~ start ramping up at a rate of
44100 every 1000 milliseconds.. for a long long time.
This solves most sample playback scenarios where you know only the sample rate but not the length of each file beforehand.