feat(tracker): try to honor MIDI message timestamps

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-11-02 19:55:40 +02:00
parent 2aa0aaee0c
commit ee3ab3bf86
4 changed files with 74 additions and 26 deletions

View File

@ -13,10 +13,12 @@ import (
type NullContext struct{}
func (NullContext) NextEvent() (event tracker.MIDINoteEvent, ok bool) {
func (NullContext) NextEvent(frame int) (event tracker.MIDINoteEvent, ok bool) {
return tracker.MIDINoteEvent{}, false
}
func (NullContext) FinishBlock(frame int) {}
func (NullContext) BPM() (bpm float64, ok bool) {
return 0, false
}