rtmidi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (devices []string, err error)

func Midi

func Midi(msg string, chord music.Chord) (err error)

func NotesOff

func NotesOff() (err error)

func ReadAll added in v0.5.3

func ReadAll(finished chan bool) (events chan Event, err error)

func Shutdown

func Shutdown() (err error)

Types

type Event added in v0.5.3

type Event struct {
	MIDI       int
	On         bool
	Instrument string
	Timestamp  time.Time
}

Jump to

Keyboard shortcuts

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