Documentation ¶
Index ¶
Constants ¶
View Source
const GlovelightUser = "Glovelight User"
View Source
const MaxCCValue = 127
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { BulbIds []int `yaml:"bulb_ids"` MidiInput string `yaml:"midi_input"` MidiChannel uint8 `yaml:"midi_channel"` XCC uint8 `yaml:"x_cc"` YCC uint8 `yaml:"y_cc"` // contains filtered or unexported fields }
func (*Controller) HandleCC ¶
func (c *Controller) HandleCC(p *mid.Position, channel, controller, value uint8)
func (*Controller) Start ¶
func (c *Controller) Start() error
func (*Controller) XYVal ¶
func (c *Controller) XYVal() []float32
type Glovelight ¶
type Glovelight struct { Controllers []*Controller `yaml:"controllers"` BridgeIP string `yaml:"bridge_ip"` User string `yaml:"user"` // contains filtered or unexported fields }
func ReadGlovelightFile ¶
func ReadGlovelightFile(location string) (*Glovelight, error)
func (*Glovelight) ConnectToBridge ¶
func (g *Glovelight) ConnectToBridge() error
func (*Glovelight) ConnectToMIDI ¶
func (g *Glovelight) ConnectToMIDI(justLogPorts bool) error
func (*Glovelight) Start ¶
func (g *Glovelight) Start() error
func (*Glovelight) WriteToDisk ¶
func (g *Glovelight) WriteToDisk() error
Click to show internal directories.
Click to hide internal directories.