tmhglnd / mercury-playground

The Mercury live coding environment running in the browser
GNU General Public License v3.0
61 stars 5 forks source link

Accept and send OSC-messages #13

Closed tmhglnd closed 1 year ago

tmhglnd commented 2 years ago

Allow to use OSC-messages as parameter arguments in the browser version of mercury. Similar to how this works in the Max8 version:

Setting up osc ip and in/out ports: https://github.com/tmhglnd/mercury/blob/master/docs/01-global.md#osc

Create an osc emitter instrument: https://github.com/tmhglnd/mercury/blob/master/docs/03-emitter.md#osc

Or input argumenst from osc-messages like so:

new synth triangle fx(reverb '/extOSC/verbAmount') fx(filter low '/extOSC/cutoff' 0.4) time(1) shape(1 1000)
tmhglnd commented 2 years ago

Can now accept osc-messages as arguments as of 488e619de25cddb345506b7316be5f31bdb63c23. But not yet possible to send messages.