mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-29 10:25:01 -04:00
feat: input midi velocity into a separate track (includes many structural changes)
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/vsariola/sointu/tracker"
|
||||
"github.com/vsariola/sointu/tracker/types"
|
||||
"github.com/vsariola/sointu/vm"
|
||||
)
|
||||
|
||||
@ -23,6 +24,12 @@ func (NullContext) BPM() (bpm float64, ok bool) {
|
||||
return 0, false
|
||||
}
|
||||
|
||||
func (NullContext) MaxPolyphony() types.OptionalInteger {
|
||||
return types.NewEmptyOptionalInteger()
|
||||
}
|
||||
|
||||
func (NullContext) SetMaxPolyphony(v types.OptionalInteger) {}
|
||||
|
||||
func (NullContext) InputDevices(yield func(tracker.MIDIDevice) bool) {}
|
||||
|
||||
func (NullContext) HasDeviceOpen() bool { return false }
|
||||
@ -277,7 +284,7 @@ func FuzzModel(f *testing.F) {
|
||||
break loop
|
||||
default:
|
||||
ctx := NullContext{}
|
||||
player.Process(buf, ctx, nil)
|
||||
player.Process(buf, ctx)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user