lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lyric+Chords project] required engravers


From: Johan Vromans
Subject: Re: [Lyric+Chords project] required engravers
Date: Sun, 16 Dec 2018 17:10:54 +0100

Hi Kieren,

I would suggest to split it in two phases.

Phase 1 would be to parse the input, and collect the syllables and
durations in a structure similar to (e.g. JSON):

  [
    { "chords"  : [ "C",  "D",          "E" ],
      "phrases" : [ "Aw", "ay in the ", "manger" ]
    },
    ...next line...
    ...and so on...
  ]

Phase 2 would do the formatting.

This would provide an intermedeate data structure that can easiliy be
checked (visually) and tweaked (manually) for development and fun.

... and it is similar to the structure that is used internally by ChordPro
so it would become possible to have LilyPond do the parsing and ChordPro do
the formatting, and vice versa. The sky is the limit :) .

-- Johan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]