Skip to content

Midi support #6

Description

@xaviergodart

Add midi event support.
We can use https://gitlab.com/gomidi/midi

Event handling could look like this:

function onMidi(c, event) {
  if (event.key == "C3") {
    // do stuff
  }

  if (event.velocity > 90) {
    // do stuff
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions