lilypond-user
[Top][All Lists]
Advanced

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

Re: transpose a score from mutopia


From: karl
Subject: Re: transpose a score from mutopia
Date: Thu, 1 Dec 2016 18:18:57 +0100 (CET)

mj:
...
> Michael:
> >> I am trying to transpose a Messiah lilypond file from mutopia:
> >> http://www.mutopiaproject.org/ftp/HandelGF/HWV56/Messiah/Messiah-lys.zip
> >>
> >> However I'm not getting very far, could use a bit of help....
> >>
> >> Extracting the zip gives a folder structure like:
> >>
> >>
> >>     |-common
> >>     |-Haendel
> >>     |---Oratorio
> >>     |-----Messiah
> >>     |-------AAsinfonia
> >>     ..... (many more)
> >>     |-------CGchorus
> >>     |-------CHairSoprano
> >>     |-------CIchorus
> >>     |-------CJchorus
> >>     |-lilypond-patches
> >>     |-out
> >>     |-templates
> >>
> >> So, looking at this, there is a main.ly in ./Haendel/Oratorio/Messiah
> >> which I opened in frescobaldi, but I can't compile it, as all the paths
> >> in main.ly look like "\include "Haendel/Oratorio/Messiah/common.ily"
> >
> > The aforementioned include tries to include the file common.ily, which is 
> > in the
> > same folder as the main.ly you are trying to convert.
> > Given that there is also a directory ./common which hold a couple of other
> > to-be-included files I'd add the directory that you extracted your ZIP in to
> > frescobaldi's include paths.
> >
> > E.g. the absolute path to your main.ly would be
> > /home/mj/my-lp-scores/from_mutopia/Haendel/Oratorio/Messiah/main.ly
> > then add "/home/mj/my-lp-scores/from_mutopia/" (or 
> > ~/my-lp-scores/from_mutopia/)
> > to frescobaldi's include paths.

I don't know much about frescobaldi, but unzipping the file
and cd Messiah-lys, gives me the folder structure outlined above.
There is also a Makefile and:

$ make help
usage: make <score-rule>
score-rule:
  <score>           Build a A4 PDF score
  <score>-rehearsal Build a A4 PDF score with rehearsal numbers
  <score>-letter    Build a Letter PDF score
  <score>-<part>    Build a PDF part score
  <score>-delivery  Make archive and move PDFs to delivery directory
  <score>-all       Build all PDF formats and make delivery
score:
  Rameau/Opera/HippolyteEtAricie
  Couperin/Orgue/MesseCouvents
  Couperin/Motets
  Couperin/Clavecin/lArtDeToucherLeClavecin
  Lully/Ballet/LWV05LaReventeDesHabits
  Lully/Ballet/LWV08AmourMalade
  Lully/Fete/LWV22LesPlaisirsDeLIleEnchantee
  Lully/Comedie/LWV43LeBourgeoisGentilhomme
  Lully/Opera/LWV56Psyche
  Lully/Opera/LWV61Phaeton
  Lully/Opera/LWV71Armide
  Charpentier/Opera/DavidEtJonathas
  Haendel/Opera/GiulioCesare
  Haendel/Oratorio/Messiah
  PancraceRoyer/PremierLivre

which implies that the correct procedure to make the score would be

$ make Haendel/Oratorio/Messiah
lilypond -ddelete-intermediate-files  -o out/Messiah 
Haendel/Oratorio/Messiah/main.ly
GNU LilyPond 2.19.16
...

But since I have a newer lilypond version than the source I expect it 
to fail, which it does.

Source version can be found with:

$ find . -type f -name \*.ily -or -name \*.ly | xargs  grep version 
./common/common.ily:\version "2.13.7"
./common/common.ily:        #(ly:export (string-append "version " 
(lilypond-version)))
./common/music-commands.ily:\version "2.11.57"
./common/test-clef-key.ly:\version "2.11.39"
./common/test-markup.ly:\version "2.11.39"
./common/test-titling.ly:\version "2.11.39"

So to proceed forward I suggest you dig up lilypond version 2.13.7.

There is also a patch in lilypond-patches/lilypond.patch, and looking 
through lily/page-turn-page-breaking.cc I can see that that patch is 
not applied in the git repo. You might need to apply that patch too
succeed, who knows. Unfortunately the patch doesn't apply cleanly to
neither version 2.11.39 nor 2.13.7.

To get version 2.13.7 do:

$ git branch release/2.13.7
$ git checkout release/2.13.7
Switched to branch 'release/2.13.7'

Then INSTALL.txt in lilypond git covers the compilation process.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





reply via email to

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