Exemple #1
0
 public PITCH_FF(PITCH pitch = PITCH.DEFAULT, FF family = FF.DONTCARE)
 {
     _value = (int)pitch | (int)family;
 }
Exemple #2
0
 /**
  * @brief Gives a string representing a PITCH.
  * @param[in] aNoteValue The PITCH to return a string representation of.
  *
  * @see PITCH PITCH_STRING
  */
 public static string NoteToString(PITCH aNoteValue)
 {
     return(NoteToString((int)aNoteValue));
 }
Exemple #3
0
 public PITCH_FF(PITCH pitch = PITCH.DEFAULT, FF family = FF.DONTCARE)
 {
     _value = (int)pitch | (int)family;
 }
Exemple #4
0
 /**
  * @brief Overloaded function that returns whether or not a note corresponds to a white or black key.
  * @param[in] aPitch The pitch being checked.
  * @return True if the pitch corresponds to a black key. False otherwise.
  */
 public static bool IsPitchABlackKey(PITCH aPitch)
 {
     return(IsPitchABlackKey((int)aPitch));
 }