feat(tracker): add keys to adjust current octave

This commit is contained in:
vsariola
2020-12-31 00:01:54 +02:00
parent 2e2b5261ae
commit 1d91603e36
3 changed files with 52 additions and 30 deletions

View File

@ -36,6 +36,6 @@ func valueAsNote(val byte) string {
}
// noteValue return the note value for a particular note and octave combination
func getNoteValue(octave, note byte) byte {
return baseNote + (octave * 12) + note
func getNoteValue(octave, note int) byte {
return byte(baseNote + (octave * 12) + note)
}