示例#1
0
文件: Note.java 项目: hapm/Spoutcraft
 /**
  * Returns if this note is sharped.
  *
  * @return if this note is sharped.
  */
 public boolean isSharped() {
   byte note = getToneByte();
   return Tone.getToneById(note).isSharped(note);
 }
示例#2
0
文件: Note.java 项目: hapm/Spoutcraft
 /**
  * Returns the tone of this note.
  *
  * @return the tone of this note.
  */
 public Tone getTone() {
   return Tone.getToneById(getToneByte());
 }