Click or drag to resize

Note Methods

The Note type exposes the following members.

Methods
  Name Description
Public method CalculateValueTime Calculates the actual time duration, in seconds, for the specified tempo that the note value will last. For example, if tempo is M.M. 120 quarter-notes per minte, then each quarter-note would last a half-second.
Public method CompareTo(Note) Notes are compared by frequency, then by value (i.e., duration).
Public method CompareTo(Object) Notes are compared by frequency, then by value (i.e., duration).
Public method Equals(Note) Returns True if the frequency and value of this note equals the frequency and value of the specified other note.
Public method Equals(Object) Returns True if the frequency and value of this note equals the frequency and value of the specified other note.
(Overrides ObjectEquals(Object))
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method Static member GetFrequency(String) Gets the specified note frequency.
Public method Static member GetFrequency(Char, Int32, Boolean) Gets the specified note frequency.
Public method GetHashCode Serves as a hash function for the current Note.
(Overrides ObjectGetHashCode)
Public method Static member GetNextID Gets the next note ID in sequence after the specified note ID.
Public method Static member GetPreviousID Gets the previous note ID in sequence before the specified note ID.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Static member NamedValueIndex Returns closest note value index (for NoteValue or NoteValueBritish) given the relative duration of a note.
Public method ToString Returns a string representation for the note.
(Overrides ObjectToString)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also