wildcards in patchbay definitions

Forums

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?

Permalink

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

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.
CAPTCHA
Enter the characters shown in the image.