Skip to content

Instantly share code, notes, and snippets.

@MarcinusX MarcinusX/song_provider.dart Secret
Created Jan 13, 2019

Embed
What would you like to do?
List<Note> initNotes() {
return [
Note(0, 0),
Note(1, 1),
Note(2, 2),
Note(3, 1),
Note(4, 3),
Note(5, 0),
...
Note(39, 2),
Note(40, 3),
Note(41, -1), //Add 4 times -1 notes so that song will end after last normal note reaches end
Note(42, -1),
Note(43, -1),
Note(44, -1),
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.