Documentation ¶
Index ¶
- Constants
- type ActiveChange
- type Float32
- type IMessage
- func GenActiveChange(pbi pod.PedalBoardItem) IMessage
- func GenDTClassChange(dt *pod.DT) IMessage
- func GenDTModeChange(dt *pod.DT) IMessage
- func GenDTTopologyChange(dt *pod.DT) IMessage
- func GenParameterCabChange(p pod.Parameter) IMessage
- func GenParameterChange(p pod.Parameter) IMessage
- func GenParameterChangeMax(p pod.Parameter) IMessage
- func GenParameterChangeMin(p pod.Parameter) IMessage
- func GenParameterPedalBoardChange(p pod.Parameter) IMessage
- func GenParameterTempoChange(p pod.Parameter) IMessage
- func GenParameterTempoChange2(p pod.Parameter) IMessage
- func GenPresetChange(presetID uint8) IMessage
- func GenPresetChangeAlert() IMessage
- func GenPresetLoad() IMessage
- func GenPresetQuery(presetID uint16, setID uint16) IMessage
- func GenPresetSet(p *pod.Preset, oldMsg *PresetLoad, presetID uint16, setID uint16) IMessage
- func GenSetChange(setID uint8) IMessage
- func GenSetQuery(id uint32) IMessage
- func GenSetupChange() IMessage
- func GenStatusQueryPresetID() IMessage
- func GenStatusQuerySave() IMessage
- func GenStatusQuerySetID() IMessage
- func GenTypeChange(pbi pod.PedalBoardItem) IMessage
- func NewMessage(rm RawMessage) (IMessage, error)
- type Int32
- type Message
- func (m *Message) Copy() IMessage
- func (m *Message) GetData() []byte
- func (m *Message) GetSubType() uint16
- func (m *Message) GetType() uint16
- func (m *Message) IsOk() bool
- func (m Message) LogInfo()
- func (m *Message) Parse(*pod.Pod) (status.St, interface{}, error)
- func (m *Message) SetData(data []byte)
- type ParameterChange
- type ParameterChangeMax
- type ParameterChangeMin
- type ParameterTempoChange
- type ParameterTempoChange2
- type PresetChange
- type PresetChangeAlert
- type PresetLoad
- type PresetQuery
- type PresetSet
- type RawMessage
- type SetChange
- type SetLoad
- type SetQuery
- type SetupChange
- type StatusQuery
- type StatusResponse
- type TypeChange
- type Uint16
- type Uint32
Constants ¶
View Source
const ( CurrentSet uint16 = 0xFFFF CurrentPreset uint16 = 0xFFFF )
View Source
const ( RawMessageBegin uint8 = 1 RawMessageExt uint8 = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveChange ¶
type ActiveChange struct {
Message
}
func (*ActiveChange) Copy ¶
func (m *ActiveChange) Copy() IMessage
type IMessage ¶
type IMessage interface { Copy() IMessage GetData() []byte GetType() uint16 GetSubType() uint16 IsOk() bool LogInfo() Parse(*pod.Pod) (status.St, interface{}, error) SetData([]byte) }
func GenActiveChange ¶
func GenActiveChange(pbi pod.PedalBoardItem) IMessage
func GenDTClassChange ¶
func GenDTModeChange ¶
func GenDTTopologyChange ¶
func GenParameterCabChange ¶
func GenParameterChange ¶
func GenParameterChangeMax ¶
func GenParameterChangeMin ¶
func GenParameterTempoChange ¶
func GenPresetChange ¶
func GenPresetChangeAlert ¶
func GenPresetChangeAlert() IMessage
func GenPresetLoad ¶
func GenPresetLoad() IMessage
func GenPresetQuery ¶
func GenPresetSet ¶
DirtyHack TODO: Cleanup
func GenSetChange ¶
func GenSetQuery ¶
func GenSetupChange ¶
func GenSetupChange() IMessage
func GenStatusQueryPresetID ¶
func GenStatusQueryPresetID() IMessage
func GenStatusQuerySave ¶
func GenStatusQuerySave() IMessage
func GenStatusQuerySetID ¶
func GenStatusQuerySetID() IMessage
func GenTypeChange ¶
func GenTypeChange(pbi pod.PedalBoardItem) IMessage
func NewMessage ¶
func NewMessage(rm RawMessage) (IMessage, error)
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func (*Message) GetSubType ¶
type ParameterChange ¶
type ParameterChange struct {
Message
}
func (*ParameterChange) Copy ¶
func (m *ParameterChange) Copy() IMessage
type ParameterChangeMax ¶
type ParameterChangeMax struct {
Message
}
func (*ParameterChangeMax) Copy ¶
func (m *ParameterChangeMax) Copy() IMessage
type ParameterChangeMin ¶
type ParameterChangeMin struct {
Message
}
func (*ParameterChangeMin) Copy ¶
func (m *ParameterChangeMin) Copy() IMessage
type ParameterTempoChange ¶
type ParameterTempoChange struct {
Message
}
func (*ParameterTempoChange) Copy ¶
func (m *ParameterTempoChange) Copy() IMessage
type ParameterTempoChange2 ¶
type ParameterTempoChange2 struct {
Message
}
func (*ParameterTempoChange2) Copy ¶
func (m *ParameterTempoChange2) Copy() IMessage
type PresetChange ¶
type PresetChange struct {
Message
}
func (*PresetChange) Copy ¶
func (m *PresetChange) Copy() IMessage
type PresetChangeAlert ¶
type PresetChangeAlert struct {
Message
}
func (*PresetChangeAlert) Copy ¶
func (m *PresetChangeAlert) Copy() IMessage
type PresetLoad ¶
type PresetLoad struct {
Message
}
func (*PresetLoad) Copy ¶
func (m *PresetLoad) Copy() IMessage
type PresetQuery ¶
type PresetQuery struct {
Message
}
func (*PresetQuery) Copy ¶
func (m *PresetQuery) Copy() IMessage
type RawMessage ¶
type RawMessage struct {
// contains filtered or unexported fields
}
func NewRawMessage ¶
func NewRawMessage(data []byte) *RawMessage
func NewRawMessages ¶
func NewRawMessages(m IMessage, ukno0 uint8, ukno1 uint8) []RawMessage
func (*RawMessage) Export ¶
func (m *RawMessage) Export() []byte
func (*RawMessage) Extend ¶
func (m *RawMessage) Extend(rm *RawMessage) error
func (*RawMessage) GetType ¶
func (m *RawMessage) GetType() uint8
func (RawMessage) LogInfo ¶
func (m RawMessage) LogInfo()
type SetupChange ¶
type SetupChange struct {
Message
}
func (*SetupChange) Copy ¶
func (m *SetupChange) Copy() IMessage
type StatusQuery ¶
type StatusQuery struct {
Message
}
func (*StatusQuery) Copy ¶
func (m *StatusQuery) Copy() IMessage
type StatusResponse ¶
type StatusResponse struct {
Message
}
func (*StatusResponse) Copy ¶
func (m *StatusResponse) Copy() IMessage
type TypeChange ¶
type TypeChange struct {
Message
}
func (*TypeChange) Copy ¶
func (m *TypeChange) Copy() IMessage
Click to show internal directories.
Click to hide internal directories.