Hi, 

as it is defined in Pd's source, on line 98 of s_midi_alsa.c, the "Pure Data" name of Alsa Sequencer Client is fixed.
And it is the same for all instance of Pd.
As far I know there is no way to change a client name from another client (I tried to do so without success by modifying aconnect).

But maybe it could be a nice feature to be able to choose the Pure Data alsa sequencer client name.
For example with a string following the -alsamidi flag and/or in the midi settings dialog box.

Cheers

Antoine

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

2015-05-25 23:51 GMT+02:00 Peter P. <peterparker@fastmail.com>:
Dear Antoine,

* Antoine Villeret <antoine.villeret@gmail.com> [2015-05-25 17:37]:
> 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
Thank you. I did already looked at it as part of aconnect's
documentation, and am impressed by the Pd-object patchability.

As you say, it is not (yet) exactly what I am looking for, but sure is
interesting as well. Thanks for pointing me towards it.

In case someone started following this thread by now only, let me sum up:

I am still looking for a way how to have Pd connect to alsa midi devices
by their name, and without possible confusion with other Pd instances on
the same machine. This is on Linux.

best, P