07.25.07
snake byte and hack
Since building a surround sound panner using FlashMidi some years ago, I’ve been looking for an app to let me use midi hardware from swf files compiled with ming - a fruitless search. - FlashMidi needs compiling with mx04 and as far as i can tell, only lets you use one midi device at a time. VFlight.control is a nice idea using sockets to read midi-input, but only lets you use one midi device at a time. I did come accross NthEvent, but have had no luck using it, so, no midi for ming compiled swf files then … until …
… I recently installed Python (again) and got hold of PyPortMidi, which is excellent, and just the job - after a couple of days hacking around with some example files, I now have a running (if buggy) piece of middle-ware that translates from midi hardware to xml sockets, and the other way aswell, meaning that I can finally start to access all midi inputs and outputs on the locahost, at the same time - with reasonable accuracy.
So what?
Okay, so using http for midi messages is a little inefficient and udp packets would be much slicker, but the net result of this fiddling means I can now build a swf representation of a virtual midi device using ming, and actually have it interact with my midi hardware - custom midi controllers here we come (the surround panner used a pen/tablet as mouse, and swf as environment controlling mixer software via midi resulting in a 8 speaker surround mix where each channel could be positioned in space by dragging the pen, for example)
maybe eventually, I’ll release a exe for this, but thats a whole other adventure
[update : it speaks too !!]