Pattern matching
It is possible to control a set of addresses with pattern matching.
For instance, given the following OSC device:
It is possible to send an automation to
OSCdevice:/sub/*/level
to control all the levels with a single curve.
The complete reference of the supported pattern matching syntax is available here.
Examples
device:/foo/bar
- Matches
device:/foo/bar
and nothing else
- Matches
device:/foo/bar*
- Matches
device:/foo/bar
,device:/foo/bar.100
,device:/foo/baron
- Matches
device:/{foo,boo}/bar
- Matches
device:/foo/bar
,device:/boo/bar
- Matches
device:/foo.{5..23}
- Matches
device:/foo.5
,device:/foo.6
, … todevice:/foo.23
- Won’t match
device:/foo.230
- Matches
device:/foo.{5..23..7}
- Matches
device:/foo.5
,device:/foo.12
,foo.17
- Matches
device:/foo[a-z]
- Matches
device:/fooa
,device:/foob
, …device:/fooz
- Matches
device:/foo[1-5]
- Matches
device:/foo1
,device:/foo2
, …device:/foo5
- Matches
device://bar
- Matches
device:/foo/bar
,device:/foo/bar.123/bar
, etc.
- Matches
device://bob/../foo
- Given
device:/foo/bob
anddevice:/foo/bar.123/bob
, matchesdevice:/foo
- Given
device:/foo!
- Matches
device:/foo
,device:/foo.1
,device:/foo.123
,device:/foo.bob
- Matches