Getting an error with this AE script, importing MIDI data to AE as a comp
Ok so the scripts I'm using here are not mine and I want to make them work.
I've exported MIDI data to a .jsx file using the following program:
Using this Terminal command:
This generated an output in Terminal like this:
And created a MIDIdata.jsx file which I then opened and pasted it's content into the code below where it says to paste mididata.
After going to File > Scripts > Run Script File and ran the MIDI_to_AE.jsx file (which has the code below) and it gives me this error.
I can get this to work for a small MIDI piece with 2 channels but for an 8 minute long piece, it throws an error.
Here's the MIDI_to_AE.jsx file's code (with the extracted MIDI .jsx data too).
Basically I'm trying to create a piano roll with falling notes from top to bottom by reading the MIDI data.
If there's a better solution, or any advice on code changes to the script below would be much appreciated.