Skip to content

Commit 2461594

Browse files
authored
FIXES ISSUE #4012 Scalar Step doesn't work for default temperaments (other than 12EDO)
1 parent 2bc3146 commit 2461594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/utils/musicutils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,7 @@ function getNote(
38243824
let note;
38253825
let articulation;
38263826

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

0 commit comments

Comments
 (0)