From 97e811abeff336a4615c9b15c6e12a342dfcb66b Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sun, 7 Jul 2024 14:03:46 -0400 Subject: [PATCH] fix note convert --- js/utils/musicutils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils/musicutils.js b/js/utils/musicutils.js index f99387d162..f9e37c0d63 100644 --- a/js/utils/musicutils.js +++ b/js/utils/musicutils.js @@ -5195,7 +5195,7 @@ const pitchToFrequency = (pitch, octave, cents, keySignature) => { */ const noteToFrequency = (note, keySignature) => { const obj = noteToPitchOctave(note); - return pitchToFrequency(obj[0], obj[1], obj[2], keySignature); + return pitchToFrequency(obj[0], obj[1], 0, keySignature); }; /**