Documentation ¶
Index ¶
Constants ¶
View Source
const (
TOTAL_beats = 3
)
Variables ¶
View Source
var ( SysexoOverMIDIPrefix = []byte{0xF0, 0x00, 0x20, 0x32, 0x32} SysexoOverMIDISuffix = []byte{0xF7} )
Functions ¶
This section is empty.
Types ¶
type BeatHandler ¶
type BeatHandler struct {
// contains filtered or unexported fields
}
BeatHandler collects noteOn until a tempo can be calculated
func NewBeatHandler ¶
func NewBeatHandler(cb core.SendMidi, fxChan int, overMidi bool) *BeatHandler
NewBeatHandler returns BeatHandler
func (*BeatHandler) HandleNote ¶
func (b *BeatHandler) HandleNote(nt core.Note)
HandleNote processes incoming notes to get tempo
Click to show internal directories.
Click to hide internal directories.