I want to animate a character to play a drumkit, from a MIDI file. The addon Animation Nodes may help to do the thing. But there are tutorials for piano, and mostly rotating the piano keys, by assigning numbers to the keys as names related to MIDI signals. Use the same concept I can assign the MIDI signals to each part of the drumkit.
Now I want to make 2 drumsticks (held by the character) hit the drums and cymbals according to the MIDI file. For instance I set the snare drum by 40, one drumstick is 192 and another is 168. How to make 192 and 168 meet 40 along the length of the MIDI file (the song) when activated?