|
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.MusicAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax Public Function CalculateValueTime (
tempo As Tempo
) As Double
member CalculateValueTime :
tempo : Tempo -> float
function CalculateValueTime(tempo);
View SourceParameters
- tempo Tempo
- Tempo used to calculate note value time.
Return Value
DoubleCalculated note value time.
Remarks
Calculated value is cached and available from
ValueTime property.
See Also