Click or drag to resize

TempoCalculateNoteValueTime(NoteValue, Int32) Method

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.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax
public double CalculateNoteValueTime(
	NoteValue source,
	int dots
)
View Source

Parameters

source  NoteValue
Source note value.
dots  Int32
Total dotted note length extensions to apply.

Return Value

Double
Actual duration of note value in seconds.
See Also