Skip to content

Commit

Permalink
fix note convert
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed Jul 7, 2024
1 parent f88955e commit 97e811a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/utils/musicutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

/**
Expand Down

0 comments on commit 97e811a

Please sign in to comment.