|
NoteGetFrequency(String) Method
|
Gets the specified note frequency.
Namespace: GSF.Media.MusicAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.246-beta
Syntaxpublic static double GetFrequency(
string noteID
)
Public Shared Function GetFrequency (
noteID As String
) As Double
public:
static double GetFrequency(
String^ noteID
)
static member GetFrequency :
noteID : string -> float
GSF.Media.Music.Note.GetFrequency = function(noteID);
View SourceParameters
- noteID String
- ID of the note to retrieve - expected format is "Note + Octave + S?" (e.g., A2 or C5S)
Return Value
DoubleThe specified note.
ExceptionsException | Condition |
---|
ArgumentNullException | noteID is null. |
ArgumentException | Invalid note ID format - expected "Note + Octave + S?" (e.g., A2 or C5S). |
See Also