The patchbay really comes into its own when you use regexps in the rules.
Example: In rosegarden one can name inputs and outputs but cannot define the output number yourself, which can come back to haunt you especially when you have multiple rosegarden files you want connecting in the same manner. A number of other applications have similar quirks.
Perhaps one case gives you
out 1 - Roland D10
out 2 - Alesis DM5
and another gives
out 3 - Alesis DM5
out 4 - Roland D10
Using Perl style regexps (all the metasymbols seem to work) the following pair of regexps will always match the above names regardless of number
out \d* - Alesis DM5$
out \d* - Roland D10$
See http://www.cs.tut.fi/~jkorpela/perl/regexp.html if you need a translation of perl's extensive regexp capabilities
Copyright (C) 2006-2024 rncbc aka Rui Nuno Capela. All rights reserved.
Powered by Drupal
Recent comments
9 hours 2 min ago
9 hours 34 min ago
12 hours 37 min ago
8 hours 59 min ago
20 hours 39 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 6 hours ago
14 hours 50 min ago