Skip to content

Commit

Permalink
FIXES ISSUE sugarlabs#4012 Scalar Step doesn't work for default tempe…
Browse files Browse the repository at this point in the history
…raments (other than 12EDO)
  • Loading branch information
omsuneri authored Oct 9, 2024
1 parent 2bc3146 commit 2461594
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 @@ -3824,7 +3824,7 @@ function getNote(
let note;
let articulation;

if (temperament = "equal") {
if (temperament in PreDefinedTemperaments) {
// Check for double flat or double sharp. Since bb and x behave
// funny with string operations, we jump through some hoops.
articulation = getArticulation(noteArg);
Expand Down

0 comments on commit 2461594

Please sign in to comment.