Hi lilyponders,
Initially I run the attached .ly with lilypond v2.16.2, it compile ok ---
refer to (#B....)
Then I change version# to v2.17.0 and the compile failed with return code 3
---refer to (#A....)
Any help is appreciated. I use frescobaldi 2.0.10 and used frescobaldi's
tools/setup new score to generate the template file. The score is coded in
g/major. Then I coded \transpose g d to the score. Both compiled ok in v2.16.2
Sorry for the large file - 235 lines.
Blessings,
Ming
(#A....)
Starting lilypond.exe 2.17.21 [song-of-songs_g2dX.ly]...
Processing
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/song-of-songs/song-of-songs_g2dX.ly'
Parsing...
Interpreting music...
MIDI output to `song-of-songs_g2dX-soprano.mid'...
Interpreting music...
MIDI output to `song-of-songs_g2dX-alto.mid'...
Interpreting music...
MIDI output to `song-of-songs_g2dX-bass.mid'...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `song-of-songs_g2dX.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Exited with return code 3.
(#B....)
Starting lilypond-windows.exe 2.16.2 [song-of-songs_g2dX.ly]...
Processing
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/song-of-songs/song-of-songs_g2dX.ly'
Parsing...
Interpreting music...
MIDI output to `song-of-songs_g2dX-soprano.mid'...
Interpreting music...
MIDI output to `song-of-songs_g2dX-alto.mid'...
Interpreting music...
MIDI output to `song-of-songs_g2dX-bass.mid'...
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `song-of-songs_g2dX.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `song-of-songs_g2dX.ps'...
Converting to `./song-of-songs_g2dX.pdf'...
Success: compilation successfully completed
Completed successfully in 5.1".
\version "2.17.0"
\language "english"
#(set-global-staff-size 16)
global = {
\key g \major
%\transpose g d
\numericTimeSignature
\time 6/4
\partial 4
\tempo 4=100
}
chordNames = \chordmode {
\global
% Chords follow here.
}
melody = \relative c'' {
\global
% Music follows here.
}
verseLeadSheet = \lyricmode {
% Lyrics follow here.
}
sopranoââ
b = \relative c''{ b8 c8 }
sopranoâ = \relative c''{ d4.cs8 e4 d2 b8 as8 }
sopranoâ = \relative c''{ g4. fs8 a4 g2 g4 }
sopranoâ = \relative c''{ c4. c8 c4 e4 d4 d4 }
sopranoâa = \relative c''{ a2.~ a2 }
sopranoâb = \sopranoââ
b
sopranoâ = \sopranoâ
sopranoâ
= \relative c''{ g4. fs8 a4 g2 a8( b8) }
sopranoâ = \relative c''{ c4. d8 c4 b4 fs4 a4 }
sopranoâa = \relative c''{ g2.~ g2 }
sopranoâb = \relative c''{ g4 }
sopranoâ = \relative c''{ c4. g8 c8 d8 e2 e4 }
sopranoââ = \relative c''{ d4. d8 e8 d8 a2 a4 }
sopranoââ = \relative c''{ b4. b8 b4 b4 a4 g4 }
sopranoââa = \relative c''{ d2. a2 }
sopranoââb = \sopranoââ
b
sopranoââ = \sopranoâ
sopranoââ = \sopranoâ
sopranoââ = \sopranoâ
sopranoââ
a = \sopranoâa
soprano = { \global
\sopranoââ
b \sopranoâ \sopranoâ \sopranoâ \sopranoâa \bar""\break
\sopranoâb \sopranoâ \sopranoâ
\sopranoâ \sopranoâa \bar""\break
\sopranoâb \sopranoâ \sopranoââ \sopranoââ \sopranoââa \bar""\break
\sopranoââb \sopranoââ \sopranoââ \sopranoââ \sopranoââ
a \bar"|."
\label #'lastPage
}
altoââ
b = \relative c''{ g8 a8 }
altoâ = \relative c''{ b4. as8 as4 b2 g8 f8 }
altoâ = \relative c'{e4. ds8 ds4 e2 e4 }
altoâ = \relative c'{ e4. e8 e4 fs4 fs4 fs4 }
altoâa = \relative c'{ fs4 <g e>4 <fs d>4~ q4 r4 }
altoâb = \altoââ
b
altoâ = \altoâ
altoâ
= \relative c'{ e4. ds8 ds4 e2 e8( g8) }
altoâ = \relative c''{ a4. b8 a4 g4 d4 d8( c8) }
altoâa = \relative c'{ b2.~ b2 }
altoâb = \relative c'{ f4 }
altoâ = \relative c'{ e4. e8 e8 f8 g2 c4 }
altoââ = \relative c''{ b4. b8 c8 b8 fs2 fs4 }
altoââ = \relative c''{ g4. g8 g4 g4 d4 e4 }
altoââa = \relative c'{ fs2. fs2 }
altoââb = \altoââ
b
altoââ = \relative c''{ b4. as8 as4 b2 g8 fs8 }
altoââ = \altoâ
altoââ = \altoâ
altoââ
a = \altoâa
alto = { \global
\altoââ
b \altoâ \altoâ \altoâ \altoâa
\altoâb \altoâ \altoâ
\altoâ \altoâa
\altoâb \altoâ \altoââ \altoââ \altoââa
\altoââb \altoââ \altoââ \altoââ \altoââ
a
}
tenor = \relative c' {
\global
% Music follows here.
}
bassâ¶â»b = \relative c{ r4 }
bassâ¶ = \relative c{ g8 b8 d8 gs8 a8 gs8 d8 b8 g8 b8 d8 gs8 }
bassâ· = \relative c{ c8 e g cs d cs g e c e g cs }
bass⸠= \relative c{ c8 e g c e c d, fs a d fs d }
bassâ¹a = \relative c{ d8 fs a d c a fs d c a }
bassâ¹b = \bassâ¶â»b
bass⺠= \bassâ¶
bassâ» = \relative c{ c8 e g c ef c g e c b a fs }
bassâ¼ = \relative c,{ d8 fs a d fs a d c a fs d a'}
bassâ½a = \relative c'{ g8 d b d g,2. }
bassâ½b = \bassâ¶â»b
bassâ¾ = \relative c{ c8 e g c e c g e c e g c }
bassâ¶â¿ = \relative c{ d8 g b d g d a fs d c a fs }
bassâ¶â¶ = \relative c{ g8 b d g b d g d c a g e }
bassâ¶â·a = \relative c{ d8 fs a d fs d a fs d c }
bassâ¶â·b = \bassâ¶â»b
bassâ¶â¸ = \bassâ¶
bassâ¶â¹ = \relative c{ c8 e g c ds c g e c b a fs }
bassâ¶âº = \bassâ¼
bassâ¶â»a = \bassâ½a
bass = { \global
\bassâ¶â»b \bassâ¶ \bassâ· \bass⸠\bassâ¹a
\bassâ¹b \bass⺠\bassâ» \bassâ¼ \bassâ½a
\bassâ½b \bassâ¾ \bassâ¶â¿ \bassâ¶â¶ \bassâ¶â·a
\bassâ¶â·b \bassâ¶â¸ \bassâ¶â¹ \bassâ¶âº \bassâ¶â»a
}
verseOne = \lyricmode {
\set stanza = "1."
主 å 祢 å¸ å¼ æ, æ å°± å¿« è· é¨ ç¥¢, æ å¿ æ·± æ·± è 主 å¯ å¥.
é ç¶ å 風 å¹ ä¾, é ç¶ å 風 è èµ·, å´ æº¢ åº æ å ä¸ é¦ æ°£.
æ 主 å
¨ ç¶ ç¾ éº, æ 主 滿 æ å¿ æ, 主, 祢 屬 æ, 主, æ ä¹ å±¬ 祢,
ç¾ æ°´ ä¸ è½ ç æ»
, 大 æ°´ ä¸ è½ æ·¹ 没, æ å¿
, æ å¿
æ 主 å° åº.
}
verseTwo = \lyricmode {
\set stanza = "2."
" "
}
rehearsalMidi = #
(define-music-function
(parser location name midiInstrument lyrics) (string? string? ly:music?)
#{
\unfoldRepeats <<
\new Staff = "soprano" \new Voice = "soprano" { s1*0\f \soprano }
\new Staff = "alto" \new Voice = "alto" { s1*0\f \alto }
%\new Staff = "tenor" \new Voice = "tenor" { s1*0\f \tenor }
\new Staff = "bass" \new Voice = "bass" { s1*0\f \bass }
\context Staff = $name {
\set Score.midiMinimumVolume = #0.5
\set Score.midiMaximumVolume = #0.5
\set Score.tempoWholesPerMinute = #(ly:make-moment 100 4)
\set Staff.midiMinimumVolume = #0.8
\set Staff.midiMaximumVolume = #1.0
\set Staff.midiInstrument = $midiInstrument
}
\new Lyrics \with {
alignBelowContext = $name
} \lyricsto $name $lyrics
>>
#})
leadSheetPart = <<
\new ChordNames \chordNames
%\new Staff { \melody }
%\addlyrics { \verseLeadSheet }
>>
choirPart = \new ChoirStaff \transpose g d <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { "S." "A." }
shortInstrumentName = \markup \center-column { "S." "A." }
} <<
\new Voice = "soprano" { \voiceOne \soprano }
\new Voice = "alto" { \voiceTwo \alto }
>>
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "soprano" \verseOne
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "soprano" \verseTwo
\new Staff \with {
%midiInstrument = "choir aahs"
instrumentName = \markup \center-column { "T." "B." }
shortInstrumentName = \markup \center-column { "T." "B." }
} <<
\clef bass
%\new Voice = "tenor" { \voiceOne \tenor }
\new Voice = "bass" { \voiceTwo \bass }
>>
>>
\score {
<<
\leadSheetPart
\choirPart
>>
\layout { indent = 0 }
\midi { }
}
% Rehearsal MIDI files:
\book {
\bookOutputSuffix "soprano"
\score {
\rehearsalMidi "soprano" "soprano sax" \verseOne
\midi { }
}
}
\book {
\bookOutputSuffix "alto"
\score {
\rehearsalMidi "alto" "soprano sax" \verseOne
\midi { }
}
}
%\book {
% \bookOutputSuffix "tenor"
% \score {
% \rehearsalMidi "tenor" "tenor sax" \verseOne
% \midi { }
% }
%}
\book {
\bookOutputSuffix "bass"
\score {
\rehearsalMidi "bass" "tenor sax" \verseOne
\midi { }
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user