mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-14 05:24:21 +00:00
add params info to processors that need them
This commit is contained in:
@@ -6,8 +6,10 @@ sidebar:
|
||||
The `osc.message.filter` module takes an OSC message and matches it against a configured [OSC address pattern](https://opensoundcontrol.stanford.edu/spec-1_0.html). When the message does not match the payload of the processor will be set to `nil` result in the route being terminated. This processor will return an error if the OSC address pattern cannot be parsed.
|
||||
|
||||
- **type**: `osc.message.filter`
|
||||
|
||||
- **params**:
|
||||
- **address**: [OSC address pattern](https://opensoundcontrol.stanford.edu/spec-1_0.html)
|
||||
### Example
|
||||
Match OSC messages with address `/test/a/start` or `/test/b/start`.
|
||||
```
|
||||
- type: osc.message.filter
|
||||
params:
|
||||
|
||||
@@ -6,6 +6,8 @@ sidebar:
|
||||
The `string.create` processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
|
||||
|
||||
- **type**: `string.create`
|
||||
- **params**:
|
||||
- **template**: string template that will have the incoming message as the context
|
||||
|
||||
### Example
|
||||
This would create a string using the `Address` property of the incoming message like and OSC message
|
||||
|
||||
Reference in New Issue
Block a user