pkgMidi

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIDI_BUTTON = "B"
	MIDI_KNOB   = "K"
	MIDI_SLIDER = "S"
)

Variables

This section is empty.

Functions

func GetInputPorts

func GetInputPorts() []string

func GetOneInput

func GetOneInput(device string) string

func StartListen

func StartListen(table *widget.Table, lblOutput *widget.Label, data [][]string, device string, mapKeys map[uint8]KeyStruct) string

func StopListen

func StopListen() string

Types

type KeyStruct

type KeyStruct struct {
	MidiType string
	Key      string
	Payload  string
	Velocity uint16
	Special  bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL