Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MThd ¶
type MThd struct {
Tag string
Length uint32
Format uint16
Tracks uint16
Division uint16
PPQN uint16 // TODO make getter/TextUnmarshal
SMPTETimeCode bool // TODO make getter/TextUnmarshal
SubFrames uint16 // TODO make getter/TextUnmarshal
FPS uint8 // TODO make getter/TextUnmarshal
DropFrame bool // TODO make getter/TextUnmarshal
Bytes lib.Hex `json:"-"` // TODO make getter/TextUnmarshal
}
func (MThd) MarshalBinary ¶ added in v0.2.0
type MTrk ¶
type MTrk struct {
Tag string `json:"tag"`
TrackNumber lib.TrackNumber `json:"track-number"`
Length uint32 `json:"-"`
Bytes lib.Hex `json:"-"`
Events []*events.Event `json:"events"`
Context *context.Context `json:"-"`
}
func (*MTrk) UnmarshalBinary ¶
type ValidationError ¶
type ValidationError error
Click to show internal directories.
Click to hide internal directories.