Made with AE CS5, Trapcode Particlar v2, Lux.
MIDI data are extracted with JavaSound API to create an AE script
Music: a sample of Ludivico Einaudi - Divinere, arranged in FL Studio
I share the program to convert, but i don’t give the source code because it is really a mess.
It requires Java, works on PC and i guess on Mac as well. Let me know if it doesn’t.
Contact : email@example.com
Executed with a midifile (*.mid) in parameter, it provides a file called MIDIdata.jsx which contains bpm, duration, channels used, and four 2D arrays filled with midi messages. The first index of those arrays correspond to the channel. The second to one single midi message of this channel.
Those arrays are :
Times : time in sec
OnOff : 1=On 0=Off Note : Sometimes all value is 1 (On). In this case, it’s velocity that give On/Off information (if velocity == 0 it’s Off else it’s On)
Velocities : from 0 to 100
Tones : 60 is middle C, 61 is C# 62 is D …
To launch the program, type in a CMD terminal
>> cd file path
>> java –jar midi2jsx.jar midifile.mid
It shall generate a file called MIDIdata.jsx in the same folder as your midi file.
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?