Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created January 13, 2019 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinusX/4f952e45266b9db55714621025b6b498 to your computer and use it in GitHub Desktop.
Save MarcinusX/4f952e45266b9db55714621025b6b498 to your computer and use it in GitHub Desktop.
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