hi,
I am new to minim and this problem. But this is my idea.
get reads the current buffer.
This buffer is probably filled differently always since all computers and system situations are different (especially under Win).
I wouldn't suggest average.
I would more expect that the values are always the same, but in different places (for get and for i) because of the different filling of the buffer
Thus I would suggest to read out the whole song and store it in an array.
run the song again and compare it to the array. I bet the values are the same (but match get and i differently)
for your graphic then use the array.
Greetings, Chrisir