public static LetterToHertz ( string letterString ) : float | ||
letterString | string | The format of the string must be as follows: /// Starts with a Letter from A to G for the note. /// Next, optionaly a "#" or "b" for sharp or flat. /// Next, mandatorily, a digit of 0-8 for the octave. /// Examples: "C4" = middle C. "C#4" = middle c sharp. "Cb4" = middle c flat. C5 = high C. C3 = low C. /// octaves follow the weird musical convention of starting at C instead of at A. (i.e. C4 is one higher than B3, not B4) |
return | float |