Categorygithub.com/scgolang/midi
modulepackage
0.5.0
Repository: https://github.com/scgolang/midi.git
Documentation: pkg.go.dev

# README

midi

Dead simple MIDI package for Go. Currently only supports Linux and Mac.

Install

go get github.com/scgolang/midi

If you're on Linux, you'll have to install the ALSA development files.

The package is probably named either libasound2-dev or alsa-devel.

# Functions

GetMessageType returns the message type for the provided packet.

# Constants

Device types.
Device types.
Device types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CC represents a MIDI control change message.
Note represents a MIDI note.
Packet is a MIDI packet.

# Type aliases

DeviceType is a flag that says if a device is an input, an output, or duplex.