Etc.audio_in

There is a little more info about the sampling rate and 100 point array here:

Basically it is updated 36.75 times a second in the background. Position 99 would be the most recent.

To check for threshold you could do a for loop, it might not slow down too much. But there is also the etc.audio_trig flag that gets set when audio exceeds a threshold, might be useful. The threshold is hard coded at around 80% full volume.