There's the tidal-listener project, which is pretty experimental, but allows you to send OSC messages of the form /code <id> <expression>
, so for example /code 1 "s "cp*3" # lpf 1000"
would be equivalent to evaluating d1 $ s "cp*3" # lpf 1000
.
If you haven't looked into it yet, there's also a way to use OSC to send individual values into Tidal that you can use within Tidal expressions. If you just want to trigger different pieces of existing code (rather than write new code), this might work well enough. This thread discusses more about how this feature can work for that.