hi,

here is a patch that automatically connects all alsa midi input devices to
puredata alsamidi input
and the puredata output to all midi output devices
it uses zexy's llist2symbol and symbol2list to replace space in device name
with "_"

it's not exactly what you need but could be a good start

cheers

a



--
do it yourself
http://antoine.villeret.free.fr

2015-05-22 21:50 GMT+02:00 Peter P. <peterpar...@fastmail.com>:

> Hi list,
>
> * Antoine Villeret <antoine.ville...@gmail.com> [2015-05-22 03:20]:
> > Hi,
> >
> > you can handle alsamidi connection with iem's (or should I write
> iohannes')
> > [aconnect] external.
> > you will need zexy to deal with space in alsa device name, and then yiu
> can
> > connect devices according to their name in a per-patch basis.
> Thanks for your help Antoine, and thanks IOhannes for writing aconnect.
> Do you, Antoine, happen to have an example of how to connect by device
> name instead of number? Do I pass the name to aconnect in the same
> message format than the numbered version?
>
> I am also wondering how aconnect can tell different instances of Pd
> apart. I fear it can not detect the instance of Pd that aconnect is part
> of when multiple Pd's are running. Does anyone have an oppinion on this?
>
> Thank you so much!
> P
>

Attachment: midiautoconnect.pd
Description: Binary data

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to