Page 1 of 1

midi motion?

Posted: Thu Apr 06, 2006 11:59 pm
by AlanPS
I have no scripting skill, but I was wondering if anyone has thought of or made a script that allows switch layers to be controlled by midi note-triggers similar to a package I believe is called Midi Motion for 3d animation.
This would really be cool for those of us wanting to do music videos or syncing animation to music more effectively.

Posted: Fri Apr 07, 2006 1:59 am
by myles
It might be easier to use something like midi2abc to convert the MIDI to a text file, then convert the text file to a Switch data file.

midi2abc binaries (Mac/Win/Linux): http://abcplus.sourceforge.net/#abcMIDI

abcMIDI Source forge page: http://abc.sourceforge.net/abcMIDI/

Possibly using the -midigram option to get timing: "a list of all notes in the
MIDI file are printed in a fixed format. Each line represents
a pair of MIDI note on/off event. The line contains the
on/off time of the note, its track number, channel number,
midi pitch and midi velocity. "

Regards, Myles.

whoa!

Posted: Fri Apr 07, 2006 2:28 am
by AlanPS
gosh myles,
looks like you are another one of those recipients of that revolutionary brain compression technology- they take a whole bunch of knowledge and compress it into a normal size brain and then stick it into a normal person's head (some people are unwilling recipients, others are voluntary). Man!

Well, pretty much all you said was way over my head. I did download a whole bunch of stuff from those links but it sounds pretty complicated. I use Cakewalk Home Studio, which can export into different forms of midi. Any suggestions there?

Posted: Fri Apr 07, 2006 4:18 am
by myles
Hi Alan,

you'd still need to write a script to create the Moho switch data.

However, writing a script to decode a binary MIDI file is probably hard work, except for 7feet/Brian.
Writing a script to read a text file, where each line represents details about a single musical note (including timing), is probably a lot easier.

The midi2abc file included in the abcMIDI set of programs enables you to convert a MIDI file into a text file.

Step 1: Run midi2abc - MIDI file in, text file out.
Step 2: Run your hypothetical script - text file in, switch data file out.

I just thought I'd make the task seem a little easier for any volunteer scripters.

Unless you are talking about using real-time triggers from a MIDI keyboard - which sounds like extra hard work.

Regards, Myles.

Re: midi motion?

Posted: Tue Dec 02, 2008 7:19 pm
by donsandwhich
AlanPS wrote:I have no scripting skill, but I was wondering if anyone has thought of or made a script that allows switch layers to be controlled by midi note-triggers similar to a package I believe is called Midi Motion for 3d animation.
This would really be cool for those of us wanting to do music videos or syncing animation to music more effectively.
I agree and have been hoping for the same thing. I'm hoping to find a way to bridge bone movements with midi CC#. I've been warping pictures with the bones and this could be a cheap way to make psychedelic visuals for a performance.

Posted: Wed Dec 03, 2008 9:30 am
by funksmaname
they take a whole bunch of knowledge and compress it into a normal size brain
have you SEEN myles? his head is the size of a watermelon! :lol: