We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e68857 commit 80039bcCopy full SHA for 80039bc
1 file changed
src/Spectrogram/Tools.cs
@@ -83,7 +83,7 @@ public static int GetPianoKey(double frequencyHz)
83
return (int)Math.Round(pianoKey);
84
}
85
86
- public static int GetMidiNote(int frequencyHz)
+ public static int GetMidiNote(double frequencyHz)
87
{
88
return GetPianoKey(frequencyHz) + 20;
89
0 commit comments