words: group some scales, support comments

Not sure how we missed mixolydian.

Updates #1235

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2655/head
Brad Fitzpatrick 3 years ago
parent 1bca722824
commit c992504375

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

@ -49,7 +49,7 @@ func parseWords(txt []byte) []string {
if i != -1 { if i != -1 {
word, txt = word[:i], txt[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) ret = append(ret, word)
} }
} }

Loading…
Cancel
Save