Create Music-driven Animations With This Free Add-On

This add-on by Ryo Suke converts midi information to keyframes, permitting you to drive animations of devices, like keyboards or launchpads.

Formally releasing my plugin at this time “MIDI to Keyframes” ? You’ll be able to obtain it on GitHub. Ought to be up on Blender Extensions quickly as soon as they approve #b3d

Ryo (@whoisryosuke.bsky.social) 2024-10-03T22:21:54.209Z

How you can use

Open up the aspect panel labeled “MIDI Importer”, it is accessible within the 3D viewport within the n-panel (the fitting aspect panel that is normally collapsed).

  1. Choose a MIDI file you’d wish to import.
  2. Assign 3D objects to piano keys.
  3. Click on the button labeled “Generate Keyframes”

Not pleased with the animation? You’ll be able to undo the keyframes (CTRL/CMD + Z). Cannot undo? Attempt the “Delete All Keyframes” button, it should delete all keyframes on any chosen word object.

Ideas

Auto Assigning Keys

The plugin can mechanically assign piano keys in the event you create a group with objects with the word letter appended to the top.

For instance, you’d identify your objects one thing like:

  • ObjectName.C maps to the C piano key
  • yourobject.F# maps to the F# piano key
  • Then you possibly can choose the gathering and press the “Auto-Assign Keys” button.

Visualizing the MIDI Observe

I would suggest downloading Audacity to visualise the MIDI tracks and see what the word charts seem like earlier than you import them into Blender.

FPS and Music Timing

When creating the animation keyframes, we use the present scene’s body price to calculate the music time. In the event you change the body price after producing keyframes, it’s best to re-generate keyframes to make sure the timing is appropriate.