Skip to content

Instantly share code, notes, and snippets.

@alanwhite
Last active November 27, 2021 23:16
Show Gist options
  • Save alanwhite/deb2b9effecf2ebe040e7f7680ae7bbf to your computer and use it in GitHub Desktop.
Save alanwhite/deb2b9effecf2ebe040e7f7680ae7bbf to your computer and use it in GitHub Desktop.
Code snippets for music note beam modelling
package xyz.arwhite.music.models;
public enum BeamEnum {
BACKWARD_HOOK { public String toString() {
return "backward hook";
}},
BEGIN { public String toString() {
return "begin";
}},
CONTINUE { public String toString() {
return "continue";
}},
END { public String toString() {
return "end";
}},
FORWARD_HOOK { public String toString() {
return "forward hook";
}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment