You are here

wildcards in patchbay definitions

Hi,

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?

Forums: 
rncbc's picture

hi

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 ;)

hth.
cheers

Add new comment