Patches item #1060511, was opened at 2004-11-04 12:18 Message generated for change (Comment added) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1060511...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None Status: Closed Resolution: Accepted Priority: 5 Submitted By: Pablo MartÃn (caedesv) Assigned to: Nobody/Anonymous (nobody) Summary: patch for native alsa sequencer midi support
Initial Comment: The patch allows pd to be connected to different sources and sinks of midi messages through the alsa sequencer natively. It lets pd open 1 or more sequencer inputs or outputs. Alsa midi support is selected at compile time, if alsa headers are found alsa midi support will be compiled instead of oss. All midi events work ok, i think probably raw midi does not.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2005-07-16 15:18
Message: Logged In: YES user_id=313747
Hmm, I can't find Guenter's fix... did it really get uploaded?
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2005-07-16 13:46
Message: Logged In: YES user_id=564396
seems to have made it into pd-0.39
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2005-07-11 09:56
Message: Logged In: YES user_id=564396
implemented a first version of runtime switching between OSS-midi and ALSA-midi. i haven't made all the various APIs switchable (as is with audio), because it deemed me too much work...
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2005-07-11 08:00
Message: Logged In: YES user_id=564396
replaced s_midi_alsa.c with steve's version; this allows more than 1 MIDI output-port (or device) (read: more than 16 channels) and fixes [midiout]
----------------------------------------------------------------------
Comment By: steve (steve94075) Date: 2005-06-27 22:46
Message: Logged In: YES user_id=1271013
i did a little tweaking of this patch and right now it works on all 8 ports of my midisport8x8, plus sys_putmidibyte is implemented, so [midiout] actually triggers midi instead of an error message. it's a bit of a hack job, but it works great for me (and hopefully you as well).
my modified version of s_midi_alsa.c can be found at http://finkla.com/steve/s_midi_alsa.c if anyone with power to update the files here on sourceforge cares to, please do, but in any case that link should stay alive for quite a while.
-steve
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette) Date: 2005-05-17 21:45
Message: Logged In: YES user_id=313747
I didn't look closely, but I think to do this right would require actually giving a run-time choice between ALSA and OSS MIDI systems. A big job.
----------------------------------------------------------------------
Comment By: Guenter Geiger (ggeiger) Date: 2005-05-02 02:16
Message: Logged In: YES user_id=430561
Here is the patch and s_midi_alsa.c file as I use it in the Debian package currently. It seems that the author of the patch does not have to time to update it, or probably he just isn't aware of problems, so take it with a grain of salt. Also we have to check for the multiple devices problem steve.long mentions.
Guenter
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2005-05-01 14:14
Message: Logged In: NO
apparently [notein] for channels above 16 works as expected, 17-32 coming from the second device and so on, but [noteout] only sends to the first device, chans 17-32 send to device 1 just like 1-16, as do 33-48, etc.
steve.long@camp.org
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2005-02-25 09:46
Message: Logged In: YES user_id=564396
this crashes my system if i don't have an alsa-sequencer (e.g. no modules loaded)
----------------------------------------------------------------------
Comment By: Guenter Geiger (ggeiger) Date: 2004-11-12 01:55
Message: Logged In: YES user_id=430561
there is a bug when no alsa devices are present (or if they can't be opened). Attached addon patch fixes the problem.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1060511...