Mercurial > dottes
changeset 701:972d3dab1142
Nerys next: L'Inconnu de Limoise.
No chords. Also fix up title field display to not put a space between
items if 'The' item isn't all alphanumeric. So , L' works.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 24 Sep 2017 23:12:03 +0100 |
parents | de5bbf98b1c5 |
children | 083d8fd4a7c3 |
files | Session/InconnuDeLimoise.abc abcfield.py |
diffstat | 2 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Session/InconnuDeLimoise.abc Sun Sep 24 23:12:03 2017 +0100 @@ -0,0 +1,11 @@ +X: 1 +T: Inconnu de Limoise, L' +C: Maxou Heintzen +M: 3/4 +L: 1/8 +Q: 1/4=104 +K: G +D GA | B2 BB (3cBA | B3 B cd | c2 cB AG | A2 D2 GA | + B2 BB (3cBA | B3 B cd |c2 cB AG | A3 :| +B cd | e2 gf ef | d2 dc BA | GF GA BG | D4 GF | + E2 EF GA | G2F2 E2 | [1 F2 FG AB | A3 :| [2 FE FG AB | G3 |]
--- a/abcfield.py Mon Sep 18 22:30:16 2017 +0100 +++ b/abcfield.py Sun Sep 24 23:12:03 2017 +0100 @@ -137,7 +137,9 @@ if p[1] == "": return t else: - return p[2].strip() + " " + p[0].strip() + first = p[2].strip() + second = p[0].strip() + return (first + " " if first.isalnum() else first) + second # Convert Key field from ABC to display, so G#dor->G# Dorian. def convertKeyToDisplay(t):