I found a way to get sound into an array without setting the size manually in before. I looked for it on here before and couldnt find anything so i thought i'd share.
The trick is to send the sound into a delay line and have a counter increase the time of the delay in realtime, so the signal is held up in the delayline. when the recording is stopped the array is reset to the current value of the counter and the audio is played back into it. I tried to explain it in this patch.record_array_example.pd
hope it helps, have a wonderful day.