mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 13:04:25 -04:00
refactor(sointu): add explicit RowsPerPattern to the song
This commit is contained in:
@ -167,7 +167,7 @@ func bytesToInts(array []byte) []int {
|
||||
}
|
||||
|
||||
func ConstructPatterns(song *sointu.Song) ([][]byte, [][]byte, error) {
|
||||
patLength := song.PatternRows()
|
||||
patLength := song.RowsPerPattern
|
||||
sequences := make([][]byte, len(song.Tracks))
|
||||
var patterns [][]int
|
||||
for i, t := range song.Tracks {
|
||||
|
Reference in New Issue
Block a user