If Pd uses Portmidi <http://portmedia.sourceforge.net/portmidi/> on Linux, then it should be pretty easy to list the available ports. It’s no so hard with ALSA itself either. Check the RtMidi <http://www.music.mcgill.ca/~gary/rtmidi/> ALSA implementation inside RtMidi.cpp. I’ve used that in the past as a reference, although it’s a little hairy to pick apart, it’s at least a good working example beyond the ALSA documentation.
-------- Dan Wilcox @danomatika <https://twitter.com/danomatika> danomatika.com <http://danomatika.com/> robotcowboy.com <http://robotcowboy.com/> > On Apr 21, 2016, at 9:28 AM, [email protected] wrote: > > From: Miller Puckette <[email protected] <mailto:[email protected]>> > Subject: Re: [PD] time travelling with AKM320 and Pd > Date: April 21, 2016 at 9:09:58 AM MDT > To: Jonathan Wilkes <[email protected] <mailto:[email protected]>> > Cc: "[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>>, IOhannes m zmoelnig > <[email protected] <mailto:[email protected]>> > > > I don't know of any reason this can't be done. The main alsa api limitation > that has stopped me is: Not Worth the Hassle. That, however, is subjective - > if you indeed want to attack it I'll be glad to see it (and perhaps even > borrow it into vanilla if you're game).
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
