mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
refactor: implement Order and Pattern types: slices returning default values for out of bound indices
This commit is contained in:
@ -63,7 +63,7 @@ var defaultSong = sointu.Song{
|
||||
RowsPerPattern: 16,
|
||||
Length: 1,
|
||||
Tracks: []sointu.Track{
|
||||
{NumVoices: 1, Order: []int{0}, Patterns: [][]byte{{72, 0}}},
|
||||
{NumVoices: 1, Order: sointu.Order{0}, Patterns: []sointu.Pattern{{72, 0}}},
|
||||
},
|
||||
},
|
||||
Patch: sointu.Patch{defaultInstrument,
|
||||
|
Reference in New Issue
Block a user