I am undertaking some statistical research into a set of musical scores (midi files - which contain 4 midi channels). For the research I would like to determine the mean note/frequency of each of the scores, but also take into account the note duration and velocity (for example if a note is longer and louder it will have a greater influence on the resultant mean).
I have only been using max for a short bit and am certainly not a pro. I was wondering if someone might be able to give me some advice on how I might be able to build a patch which would be able to perform this analysis...or let me know if there is an existing piece of software/patch which already exists.
Hope I have explained this alright.
Thanks a bunch in advance,