From: Paul Morris <paulwmorris@gmail.com>
Date: Mon, 22 May 2017 19:35:40 +0000 (-0400)
Subject: abc2ly: Support R (rhythm / meter) and Z (transcription) fields
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3702169e4b17edbb4bff9331215eccaba6f2d478;p=lilypond.git

abc2ly: Support R (rhythm / meter) and Z (transcription) fields
---

diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py
index 752f97f3be..e6e0d12407 100644
--- a/scripts/abc2ly.py
+++ b/scripts/abc2ly.py
@@ -761,8 +761,12 @@ def try_parse_header_line (ln, state):
             lyrics_append(a)
         if g == 'w':        # vocals
             slyrics_append (a)
-        if g == 'Q':    #tempo
+        if g == 'Q':        # tempo
             try_parse_q (a)
+        if g == 'R':        # Rhythm (e.g. jig, reel, hornpipe)
+            header['meter'] = a
+        if g == 'Z':        # Transcription (e.g. Steve Mansfield 1/2/2000)
+            header['transcription'] = a
         return ''
     return ln