-
Best way to replicate this custom MIDI visualiser?
I’m looking to build something like this for myself which visualises MIDI data for a piano:
https://www.youtube.com/watch?v=4y33h81phKU
I’m new to After Effects but know a bit of Javascript as a web developer. I’ve gotten this far (which a heck tonne of loose planning and coding):
So far I’ve done the following:
– Created a background graphic with piano keys laid out on it.
– Created separate .ai file with piano keys in blue (for left hand). This file is imported into my project as a Comp called Bass Clef with Footage Dimensions as Layer Size.
– Created separate .ai file with piano keys in pink (for right hand) same as the blue one. Named Comp Treble Clef.
– Split the MIDI file into Bass Clef and Treble Clef, imported the MIDI data into each Bass and Treble comp.Each of the Bass and Treble Clef has this expression per layer from the .ai files:
The expression isn’t doing a good job because it can’t work out chords from the MIDI layer. It only picks the value of the Slider Control. This is how the render came out with the expressions per layer above (notice how the chords aren’t being shown but only the peak value per Bass and Clef comps).
https://www.youtube.com/watch?v=S9vpuVJTKaE
How can I correct this and can I clean up the code for the layers so there’s only one or two places to control all the functions from?
Here’s the chord data in dots but the values are always the peak values at that time:
Also, how do I go about creating the falling notes with the little flashing sparks and particles coming off as sprinkles like in the video above?
Any help would be more than appreciated!
Thanks.
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.


