Skip to content

Feature Request: Ability to SendOSCMessages From MIDI Devices #23

@FunkybotsEvilTwin

Description

@FunkybotsEvilTwin

Right now, it appears that MIDI control surfaces in CSI aren't set up to send OSC messages. It would be awesome if we could trigger something like:

Bank1Button SendOSCMessage "/Pager 0' Feedback=No"

...directly from a MIDI surface and have it communicate with the OSC side.

Extend MIDI Interface Class to Accept OSC I/O Interface:
Modify the MIDI control surface class so it can accept an OSC I/O interface (or pointer) alongside its current MIDI I/O. This will allow it to forward OSC messages using our existing OSC I/O Manager.

Method Implementation:
Add a new SendOSCMessage method (supporting different parameter types like string, int, and double) to the MIDI control surface. These methods should delegate the OSC message sending to the OSC I/O Manager, similar to how it's done in the OSC control surface.

Integration with Widget Actions:
Ensure that widget actions that trigger OSC messaging (via the Do method or similar) call the new OSC methods when running on a MIDI surface. This should integrate smoothly with the current zone manager architecture.

Broadcast/Listen:
For full functionality, the MIDI surface should also tap into the Broadcast/Listen features when mirroring two surfaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions