Midi importer is a script that allow to synchronize blender events with
musical events contained in a midi file.
WHAT DOES THIS SCRIPT DO ?
When launched, this script open a file selector through which you can
choose the midi file you want to synchronise your animation with.Then,
- It load a midi file,
- create an ipo for each different sound used in the drums
part (channel 10),
- fill in these IPO with NOTE ON and NOTE OFF midi
event encountered on drums tracks until the last frame of your
animation
Events are created into IPO named "
IPONoteXX"
where
XX
is the note number.
Synchronisation operates with respect to the
frame/sec
parameter of your animation but tempo changes are not yet taken into
account.
HOW TO INSTALL THIS SCRIPT ?
Copy
midi_import.py
file into the "
.blender/scripts" directory of
your Blender installation.
In a Script window, go to the "
Script"
menu entry and perform an "
Update
Script"
Now, still in a Script window, go to Menu "
Script->Import".
You should see a "Midi File (.mid)..." entry.
HOW TO USE THIS SCRIPT ?
If script is not installed:
- Open a Text Editor Window
- In Text Editor Window, open the midi_import script
- Run the script (Alt-P)
Otherwise, just use menu
File->Import->Midi
File (.mid)
Once the script is started:
- Choose the midi file you want to synchronize your animation
with
- click on Import
MID
Affect newly created IPOs to objects you want to animate.
HOW TO CHANGE CURVES AFFECTATIONS ?
Edit the midi_import.py script ... find the line
tabNomCurve=["LocZ",
"SizeX"]
just below the licence .. and change values
HOW DO I USE THE DEMO FILE ?
Load
demo_mid.blend
Import the midi file
demo.mid
(
Alt-P
on the Text Editor in the top right window)
For each cube, select it
RMB-click
on it and in the IPO window, give it an ipo
amongst
IpoNote36,
IpoNote54
and
IpoNote38.
Play the generated Animation (Press
Alt-A with
mouse over a 3D View)
WHERE CAN I FIND MIDI FILE ?
The most reliable midi search engine I know is:
http://www.musicrobot.com/
ANYTHING ELSE ?
midi_import is released under GPL.
Read the
LICENCE file
or visit:
http://www.gnu.org/copyleft/gpl.html
Futur releases will be made available on:
http://perso.wanadoo.fr/jb.perin/
Bug report, evolution requirements, remarks and comments can be posted
here:
http://www.zoo-logique.org/3D.Blender/newsportal/post.php?newsgroups=3D.Blender&type=new
Put [Midi_importer] at the beginning of the "Sujet:" field