<div dir="ltr"><div>Great, thank you Roman ! I will try this flag tonight.<br><br></div>Pierre.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-09 9:53 GMT+02:00 Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
><br>
><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>
</span>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 class="HOEnZb"><font color="#888888"><br>
Roman<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>