Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { Number uint TimeSig [2]uint8 Events Events Key *smf.Key // TODO a key change, if != nil AbsTicks int64 }
func (*Bar) SortEvents ¶ added in v2.0.23
func (b *Bar) SortEvents()
type Event ¶
type Event struct { TrackNo int Pos uint8 // in 32th Duration uint8 // in 32th for noteOn messages, it is the length of the note, for all other messages, it is 0 Message smf.Message // may only be channel messages or sysex messages. no noteon velocity 0, or noteoff messages, this is expressed via Duration // contains filtered or unexported fields }
type Events ¶ added in v2.0.23
type Events []*Event
type Song ¶
type Song struct { Title string Composer string TrackNames []string Ticks smf.MetricTicks // contains filtered or unexported fields }
func (*Song) SetBarAbsTicks ¶ added in v2.0.23
func (s *Song) SetBarAbsTicks()
Click to show internal directories.
Click to hide internal directories.