Compare commits

...

17 Commits
main ... take2

Author SHA1 Message Date
Louis Thurman bd074e4740 Corrects C part chords, key sig, and accids. 2023-03-12 19:08:44 +00:00
Louis Thurman 5a738801db Fixes B part repeat 2023-03-12 18:28:09 +00:00
Louis Thurman 7d5350c212 Transpose to D major, in line with how its normally played 2023-03-12 18:22:39 +00:00
Louis Thurman adef481827 Corrects key signature 2023-03-12 18:02:06 +00:00
Louis Thurman 58469b094b Adds chords 2023-03-12 17:59:44 +00:00
Louis Thurman 767ea11d3b Corrects timing issue, updates chords, adds common alternate ending 2023-03-12 17:47:38 +00:00
Louis Thurman 2d3f7a1f5d Improves B part chords 2023-03-12 17:32:06 +00:00
Louis Thurman 70c62c1fde Simplified chords. 2023-03-07 01:30:17 +00:00
Louis Thurman 5d22fc9539 Adds passing note 2023-03-07 01:25:58 +00:00
Louis Thurman 4305a67650 Adds runs as played. 2023-03-07 01:05:01 +00:00
Louis Thurman ed9c847e1f Slight tempo decrease 2023-03-07 01:04:50 +00:00
Louis Thurman 59cf7def78 Chord corrections/improvements 2023-03-07 00:41:38 +00:00
Louis Thurman 0a67785da1 Update chords
Chords were too frequent and cause overbearing chord smashes, simplified so that it plays better.
2023-03-07 00:33:11 +00:00
Louis Thurman 17065ed00d Update util script 2023-03-07 00:32:26 +00:00
Louis Thurman 7d0de39b84 Remove chord from pickup notes. 2023-03-07 00:28:10 +00:00
Louis Thurman d57b94a271 Update util script 2023-03-06 21:52:27 +00:00
Louis Thurman e327aeaca9 Add utility script 2023-03-06 20:46:19 +00:00
16 changed files with 126 additions and 47 deletions

1
.gitignore vendored
View File

@ -12,4 +12,5 @@ Library-.*
*.aux
*.log
*.orig
*.mid
*~

View File

@ -5,6 +5,6 @@ M: C
L: 1/4
Q: 160
K: Gmaj
"D" d | "D" d B c d | "G" B>A G d | "G" d B c d | "G" B3 :|
"G" B | "D" A F G A | "G" B>A G B | "D" A F G A | "G" B3 B |
d | "D" d B c d | "G" B>A G d | "G" d B c d | "G" B3 :|
B | "D" A F G A | "G" B>A G B | "D" A F G A | "G" B3 B |
"D" A F G A | "G" B>A G d | "D" d B c d | "G" B3 :|

View File

@ -7,8 +7,7 @@ M:C
L:1/8
Q:130
K:G
"G" GABc A2>G2 | "D" F2D2 D4 | "D" d2A2 "G" d3 "D7" c | "G" B2G2 G4 |
"G" GABc "C" A2> G2 | "D" F2D2 D4 | "D" d2A2 d3 c | "G" B2G2 G4 |
"Em" GABc "Am" A2>G2 | "D" F2 FG A2D2 | "C" EFG2 "D7" FGAB | "G" G4 G4 :|
"D" FGA2 FGA2 | "D" d2 "A7" A2 "D" d2 "A7" A2 |\
"D" FG "A" A2 "D" FG "A" A2 | "D" d2 "A7" A2 "D" d4 |
"G" d2cB "D" c2dc | "G" B2AG "D" A3D | "C" EFG2 "D7" FGAB | "G" G4 G4 :|
"D" FGA2 FGA2 | "D" d2 A2 d2 A2 | "C" FG A2 FG A2 | "D" d2 A2 d4 |
"G" d2cB "Am" c2dc | "Bm" B2AG "C" A3D | "D" EFG2 "C" FGAB | "G" G4 G4 :|

View File

@ -10,6 +10,6 @@ M:4/4
Q:180
K:G
dB|"G"G2G2 G2FG|"D"A2A2 A2BA|"C"GFED E2F2|"G"GABc dcBA|
G2G2 G2FG|"D"A2A2 A2BA|"C"GFED "D7"E2F2|G4G2 :|
GA|B2B2 B2AB|"Am"c2c2 cdcB| "D7"A2A2 A2GA|"G"B2B2 BcBA|
G2G2 G2FG|"D"A2A2 A2BA|"C"GFED "D7"E2F2|"G"G4G2 :|
G2G2 G2FG|"D"A2A2 A2BA|"C"GFED "D"E2F2|"G" G4G2 :|
GA|"G" B2B2 B2AB|"Am"c2c2 cdcB| "D"A2A2 A2GA|"G"B2B2 BcBA|
"Em" G2G2 G2FG|"Am"A2A2 A2BA|"D" GFED E2F2|"G"G4G2 :|

View File

@ -11,7 +11,7 @@ H:+ piping's greatest premature losses.
M: 9/8
L: 1/8
K: G
Q: 120
Q: 100
d>c |\
"G" BdB G3 GFG | "D" AGE E3 D3 | "C" EGE D3 G3 | "D" BdB A3- Ad>c |
"G" BdB G3 GFG | "D" AGE E3 D3 | "C" EGE D3 B3 | "D" ABA G3- G :|

View File

@ -13,6 +13,6 @@ L:1/16
Q:1/4=120
K:Em
"Em" B2 E2 E4| B2 E2 E3 F| G2G2F2G2|"D" A4G2A2|
|"Em" B2B2 "D" A2A2|"Em" G2G2 "D" F4|"Em" E2G2 "D" F2D2|"Em" E4 E4:|
"Em" E2G2E2G2|"D" F2D2D4|"C" E2G2E2G2|"D" A4G2A2|
|"Em" B2B2 "D" A2A2|"C" G2G2 "D" F4|"Em" E2G2 "D" F2D2|"Em" E4 E4:|
|"Em" B2B2 "D" A2A2|"Em" G2G2 "D" F4|"Em" EFG2 "D" F2D2|"Em" E4 E4:|
"Em" EFG2 EFG2|"D" F2D2D4|"C" EFG2 EFG2|"D" A4G2A2|
|"Em" B2B2 "D" A2A2|"C" G2G2 "D" F4|"Em" EFG2 "D" F2D2|"Em" E4 E4:|

View File

@ -8,5 +8,5 @@ Q: 180
d e f |: "G" g>f g>f | "G" g d d B | "C" c/d/ e d>c | "G" B G G>A |
"Em" B G G A/B/ | "Am" c A A2 | "G" B/c/ d "D" c B |\
[1 "D" A d e f :| [2 "D" A4 |]
|: "G" B G2 A/B/ | "Am" c A "Bm" d B | "C" e c c e | "D" f2 d e/f/ |
|: "G" B GG A/B/ | "Am" c A "Bm" d B | "C" e c c e | "D" f> e d e/f/ |
"G" g>f g f/e/ | "D" d e/f/ "G" g B | "C" c/d/ e "D" d>c | "G" B G G2 :|

View File

@ -10,8 +10,8 @@ M:4/4
L:1/8
Q:1/4=180
K:G
gf| "G" e2dc B2A2 | "C" B2G2E2D2 | "G" G2G2GABc | "D7" d4B2gf|
"G" e2dc B2A2 | "C" B2G2E2G2 | "D7" FG A2D2EF| "G" G4G2:|
dc | "G" B2d2 "D7" e2f2 | "G" g2dc "D7" BA G2 |\
"G" Bc d2 "Em" e2f2 | "C" g4 "D7" f2gf|
"G" e2dc B2A2 | "C" B2G2E2G2 | "D7" FG A2D2EF | |"G" G4G2 :|
gf| "G" e2dc B2A2 | "C" B2G2E2D2 | "G" G2G2GABc | "D" d4B2gf|
"G" e2dc B2A2 | "C" B2G2E2G2 | "D" FG A2D2EF| "G" G4G2:|
dc | "G" B2d2 "Am" e2f2 | "C" g2dc "G" BA G2 |\
"G" Bc d2 "Em" e2f2 | "C" g4 "D" f2gf|
"G" e2dc B2A2 | "C" B2G2E2G2 | "D" FG A2D2EF | |"G" G4G2 :|

View File

@ -6,5 +6,5 @@ Q: 160
K: Gmaj
"G" G2 B d2 g | "G" gfe d3 | "D" cdc "G" B2 B | "D" AGA "Em" B2 G |
"G" G2 B d2 g | "G" gfe d3 | "D" cdc "G" B2 B | "D" AGA "G" G3 :|
"B" B3 B3 | "B" BAB "D" c3 | "G" B2 c d2 c | "G" B2 A B2 G |
"Em" B3 B3 | "Em" BAB "C" c3 | "G" B2 g dBG | "D" A3 "G" G3 :|
"G" B3 "Em" B3 | "C" BAB "D" c3 | "G" B2 c d2 c | "G" B2 A B2 G |
"G" B3 "Em" B3 | "C" BAB "D" c3 | "G" B2 g dBG | "D" A3 "G" G3 :|

View File

@ -1,14 +1,15 @@
X: 1
T: Dancing Oolert, The
C: Sally Kirkpatrick
M: 4/4
L: 1/8
Q: 1/4=130
H: Dottes: An oolert, or wollert, is a name used in Shropshire for a barn owl.
K: G
"D" .!>!A2 AG FD FA | dA FA "C" c2 B2 | "D" .!>!A2 AG FD EF | "Em" GA GF EF G2 |
"D" .!>!A2 AG FD FA | dA FA "Am" c2 "Bm" B2 | "D" AB AG "A" F2 E2 | "D" D6 :|
K: D
F2 | \
"Em" .!>!E2 EF GE DC | "D" DE FG A2 F2 | "Em" .!>!E2 EF GE | "D" DC D4 A,2 |
"Em" .!>!E2 EF GE DC | "D" DE FG A2 F2 | "Em" E2 EF "G" GE cB | "D" A6 :|
H: Dottes: An oolert, or wollert, is a name used in Shropshire for a barn owl. Often the last bar and half of the B part modulates back to D Mix.
K: DMix
G2 | "D" .!>!A2 AG FD FA | dA FA "C" c2 B2 | "D" .!>!A2 AG FD EF | "Em" GA GF EF G2 |
"D" .!>!A2 AG FD FA | dA FA "Am" c2 "Bm" B2 | "D" AB AG "A" F2 E2 |1 "D" D6 :|2 "D" D8 ||
K: EDor
|: "Em" .!>!E2 EF GE DC | "D" DE FG A2 F2 | "C" .!>!E2 EF GE DC | "G" D4 "D" A,4 |
"Em" .!>!E2 EF GE DC | "D" DE FG A2 F2 | "Em" E2 EF "G" GE cB | "D" A8 :|
| "_Alternative B part ending." "C" E2 EF GE =cB | "D" A4 "G" G4 ||

View File

@ -7,11 +7,7 @@ L: 1/8
R: waltz
K: Gmaj
Q: 1/4=120
D GA | "G" B2 Bc B2 |"D" A2ABA2 |"C" G2E2GE |"G" D2>D2 GA|\
"G" B2 d2 e2 | d2 c2 B2 | d2 c2 B2 |
"D" A2>D2 GA | "G" B2 Bc B2 | "D" A2ABA2 | "C" G2E2GE | "G" D2>D2 GA|\
"G" B2 d2 e2 | d2 c2 B2 | "D" A2 G2 F2 | "G "G3 ||
G Bd | "C" e2 d2>B2 | c2 B2 Bc | "G" d2 c2 B2 | "D" A4 B2 |\
"C" c2 cd c2 | "G" B2 Bc B2 | "Am" A2 G2 E2 |
"D" D2>D2 GA | "G" B2 Bc B2 | "D" A2 AB A2 | "C" G2 E2 GE |\
"G" D2>D2 GA | "G" B2 d2 e2 | d2 c2 B2 | "D" A2 G2 F2 | "G" G3 |]
D GA | "G" B2 Bc B2 |"D" A2ABA2 |"C" G2E2GE |"G" D2>D2 GA | "G" B2 d2 e2 | "Am" d2 c2 B2 | "C" d2 c2 B2 |
"D" A2>D2 GA | "G" B2 Bc B2 | "D" A2ABA2 | "C" G2E2GE | "G" D2>D2 GA | "G" B2 d2 e2 | "Am" d2 c2 B2 | "D" A2 G2 F2 | "G "G3 ||
G Bd | "C" e2 d2>B2 | c2 B2 Bc | "G" d2 c2 B2 | "D" A4 B2 | "C" c2 cd c2 | "G" B2 Bc B2 | "Am" A2 G2 E2 |
"D" D2>D2 GA | "G" B2 Bc B2 | "D" A2 AB A2 | "C" G2 E2 GE | "G" D2>D2 GA | "G" B2 d2 e2 | "C" d2 c2 B2 | "D" A2 G2 F2 | "G" G3 |]

View File

@ -4,7 +4,7 @@ M: 3/4
L: 1/4
O: Finland
Q: 140
K: FMaj
K: Dm
D/F/ |: "Dm" A2 A | F D F | A2 A | F D D/F/ |
"A7" E2 E/F/ | G F E | [1 "Dm" D>EF/G/ | A2 D/F/ :| [2 "n.c." D3 | D F A ||
|: "Gm" d2 d | d c B | "Dm" A2 A | A G F |

View File

@ -1,10 +1,10 @@
X: 1
T: Fiery Clock Face, The
R: jig
M: 6/8
L: 1/8
Q: 160
K: Gmaj
d | "G" g2 g G2 A | B2 c d2 e | "F" =f2 f A2 B | c2 d e2 ^f |
"G" g2 g G2 A | B2 c d2 d | "C" efg "D7" a2 f | "G" g3 g2 :|
A | "G" B2 B GAB | "Am" c2 B A2 G | "D7" F2 E D2 E | F2 G A2 ^A |
"G" B2 B GAB | "Am" c2 B A2 G | "D7" FED E2 F | "G" G3 G2 :|
K: Dmaj
c | "D" d2 d D2 E | F2 G A2 B | "C" =c2 =c E2 F | G2 A B2 c |
"D" d2 d D2 E | F2 G A3 |"A" Bcd ecA | "D" d3 d2 :|
g | "D" f2 d def | "Em" g2 f e2 d | "A" c2 B A2 B | c2 d e2 g |
"D" f2 d def | "Em" g2 f e2 d | "A" c2 A B2 c | "D" d3 d2 :|

View File

@ -7,6 +7,6 @@ K:G
dc | "G" B2B2B2G2 | "D" AGAB "G" G2AB | "Am" cBAG "G" GABc | "D" d2ec B2dc |
"G" B2B2B2G2 | "D" AGAB "G" G2AB | "Am" cBAG "G" GABG |\
[1 "D" A4 "G" G2 :| [2 "D" A4 "G" G4 |]
"G" GABc "D" d2d2| "D" d2 e2 d4 | "C" e2d2 "G" g2B2 | "D" d2ec B2A2 |
|: "G" GABc "D" d2d2| "D" d2 e2 d4 | "C" e2d2 "G" g2B2 | "D" d2ec B2A2 |
"G" B2B2B2G2 | "D" AGAB "G" G2AB | "Am" cBAG "G" GABc | "D" d2ec B2A2 |
"G" B2B2B2G2 | "D" AGAB "G" G2AB | "Am" cBAG "G" GABG | "D" A4 "G" G4 :|

View File

@ -16,5 +16,6 @@ K:G
"G" G>A B B | "D" c B A c | "Em" B G "D" A F | "G" G2 G2 :|
"D" d c/B/ A "G" B | "D" c B/A/ "G" G/A/ B | "D" A G F "G" G | "D" A2 A2 |
d c/B/ A "G" B | "D" c B/A/ "G" G/A/ B | "D" A G G F | "G" G2 G2 :|
"Em" _B A/G/ B A/G/ | "D" F G A2 | D E F G | A _B A G |
"Em" _B A/G/ B A/G/ | "D" F G A2 | D E F G | G F "G" G2 :|
K:Gdor
"Gm" B A/G/ B A/G/ | "D" ^F G A2 | D E ^F G | A B A G |
"Gm" B A/G/ B A/G/ | "D" ^F G A2 | D E ^F G | G ^F "G" G2 :|

81
auto_render.py Normal file
View File

@ -0,0 +1,81 @@
#!/usr/bin/python3 -u
import logging
import pathlib
import subprocess
import sys
import time
win_root = pathlib.Path(r"C:\Users\louis\GitKraken\dottes")
lin_root = pathlib.Path("~/dottes")
file_update_times = {}
def run_continuous():
logging.info("Run continous")
pwd = pathlib.Path()
while True:
for obj_path in pwd.rglob("*"):
obj_path_str = str(obj_path)
if not obj_path.is_file():
continue
if not obj_path_str.lower().endswith(".abc"):
continue
if obj_path_str not in file_update_times:
file_update_times[obj_path_str] = obj_path.lstat().st_mtime
else:
if obj_path.lstat().st_mtime > file_update_times[obj_path_str]:
file_update_times[obj_path_str] = obj_path.lstat().st_mtime
convert_single(lin_path=obj_path_str)
def convert_single(win_path: str = None, lin_path: str = None):
if win_path:
input_path = win_path
win_abc_file_path = pathlib.Path(win_path)
lin_abc_file_path = lin_root / win_abc_file_path.relative_to(win_root)
elif lin_path:
input_path = lin_path
lin_abc_file_path = pathlib.Path(lin_path)
else:
raise Exception("Argument win_path or lin_path must be given")
logging.info(f"Converting {input_path}")
out_file_name = lin_abc_file_path.name.rsplit(".", 1)[0] + ".mid"
output_path = lin_abc_file_path.parent / out_file_name
if output_path.exists():
output_path.unlink()
r = subprocess.run(
[
"abc2midi",
lin_abc_file_path.as_posix(),
"-o", output_path.as_posix()
]
)
if r.returncode != 0:
logging.error(f"Error whilst convering {lin_abc_file_path}")
else:
logging.info(f"Converted {input_path} > {output_path}")
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
if len(sys.argv) > 1:
if sys.platform == "win32":
convert_single(win_path=sys.argv[1])
elif sys.platform == "linux":
convert_single(lin_path=sys.argv[1])
else:
raise Exception(f"Unknown platform '{sys.platform}', don't know how to interpret path")
else:
run_continuous()