feat(sointu-cli): Support importing/exporting in YAML

This commit is contained in:
Veikko Sariola
2020-12-08 10:57:23 +02:00
parent fa163b3884
commit 2106ebde56
7 changed files with 39 additions and 14 deletions

View File

@ -7,11 +7,11 @@ import (
type Song struct {
BPM int
Patterns [][]byte
Tracks []Track
Patch Patch
Output16Bit bool
Hold byte
Patterns [][]byte `yaml:",flow"`
Tracks []Track
Patch Patch
}
func (s *Song) PatternRows() int {