<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt">I'm trying to track down a bug in my preferences dialog code for midi.<br><br>In Pd Vanilla 0.43:<br>If I choose Media -&gt; Hardware-Midi it brings up a dialog<br><br>If I choose Media -&gt; Alsa-Midi it brings up a dialog<br><br>If I choose Media -&gt; Hardware-Midi, close the dialog, then choose<br>Media -&gt; Alsa-Midi I get insane device numbers in errors to the Pd console:<br>couldn't open MIDI input device 2054<br>couldn't open MIDI output device 1836017711<br>opened 0 MIDI input device(s) and 0 MIDI output device(s).<br><br>I suppose to be on the safe side, for both audio and midi I should not assume that devices will be numbered contiguously from 0-n.&nbsp; Still, these weird device numbers will probably cause errors.<br><br>Unfortunately I don't have a midi device so I can't test it.<br><br>-Jonathan<br></div></body></html>