Click or drag to resize

TempoCalculateNoteValueTime(NoteValueBritish, 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 crotchets per minute, then each crotchet 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(
	NoteValueBritish source,
	int dots
)
View Source

Parameters

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

Return Value

Double
Actual duration of note value in seconds.
See Also