Skip to content

Commit 1e76849

Browse files
Copilottwitchax
andcommitted
Fix diminished scale parsing to allow format without parentheses
Co-authored-by: twitchax <549523+twitchax@users.noreply.github.com>
1 parent 52915c5 commit 1e76849

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kord/chord.pest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ scale_name = @{
8383
^"harmonic" ~ " "? ~ ^"minor" |
8484
^"melodic" ~ " "? ~ ^"minor" |
8585
^"whole" ~ " "? ~ ^"tone" |
86-
^"diminished" ~ " "? ~ "(" ~ ^"whole" ~ "-" ~ ^"half" ~ ")" |
87-
^"diminished" ~ " "? ~ "(" ~ ^"half" ~ "-" ~ ^"whole" ~ ")" |
86+
^"diminished" ~ " "+ ~ ^"whole" ~ "-"? ~ ^"half" |
87+
^"diminished" ~ " "+ ~ ^"half" ~ "-"? ~ ^"whole" |
8888
^"chromatic" |
8989
^"blues" |
9090
^"major"

0 commit comments

Comments
 (0)