Note Methods |
The Note type exposes the following members.
Name | Description | |
---|---|---|
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. | |
CompareTo(Note) | Notes are compared by frequency, then by value (i.e., duration). | |
CompareTo(Object) | Notes are compared by frequency, then by value (i.e., duration). | |
Equals(Note) | Returns True if the frequency and value of this note equals the frequency and value of the specified other note. | |
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)) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
|
GetFrequency(String) | Gets the specified note frequency. | |
GetFrequency(Char, Int32, Boolean) | Gets the specified note frequency. | |
GetHashCode |
Serves as a hash function for the current Note.
(Overrides ObjectGetHashCode) |
|
GetNextID | Gets the next note ID in sequence after the specified note ID. | |
GetPreviousID | Gets the previous note ID in sequence before the specified note ID. | |
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
NamedValueIndex | Returns closest note value index (for NoteValue or NoteValueBritish) given the relative duration of a note. | |
ToString |
Returns a string representation for the note.
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |