Example of connecting to a serialosc device using the Bitwig Javascript Controller API.
- Put the contents of this repository into Bitwig's
Bitwig Studio/Controller Scripts
folder. - In the Bitwig dashboard, click Settings > Controllers.
- Click Add Controller and select monome as Hardware Vendor and serialosc as Product. Click Add.
- In the controller entry that appears, click the gear icon to expose controls.
- Click Detect Device and, if a serialosc device is connected, the Device Port should update with your device port.
- Turn an encoder (for arc) or press keys (for grid) and you should see LED feedback.
Bitwig requires extensions to set up their OSC connections during initialization, so the extension has to restart itself when the port is changed or a device is detected.
Typescript dependencies are just to get API syntax completion in VS Code; no compilation step is necessary.