Click or drag to resize

NoteValue Enumeration

American note value (♪) representing the relative duration of a note.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.282-beta
Syntax
public enum NoteValue
Members
Member nameValueDescription
Longa0Quadruple whole note (i.e., 4 times the length of a whole note).
Breve1Double whole note (i.e., 2 times the length of a whole note).
Whole2Whole note.
Half3Half note (i.e., 1/2 the length of a whole note).
Quarter4Quarter note (i.e., 1/4 the length of a whole note).
Eighth5Eighth note (i.e., 1/8 the length of a whole note).
Sixteenth6Sixteenth note (i.e., 1/16 the length of a whole note).
ThirtySecond7ThirtySecond note (i.e., 1/32 the length of a whole note).
SixtyFourth8SixtyFourth note (i.e., 1/64 the length of a whole note).
HundredTwentyEighth9HundredTwentyEighth note (i.e., 1/128 the length of a whole note).
TwoHundredFiftySixth10TwoHundredFiftySixth note (i.e., 1/256 the length of a whole note).
FiveHundredTwelfth11FiveHundredTwelfth note (i.e., 1/512 the length of a whole note).
ThousandTwentyFourth12ThousandTwentyFourth note (i.e., 1/1024 the length of a whole note).

The NoteValue type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodDuration Returns source note value duration. For example, 0.25 will be returned for a quater note, 1.0 will be returned for a whole note, etc.
(Defined by NoteValueExtensions)
Public Extension MethodDuration Returns source note value duration. For example, 0.25 will be returned for a quater note, 1.0 will be returned for a whole note, etc.
(Defined by NoteValueExtensions)
Public Extension MethodDuration Returns source note value duration in terms of given reference note value. For example, if measure size is 3/4 then reference is quarter notes and returned value will be equivalent number of quarter notes for given source note.
(Defined by NoteValueExtensions)
Public Extension MethodDuration Returns source note value duration in terms of given reference note value. For example, if measure size is 3/4 then reference is quarter notes and returned value will be equivalent number of quarter notes for given source note.
(Defined by NoteValueExtensions)
Public Extension MethodGetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
Remarks
Note duration formula accessible via extension function "Duration()" for given note value.
See Also