<div dir="ltr"><div><div><div>Thank you Peter, I will try your suggestions as well.<br></div>It would indeed be very nice if we could connect to devices by name !<br><br></div>Cheers,<br><br></div>Pierre.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-09 16:24 GMT+02:00 Peter P. <span dir="ltr"><<a href="mailto:peterparker@fastmail.com" target="_blank">peterparker@fastmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Roman Haefeli <<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>> [2015-07-09 03:54]:<br>
<span class="">> On Thu, 2015-07-09 at 09:22 +0200, Pierre Massat wrote:<br>
><br>
><br>
> > The problem lies with Pd now, in the sense that the midi port is not<br>
> > open by default, and I have to manually open it every time I start<br>
> > Pd.<br>
</span>I posted similar questions to this list a few weeks ago, and IOhannes<br>
also pointed me towards an external object for pd, saying<br>
"the "mediasettings" library provides a [midisettings] object that<br>
allows you to query and set the midi devices."<br>
<br>
Without jack I also use aconnect to connect alsa midi ports (although I<br>
wished this could be handled by device name, not id number, from within<br>
pd vanilla). There is an [aconnect] external as well.<br>
<span class=""><br>
> > So I was wondering if there was a way to open the port by default at<br>
> > startup. Perhaps with a startup flag ?<br>
><br>
> pd -alsamidi -mididev 1<br>
><br>
> If you need more ports, specify more numbers to -mididev:<br>
><br>
> pd -alsamidi -mididev 1,2,3<br>
><br>
> BTW. there is also a menu entry "File" -> "Preferences" -> "Save all<br>
> settings", which is supposed to write all current settings to a file (on<br>
> Linux: ~/.pdsettings). It seems it saves the settings correctly, but pd<br>
> doesn't create any ports when started without any cmd options. Maybe<br>
> this is a bug?<br>
</span>It feels like one, but I have learned to accept it as a given thing. So,<br>
whenever you want midi, also specify the -mididev along with it.<br>
<br>
It would be so cool to have pd connect to alsa devices by name as well<br>
as by alsa index number. (2 cents)<br>
<br>
best, P<br>
</blockquote></div><br></div>