Re: Can't compile Mutopia file

2009-09-24 Thread Peter Chubb
 M. Ramos == M. Ramos  savio.deb...@gmail.com writes:

M. Ramos Can't compile the file below, mysteriouos commands: 

The file looks to be for quite an old version of LilyPond.

To fix, look in the `extra information' fields in the Mutopia website
for the piece, and find out which lilypond version it is for.  Then
add a line

\version x.y.z
(where x.y.z is the version it is for) and run convert-ly on the
result.  Then try again with LilyPond.

--
Dr Peter Chubb  www.nicta.com.aupeter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't compile Mutopia file

2009-09-24 Thread Xavier Scheuer

Peter Chubb a écrit :

The file looks to be for quite an old version of LilyPond.

To fix, look in the `extra information' fields in the Mutopia website
for the piece, and find out which lilypond version it is for.  Then
add a line

\version x.y.z
(where x.y.z is the version it is for) and run convert-ly on the
result.  Then try again with LilyPond.


According to Mutopia's website version is 1.3.130.

I ran convert-ly, corrected a few mistakes remaining and then I could 
compile it with lilypond.

See attached file for compilable result.


Sávio M. Ramos a écrit :
 Can't compile the file below, mysteriouos commands:

 1) \include paper16.ly
becomes #(set-global-staff-size 16)

 2) Treble = \notes \context Voice = $Treble {
Treble = \context Voice = Treble  %% or \new Voice = Treble

 3) Middle = \notes \context Voice = $Middle {
 4) Bass = \notes \context Voice = $Bass {
Idem.

 5) GuitarStaff = \context Staff = GuitarStaff 
\property Staff.midiInstrument = acoustic guitar (nylon)
\property Staff.transposing = -12
GuitarStaff = \context Staff = GuitarStaff 
\set Staff.midiInstrument = acoustic guitar (nylon)
\transposition c


 Any help?

Hope this helps.
Sincerely,


Xavier
\version 2.13.3

\header{

title = Suite in C Minor for Lute (trans. to A minor)
subtitle = 3. Sarabande
opus = BWV 997
composer = Johann Sebastian Bach (1685-1750)
instrument= Guitar

mutopiatitle = Lute Suite BWV 997: 3. Sarabande
mutopiacomposer = J. S. Bach
mutopiainstrument = Lute, Guitar
date = ca.1740-41
style = Baroque
copyright = Public Domain
filename = bmv997-03sarabande.ly
lastupdated = 2001/Feb/25
tagline = \\parbox{\paper-width}{\\thefooter\\quad\\small This music is part of the Mutopia project, \\texttt{http://www.mutopiaproject.org/}It has been typeset and placed in the public domain by David Megginson.Unrestricted modification and redistribution is permitted and encouraged---copy this music and share it!}
footer = Mutopia-2001/02/25-52

}

#(set-global-staff-size 16)
Treble =  \context Voice = Treble {
\set Staff.midiInstrument = acoustic guitar (nylon)
\time 3/4
\key a \minor
\clef treble
\repeat volta 2 {
\stemUp a''8. b''32(  c''') b''8 a'' gis'' a'' |
d''2. |
d''16 f'' e'' d'' b''8. a''16 gis'' f'' e'' d'' |
c'' b' c'' b' a' e' a' b' c'' d'' e'' f'' |
%5
g'' e'' cis''8(  cis'') r r4 |
f'16 cis'' d'' gis'' a'' f' e' d' e' d'' cis'' gis'' |
a'' e' dis' cis' dis' fis' a' cis'' b' gis' a' fis'' |
dis' a' c''4 gis' b' r |
c''16( d''  e'') e'' e''( f''  g'') g'' g''( a''  bes'') bes'' |
%10
bes''(  g'') g''(  e'') e''(  c'') c''(  bes') bes'( a'  bes') g'' |
a'( bes'  c'') c'' c''( d''  e'') e'' e''( f''  g'') g'' |
g''(  e'') e''(  cis'') cis''(  a') a'(  g') g'( f'  g') e'' |
f' e' d' e' f' g' a' b' c'' b' a' c'' |
b' a' g' a' b' c'' d'' e'' f'' e'' d'' f'' |
%15
e'' g'' f'' a'' g'' c'' b' c'' f'' e'' d'' c'' |
} \alternative {{
e' g' c''2. |
}{
e' g' c'' |
}}
\repeat volta 2 {
e''8. f''32 g'' f''8 e'' d'' c'' |
fis''2. |
g''8. a''32 b'' a''16 g'' fis'' e'' d'' b' c'' a'' |
%20
c'' b' c'' d'' b'4 g'' b'' |
g'' b''8 fis'' a'' fis'' a'' e'' g'' e'' g'' dis'' fis'' |
fis'' g''16 a'' c''4(  b') |
b'16 cis'' dis'' e'' fis'' a'' g'' fis'' g'' e'' fis'' dis'' |
e''4 g''2 |
%25
g''16( f''  e'') e'' e''( d''  cis'') cis'' cis''( b'  a') a' |
a'(  cis'') cis''(  e'') e''(  g'') g''(  bes'') a''(  g'') f''(  e'') |
f''( e''  d'') d'' d'' c'' b' b' b'( a'  g') g' |
g'(  b') b'(  d'') d''(  f'') f''(  a'') g''(  f'') e''(  d'') |
e'' f''( e'' d'' c'' b' a' gis'  a') c'' e'' gis' |
%30
f' d'' e' c'' d' b' c' a' b gis' d'' f'' |
e'' gis'' a'' f'' dis'' e'' gis' a' d'' c'' b' a' |
} \alternative {{
c' e' a'2. |
}{
c' e' a' \bar |.
}}
}
Middle =  \context Voice = Middle {
\set Staff.midiInstrument = acoustic guitar (nylon)
\time 3/4
\key a \minor
\clef treble
\repeat volta 2 {
\stemNeutral c'' e''4 d''8 c'' b' c'' |
f' b'2. |
f' b'4 gis' d'' r |
s s s |
%5
r8 g'(  g'16) bes' a' g' a' g' f' e' |
s4 s s |
s s s |
s s s |
s s s |
%10
s s s |
s s s |
s s s |
s s s |
s s s |
%15
s s s |
} \alternative {{
s s s |
}{
s s s |
}}
\repeat volta 2 {
g' c'' a'8 g' f' e' |
d' a'2. |
g' d''4 e'' r8 a' |
%20
d' a'4 g' r |
s s s |
d''8 e'' a'2 |
r4 r r |
g' b' r8 bes' bes' a' |
%25
e' a'4 r r |
s s s |
s s s |
s s s |
s s s |
%30