my goal is to play exact midi note in a certain frame, so i thought the only way is to use a midi in/out python library, and execute a certain python command line or script in the required keyframe, so from here my question becomes: is there any way to keyframe a python script? of course if there are any other easier ways for my goal, it would be better

  • $\begingroup$ There is currently no intuitive way to use Midi in Animation Nodes. But the the developer has done some testing of such system: youtube.com/watch?v=MhUS13dzF5A So there might be support of midi data in AN at some point. $\endgroup$ – Omar Emara Nov 22 '17 at 7:17

I don't know if you can do that, but you shouldn't need to. Try simply exporting the MIDI to a sound file, and using the Video Sequence Editor (I think) to align it with your animation.

|improve this answer|||||
  • $\begingroup$ i saw it implemented here on this video youtube.com/watch?v=LFUtjWTIOEM he says he used blender's game engine, but i have no clue how to start, as he gave no further explanations. and of course i considered the idea of saving it to a file and aligning it to video, but it doesn't suit my project $\endgroup$ – user8844 Nov 21 '17 at 22:17
  • $\begingroup$ Oh, like in real time? Interesting! Well, I have no idea how to do that. (: But if you want that, you shouldn't really need keyframes—you just need to have a MIDI note trigger an animation. $\endgroup$ – SilverWolf - Reinstate Monica Nov 21 '17 at 23:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.