Skip to content

Extract USB MIDI message handling into own crate #24

@kleinesfilmroellchen

Description

@kleinesfilmroellchen

Is your feature request related to a problem? Please describe.

This crate seems to have robust and sophisticated handling for the USB MIDI transport format which wraps actual MIDI messages. However, it’s currently tied to the non-async usb-device stack. Many applications instead want to use the async embassy-usb stack, some boards only have support for USB through that. embassy-usb already has built-in support for setting up USB MIDI devices, but after that, you have to send and receive raw packets.

Describe the solution you'd like

Most of the message module could be provided as a separate crate – from a first look, it seems like it implements independent parsing and serialization functionality that’s separate from USB driver concerns. Then, it would be easy to use that crate for parsing and serializing packets in any embedded application, no matter the USB stack.

Describe alternatives you've considered

I could duplicate all of the code into my own project :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions