Tempo Class |
The Tempo type exposes the following members.
Name | Description | |
---|---|---|
Tempo(Int32, NoteValue) | Contructs a new Tempo object. | |
Tempo(Int32, NoteValueBritish) | Contructs a new Tempo object. | |
Tempo(Int32, Double) | Contructs a new Tempo object. |
Name | Description | |
---|---|---|
NamedNoteValue | Get or sets the note value, expressed in American form, representing the length of the note. | |
NamedNoteValueBritish | Get or sets the note value, expressed in British form, representing the length of the note. | |
NoteValue | Returns relative value for reference note value. For example, if tempo is M.M. 120 quarter-notes per minute, then time is referenced in quarter-notes and this function would return 0.25. | |
NoteValueTime | Total time, in seconds, for reference note value. For example, if tempo is M.M. 120 quarter-notes per minute, then time is referenced in quarter-notes and this function would return 0.5 seconds. | |
TotalNoteValues | Total number of reference note values that occur in one minute - thus defining the tempo for a score. |
Name | Description | |
---|---|---|
CalculateNoteValueTime(Double) | Calculates the actual time duration, in seconds, for the given tempo that the specified source note value will last. For example, if tempo is M.M. 120 quarter-notes per minute, then each quarter-note would last a half-second. | |
CalculateNoteValueTime(NoteValue, Int32) | Calculates the actual time duration, in seconds, for the given tempo that the specified source note value will last. For example, if tempo is M.M. 120 quarter-notes per minute, then each quarter-note would last a half-second. | |
CalculateNoteValueTime(NoteValueBritish, Int32) | Calculates the actual time duration, in seconds, for the given tempo that the specified source note value will last. For example, if tempo is M.M. 120 crotchets per minute, then each crotchet would last a half-second. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from 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) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
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) |