words: group some scales, support comments

Not sure how we missed mixolydian.

Updates #1235

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-08-13 15:46:13 -07:00
parent 1bca722824
commit c992504375
2 changed files with 46 additions and 41 deletions

View File

@ -30,28 +30,6 @@ pineapplefish
anaconda
puffin
cardassian
acoustic
alpha
altered
augmented
bebop
beta
blues
bushi
byzantine
freygish
phrygian
chromatic
delta
diminished
dominant
dorian
enigmatic
gamma
harmonic
heptatonic
hirajoshi
in
cloud
nominal
ordinal
@ -60,24 +38,6 @@ ratio
vernier
lime
scala
insen
istrian
iwato
jazz
locrian
major
minor
musical
octatonic
pentatonic
pierce
prometheus
pythagorean
symmetric
tet
tone
tritone
yo
boa
cobra
richter
@ -147,3 +107,48 @@ mudpuppy
gopher
chickadee
toad
# Musical scales
acoustic
alpha
altered
augmented
bebop
beta
blues
bushi
byzantine
chromatic
delta
diatonic
diminished
dominant
dorian
enigmatic
freygish
gamma
harmonic
heptatonic
hexatonic
hirajoshi
in
insen
istrian
iwato
jazz
locrian
major
minor
mixolydian
musical
octatonic
pentatonic
phrygian
pierce
prometheus
pythagorean
symmetric
tet
tone
tritone
yo

View File

@ -49,7 +49,7 @@ func parseWords(txt []byte) []string {
if i != -1 {
word, txt = word[:i], txt[i+1:]
}
if word := strings.TrimSpace(string(word)); word != "" {
if word := strings.TrimSpace(string(word)); word != "" && word[0] != '#' {
ret = append(ret, word)
}
}