cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewRawMessage added in v0.3.0

func NewRawMessage(raw []byte) midi.Message

func SendRawMidiSequence added in v0.3.0

func SendRawMidiSequence(w writer.ChannelWriter, sequence [][]byte) error

Types

type Button

type Button interface {
	Pressed()
}

type LEDController

type LEDController interface {
	ctrl.LED
	Close()
}

type PL1LED added in v0.4.0

type PL1LED struct {
	// contains filtered or unexported fields
}

func NewPL1LED added in v0.4.0

func NewPL1LED(w writer.ChannelWriter) *PL1LED

func (*PL1LED) Close added in v0.4.0

func (c *PL1LED) Close()

func (*PL1LED) SetFlashing added in v0.4.0

func (c *PL1LED) SetFlashing(key ctrl.MidiKey, on bool)

func (*PL1LED) SetOn added in v0.4.0

func (c *PL1LED) SetOn(key ctrl.MidiKey, on bool)

func (*PL1LED) SetValue added in v0.4.0

func (c *PL1LED) SetValue(key ctrl.MidiKey, value uint8)

type SimpleLED added in v0.4.0

type SimpleLED struct {
	// contains filtered or unexported fields
}

func NewSimpleLED added in v0.4.0

func NewSimpleLED(w writer.ChannelWriter) *SimpleLED

func (*SimpleLED) Close added in v0.4.0

func (c *SimpleLED) Close()

func (*SimpleLED) SetFlashing added in v0.4.0

func (c *SimpleLED) SetFlashing(key ctrl.MidiKey, on bool)

func (*SimpleLED) SetOn added in v0.4.0

func (c *SimpleLED) SetOn(key ctrl.MidiKey, on bool)

func (*SimpleLED) SetValue added in v0.4.0

func (c *SimpleLED) SetValue(key ctrl.MidiKey, value uint8)

type ValueControl added in v0.4.0

type ValueControl interface {
	Changed(int)
	Close()
}

Jump to

Keyboard shortcuts

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