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) (sugarlabs#4032)

* FIXES ISSUE sugarlabs#4012 Scalar Step doesn't work for default temperaments (other than 12EDO)

after these changes the scalar step (+/-) block stepping up and down pitch perfectly for the temperaments other than Equal 12EDO and Custom

* FIXES ISSUE sugarlabs#4012 Scalar Step doesn't work for default temperaments (other than 12EDO)
  • Loading branch information
omsuneri authored Oct 13, 2024
1 parent b4cad30 commit 4b29d1f
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 4b29d1f

Please sign in to comment.