<div dir="ltr">you can try the [mediasettings] lib from iem which allow you to choose midi driver from patch<div><br></div><div>or you can also directly send message to pd to setup midi port</div><div>use : </div><div>[receive pd]</div>


<div>|</div><div>[print pd]</div><div>while changing midi settings to monitor what messages you should sent to select OSS MIDI</div><div><br></div><div>remember [loadbang] could happen *before* midi and audio settings when pd is launched with -nogui option</div>


<div>so if you use a loadbang to change midi settings, you should also have a [delay] just before choosing midi settings to let pd load the driver</div><div><br></div><div>moreover, concerning Raspbian, Pd and MIDI, I made a little patch that plugs all ALSA MIDI input device to all output devices (avoiding feedback loop)</div>

<div>it's here : <a href="https://github.com/avilleret/krapps_remote/blob/master/krapps_remote.pd">https://github.com/avilleret/krapps_remote/blob/master/krapps_remote.pd</a></div><div>It's alsa but it's works on Raspbian (but not tested with NanoKontrol)</div>

<div>the patch also maps each keyboard key to a MIDI message</div><div><br></div><div>+</div><div>a</div><div><br></div><div><br></div>
</div><div class="gmail_extra"><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>
<br><br><div class="gmail_quote">2014-06-09 20:30 GMT+02:00 Joe Newlin via Pd-list <span dir="ltr"><<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'm trying to use a NanoKontrol on Raspbian. It works fine if select OSS-MIDI from the menu, but I'm hoping to boot up headless & this is the last hurdle (I think). It's defaulting to ALSA-MIDI for me (with and without arguments). If you're confused ... :(<br>


<br>
Thanks,<br>
<br>
Joe<br>
<div class="HOEnZb"><div class="h5"><br>
> On Jun 9, 2014, at 9:54 AM, Miller Puckette <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br>
><br>
> Well, I'm apparently very confused.  When I run Pd with no settings or<br>
> arguments, I get OSS MIDI.  So I don't know why in that post I claimed<br>
> that 'ALSA midi' was Pd's default.<br>
><br>
> I looked in the pdsettings and found that 'ALSA MIDI' doesn't even get<br>
> saved in that file - so the ALSA MIDI setting gets forgotten.  So the only<br>
> way to get 'ALSA MIDI' is to specify it on the command line.<br>
><br>
> cheers<br>
> Miller<br>
><br>
>> On Sun, Jun 08, 2014 at 07:35:01PM -0700, Joe Newlin via Pd-list wrote:<br>
>> Hi,<br>
>><br>
>> This thread is so close to being useful to me:<br>
>><br>
>> <a href="http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html</a><br>
>><br>
>> Miller or anyone who knows the answer, can you please tell me what the<br>
>> "this"is that you put in the .pdsettings file? As in, the precise syntax?<br>
>><br>
>> Thanks,<br>
>><br>
>> Joe<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" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><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" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>