Buenas guenter geiger, el 04 de nov de 2004, a las 01:07 escribiste:
On Thu, 4 Nov 2004, Pablo wrote:
Here is a patch for pd that gives native alsa sequencer support for routing midi messages. It is the working version i have, and it chooses between alsa or oss at compile time, the code seemed prepared for such a thing, but i'm thinking it might be better to let the user choose at execution as with audio.
As i can take some time to think about a way to do it differently here is the initial 'unofficial' patch for people who can benefit from it and test it.
Hi, thanks for the patch. I just tried it out. Hooked up seq24 to pd. Its really easy to use. Works very well for basic midi messages.
what do you mean with basic messages? I already fixed all the kinds of messages, so it should run smoothly with all midi objects (if i'm not forgetting anything important, well, maybe raw midi is still not working)
you should apply the patch to a fresh cvs checkout with patch -p1 < pd_alsa_midi.patch (execute that from the main dir of the checkout)
i had some problems with configure script that led to stupid compile errors. it seems my final makefile was missing -DUNIX and -DUNISTD in MORECFLAGS variable. as this problems have nothing to do with my patch they are not corrected in the diff, so beware if you try to compile.
yes, this is really a bit of a problem. The build system is extremely messy. Also, the version in CVS is not the same as test8.
I applied it to test8 too, but there are some additional changes in u_main.tk which make this a bit problematic.
Hope we can sort all of this out afer ICMC.
Guenter
i originally programmed the patch for test8, if i'm not wrong, so i can also make a patch for it if you think it'd be useful.
pablo