Short answer is "no."
Long answer is this functionality is missing in portaudio which Pd uses for it's default backend on most platforms. There is no way to rescan the connected devices within the library itself, although most of the OS-level components do (CoreAudio, ALSA, etc).
I have thought about implementing a direct CoreAudio backend for Pd on macOS which would add this support, but it's far down the list of things right now.
Best thing to do would be to bug the portaudio people...
On Jul 8, 2018, at 8:06 PM, pd-list-request@lists.iem.at wrote:
Date: Sun, 8 Jul 2018 20:43:42 +0300 From: Derek Holzer <macumbista@gmail.com mailto:macumbista@gmail.com> To: pd-list <PD-list@iem.at mailto:PD-list@iem.at> Subject: [PD] rescan audio devices Message-ID: <64831c1a-ea47-989f-12e0-71e638d71e8c@gmail.com mailto:64831c1a-ea47-989f-12e0-71e638d71e8c@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed
Dear list,
Is there a way to get Pd to rescan available audio devices (on OSX)?
For example, if I use my MOTU, then disconnect it (because I'm leaving studio and want to take laptop with me) but leave Pd open, then Pd does not see it when I plug it back in next time. Very inconvenient when I am in the middle of a project!
I checked --help but AFAIK there is no internal message there to rescan devices, unless --listdev does that. But Pd does not accept that as an internal message, only a startup flag.
Suggestions appreciated! Thx, Derek
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/