akai

package
v0.0.1-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AkaiLpk25

type AkaiLpk25 struct {
	Name      string
	Logger    *zap.SugaredLogger
	Driver    *driver.Driver
	In        midi.In
	Listeners map[string]map[string]func(buf []string) error
	Buffer    []string
}

func NewLpk25

func NewLpk25() *AkaiLpk25

func (*AkaiLpk25) Close

func (k *AkaiLpk25) Close() error

func (*AkaiLpk25) RegisterChord

func (*AkaiLpk25) RegisterChord(note string, callback func(buffer []string) error) error

func (*AkaiLpk25) RegisterNote

func (k *AkaiLpk25) RegisterNote(note string, callback func(buffer []string) error) error

func (*AkaiLpk25) RegisterScopedChord

func (*AkaiLpk25) RegisterScopedChord(scope string, note string, callback func(buffer []string) error) error

func (*AkaiLpk25) RegisterScopedNote

func (k *AkaiLpk25) RegisterScopedNote(scope string, note string, callback func(buffer []string) error) error

func (*AkaiLpk25) StartListening

func (k *AkaiLpk25) StartListening() error

Jump to

Keyboard shortcuts

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