You are here

wildcards in patchbay definitions


when using jackmidi with a2jmidid, the names of midi controllers contain a number enclosed in square brackets which changes when using a different usb port or plugging devices in a different order. This leads to the patchbay not autoconnecting. Is there a way to use wildcards in the device name to circumvent this problem or are there any other means to get this working?

rncbc's picture


yes, i know it's tricky, but yes you can try with regular expressions (regex) -- not quite the same as simpler wildcards, but way more powerful -- just take note that you may well have to escape with the backslash character ("\") just because brackets and parentesis are significant on the regex scenario ;)


Add new comment