@return The note a semitone above this one.
()
| 204 | * @return The note a semitone above this one. |
| 205 | */ |
| 206 | @NotNull |
| 207 | public Note sharped() { |
| 208 | Preconditions.checkArgument(note < 24, "This note cannot be sharped because it is the highest known note!"); |
| 209 | return new Note(note + 1); |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * @return The note a semitone below this one. |
no outgoing calls