I am trying to collect the 12 loudest tones from a live input in one minute and output them as one midi chord. Which would be the best way to do that... Lists, arrays? This is as far as I got:
Loudest tones to one chord
Turns out the above patch is wrong as it chooses the highest notes, an not the loudest. This corrected patch should do it as you intended hopefully.
Keep in mind that by doing it this way, if the loudest 12 notes are the same, the patch will play a chord of 12 identical notes.