[PD-dev] improved alsa sequencer midi support
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Oct 5 14:43:46 CEST 2005
>
> attached is an improved version of the alsa-sequencer
> support, that automatically connects each available device
> to/from pd.
> (note: currently it only connects if pd opens just 1 port)
> this eliminates the need for "external" helpers, like the
> [aconnect]-external, aconnect, aconnectgui or qjackctl
i talked to various people (e.g. fernando (of CCRMA fame) at the ICMC)
and all of them agreed that it is a bad thing, that pd doesn't work out
of the box with already connected alsa-sequencer devices.
so i have added this autoconnector, which tries to connect all available
midi-sources to the pd-in and all pd-out to all available midi-destinations.
i have done it in such way, that the autoconnection only takes place
when there is just 1 port (input and output are handled separately; so
if you have 2 midi-in ports and 1 midi-out port, pd will automatically
send to all midi-destinations it finds; in this case, the midi-in still
has to be manually connected)
currently there is no real way, how to turn that feature off (apart from
requesting multiple ports, so no autoconnection takes place)
i hope this is ok.
>
> furthermore i found and fixed some, namely reverting the
> number of in and out devices.
requesting 3 midi-in devices resulted in opening 3 midi source-ports
(which are really midi-outs)
the patch can be found at
https://sourceforge.net/tracker/index.php?func=detail&aid=1060511&group_id=55736&atid=478072
(i just re-opened the old thread for natice alsa sequencer support)
mfg.ad.r
IOhannes
More information about the Pd-dev
mailing list