Click or drag to resize

NoteGetFrequency(String) Method

Gets the specified note frequency.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.181-beta
Syntax
public static double GetFrequency(
	string noteID
)
View Source

Parameters

noteID  String
ID of the note to retrieve - expected format is "Note + Octave + S?" (e.g., A2 or C5S)

Return Value

Double
The specified note.
Exceptions
ExceptionCondition
ArgumentNullExceptionnoteID is null.
ArgumentExceptionInvalid note ID format - expected "Note + Octave + S?" (e.g., A2 or C5S).
See Also