<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[crashes when unplugging USB MIDI]]></title><description><![CDATA[<p>This is new, I believe. At least, I've never encountered it before, and I'm sure I've hot-swapped in the past.</p>
<p>So: in PD 0.54.1, if I unplug the USB MIDI device (ie, tested both Korg nanoKontrol2 and nanoPad2), PD just up and quits. I don't need to be monitoring anything (like with [ctlin]) though the device needs to be one of my input/output devices.</p>
<p>I'm running up-to-date Arch Linux, kernel 6.7.1. Anyone else? Just me? Bug report, or is there a bug in my brain?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 16:06:02 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14582.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jan 2024 23:56:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Sat, 27 Jan 2024 23:56:40 GMT]]></title><description><![CDATA[<p>This is new, I believe. At least, I've never encountered it before, and I'm sure I've hot-swapped in the past.</p>
<p>So: in PD 0.54.1, if I unplug the USB MIDI device (ie, tested both Korg nanoKontrol2 and nanoPad2), PD just up and quits. I don't need to be monitoring anything (like with [ctlin]) though the device needs to be one of my input/output devices.</p>
<p>I'm running up-to-date Arch Linux, kernel 6.7.1. Anyone else? Just me? Bug report, or is there a bug in my brain?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi</guid><dc:creator><![CDATA[Load074]]></dc:creator><pubDate>Sat, 27 Jan 2024 23:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Sun, 28 Jan 2024 10:41:02 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/load074">@Load074</a> No problems here, tried multiple devices and multiple ways and can not get hot swapping midi devices to kill pd on Slackware current (pretty much rolling release like arch) with a self compiled pd. I am going to guess it has something to do with how you manage your midi connections at the software level, what midi driver and what software do you use for the connections? Simple test would be to take as much out of the chain as possible, use alsa midi and make the connection in a terminal with aconnect assuming you are not already doing that.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/2</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Sun, 28 Jan 2024 10:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Sun, 28 Jan 2024 19:15:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> thanks for checking your system. It's probably an Arch-thing or, more likely, a me-thing then.</p>
<p>I haven't changed anything about my setup, and I've used this Arch &amp; PD installation for at least two years now. I use Jack for audio and MIDI, and usually use PD itself to make the connections (although to be honest - and this is a question I've had for ages now - I'm confused about PD MIDI connections / ALSA MIDI / Jack MIDI, and how sometimes I can make all choices in PD, and sometimes (depending on the PD version?) I have to use Jack).<img src="/uploads/files/1706469260904-screenshot_2024-01-28_10-51-57.png" alt="Screenshot_2024-01-28_10-51-57.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/3</guid><dc:creator><![CDATA[Load074]]></dc:creator><pubDate>Sun, 28 Jan 2024 19:15:24 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Mon, 26 Feb 2024 16:02:29 GMT]]></title><description><![CDATA[<p>OK... one crash-during-performance later, I'm looking more closely into this.</p>
<p>If I have the USB device set to &quot;Output Device&quot; as well as &quot;Input Device,&quot; and unplug it while PD is running, PD will crash. If, however, the device is only &quot;Input Device&quot; and not an &quot;Output Device,&quot; unplugging it is no problem.</p>
<p>Also, if I have PD set to &quot;MIDI Through-Port [0,1,2,3...]&quot; (instead of looking directly to the device) and make the nanoKONTROL2 -&gt; MIDI Through-Port in, ie, qjackctl, then I can unplug without a crash.</p>
<p>So! Maybe I should file a bug report? Or maybe someone else who has an input + output USB MIDI device and is running PD on Linux (or, who knows? any platform?) wants to try this out and see if it's just me?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/4</guid><dc:creator><![CDATA[Load074]]></dc:creator><pubDate>Mon, 26 Feb 2024 16:02:29 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Tue, 23 Apr 2024 17:37:47 GMT]]></title><description><![CDATA[<p>I like to use a virtual port to connect my hardware (in windows or wine MIDI-OX), that way I can stop and start/close reopen it if I need to unplug it physically without having to interrupt any audio software running</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/5</guid><dc:creator><![CDATA[fishcrystals]]></dc:creator><pubDate>Tue, 23 Apr 2024 17:37:47 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Tue, 23 Apr 2024 19:35:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/fishcrystals">@fishcrystals</a> yeah, that's what I ended up doing as well. Mind you... AFTER learning the hard way on &quot;stage&quot; (ok, I don't usually get a <em>literal</em> stage to play on).</p>
<p>I'm still not sure why different PDs over the years have given me different options for MIDI connections (it's partially a Linux issue as well), but now I've been using the software Jack ports, then making the connections to the hardware in Jack, and everything has been predictable and reliable.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/6</guid><dc:creator><![CDATA[Load074]]></dc:creator><pubDate>Tue, 23 Apr 2024 19:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to crashes when unplugging USB MIDI on Tue, 23 Apr 2024 22:13:45 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/load074">@Load074</a> PD uses different libraries for audio and midi based on how its compiled and what OS its talking to .. so in linux I bet there's a difference between alsa, jack, or legacy and id guess that over time thats changed when libraries either continue to get updated or not</p>
<p>back in the glory days of Windows XP if you unplugged a live usb midi it would not only crash out your software, possibly need a reboot, it could show up like an entirely different device and everything had to be set up all over again.. doubt anyone has tried it but vanilla is still being built for XP</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14582/crashes-when-unplugging-usb-midi/7</guid><dc:creator><![CDATA[fishcrystals]]></dc:creator><pubDate>Tue, 23 Apr 2024 22:13:45 GMT</pubDate></item></channel></rss>