add params info to processors that need them

This commit is contained in:
Joel Wetzell
2025-12-20 11:03:26 -06:00
parent f112c45d64
commit a3723c770d
2 changed files with 5 additions and 1 deletions
@@ -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