MIDI nodes into Animation Nodes First step

To understand how to animate from a MIDI file, it can be useful to visually find the tracks and notes in those tracks. This is the purpose of this article. Here you can find the sample blend file :

https://github.com/Patochun/Samples/blob/main/MIDI-STD-GRID.blend

The Node tree is simple to use. Three nodes are usefull :

NodeUsage
Read MIDI FilePickup your own MIDI file
NoteCountNumber of notes you will see in X axis
LowerNoteFirst note (this is the same number for all tracks)

With NoteCount and LowerNote you have control of a window on the notes on the x axis. Tracks 0 to track n of your MIDI file are in the Y axis. Track 0 is the one at the bottom when viewed from above (7)

So from here you have a view of your MIDI music, tracks and notes used. You also have a model of using MIDI nodes using a loop.

Thank you for your attention and think of me when you create your first animation.

One of my last animation :

Animation Nodes with MIDI constitute an important part of this animation

2 thoughts on “MIDI nodes into Animation Nodes First step

  1. The midi of Animation Nodes is A HUGE disappointment to me.

    I tried to make a midi animation from a file that contained significant tempo changes.

    The Midi Nodes of Animation Nodes ARE NOT ABLE TO DEAL WITH THAT!

    For somebody like me, who wants to make animations from midi performing classical music, the Midi Nodes of Animation NodeS ARE COMPLETELY WORTHLESS!

    No SIGNIFICANT animations can be made with the Midi Nodes of Animation Nodes!

    The Midi Nodes of Animation Nodes CAN ONLY BE USED if the Midi File contains only a single tempo!

    I didn’t know this limitation of Animation Midi Nodes, when I made the following animations with Animation Midi Nodes:

    and

    My project to make animations with Animation Midi Nodes has now come to a grinding halt!

    I do not know yet how I shall proceed. There do not seem to exist ANY python libraries that can deal with tempi in Midi Files. So I am afraid that I am forced to solve this problem by my own programming skills.

    Like

Leave a Reply to DOZ - Patrick Mauger Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.