Click or drag to resize

NoteNamedValueIndex Method

Returns closest note value index (for NoteValue or NoteValueBritish) given the relative duration of a note.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.181-beta
Syntax
public static int NamedValueIndex(
	double value
)
View Source

Parameters

value  Double
Relative duration of the note.

Return Value

Int32
Closest note value enumeration index given the relative duration of a note.
See Also