Click or drag to resize

NoteCalculateValueTime Method

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.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.181-beta
Syntax
public double CalculateValueTime(
	Tempo tempo
)
View Source

Parameters

tempo  Tempo
Tempo used to calculate note value time.

Return Value

Double
Calculated note value time.
Remarks
Calculated value is cached and available from ValueTime property.
See Also