public PITCH_FF(PITCH pitch = PITCH.DEFAULT, FF family = FF.DONTCARE) { _value = (int)pitch | (int)family; }
/** * @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)); }
/** * @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)); }