I am new to processing (so pelase bear with me) and I am trying to use the minim audio library to record an audio sample 500mS long. But in all the audio recording samples i have seen , the getLineIn() function is used, this funciton seems to keep overwriting the buffer as the samples fill up. I want something like a one shot recording , after which i can access the values in the buffer array to do some visualizations.
Can anyone point me towards a way to do it in minim ? Or are there other libraries that could accomplish this ?