There was an error while loading. Please reload this page.
1 parent 5e68857 commit 80039bcCopy full SHA for 80039bc
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