http > osc example config

This commit is contained in:
Joel Wetzell
2025-11-22 15:28:35 -06:00
parent f449505559
commit b81cb69873

View File

@@ -1,11 +1,10 @@
{
"modules": [
{
"id": "tcp",
"type": "net.tcp.server",
"id": "http",
"type": "net.http.server",
"params": {
"port": 8000,
"framing": "LF"
"port": 3000
}
},
{
@@ -13,13 +12,24 @@
"type": "net.udp.client",
"params": {
"host": "127.0.0.1",
"port": 8888
"port": 8000
}
}
],
"routes": [
{
"input": "tcp",
"input": "http",
"processors": [
{
"type":"osc.message.create",
"params": {
"address": "{{.URL.Path}}"
}
},
{
"type": "osc.message.encode"
}
],
"output": "udp"
}
]