feat(sointu): add RowsPerBeat so non-power of 2 beat divisions are easier

This commit is contained in:
vsariola
2021-02-01 18:33:52 +02:00
parent 3cf2fc70a8
commit 3f494661e3
95 changed files with 132 additions and 6 deletions

View File

@ -119,6 +119,9 @@ func main() {
return fmt.Errorf("song could not be unmarshaled as a .json (%v) or .yml (%v)", errJSON, errYaml)
}
}
if song.RowsPerBeat == 0 {
song.RowsPerBeat = 4
}
var compiledPlayer map[string]string
if compile {
var err error