Please, I cannot understand what I am doing wrong. When I compile the ly file, I get a spurious partial in the 2nd alternative of the 2nd part.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
% automatically converted by musicxml2ly from test.xml
\header {
source = "https://www.ibiblio.org/fiddlers/FARG_FAY.htm
Paul O'Shaughnessy"
encoder = "abc2xml version 226"
encodingdate = "2021-02-16"
composer = "Father Patrick Joseph Kelly"
title = "Lough Derg Jig"
}
%\override Staff.BarLine.stencil = ##f
lough_derg_jig = \relative d' {
\tempo 4 = 120
\repeat volta 2 {
\key g \major \time 6/8 %%| % 1
\partial 8*1 d8 %!*5 %%| % 3
g8 [ fis8 g8 ] b8 [ a8 g8 ] %%| % 4
fis4 g8 a8 [ fis8 d8 ] %%| % 5
g8 [ fis8 g8 ] b8 [ a8 g8 ] %%| % 6
b8 [ d8 b8 ] c8 [ a8 fis8 ] %%| % 7
g4 c8 b8 [ a8 g8 ] %%| % 8
fis4. a8 [ fis8 d8 ] %%| % 9
d'8 [ cis8 d8 ] fis8 [ e8 d8 ] %%| \barNumberCheck #10
c8 [ a8 fis8 ] g4
}
\break
\repeat volta 2 {
\partial 8*1 a8 %!*5 %%| % 13
b4 d8 g8 [ d8 b8 ] %%| % 14
d8 [ g8 b,8 ] d8 [ g8 b,8 ] %%| % 15
c4 e8 g8 [ e8 c8 ] %%| % 16
e8 [ g8 c,8 ] e8 [ g8 e8 ] %%| % 17
d4 fis8 a8 [ fis8 d8 ] %%| % 18
fis8 [ a8 d,8 ] fis8 [ a8 d,8 ]
}
\alternative {
{g8 [ fis8 g8 ] e8 [ fis8 g8 ] \barNumberCheck #20
a8 [ fis8 d8 ] c8 [ b8 ] }
{d8 cis8 d8 fis8 [ e8 d8 ]
c8 [ a8 fis8 ] g4 }
}
\break
\repeat volta 2 {
\partial 8*1 c8
b4. b8 g e
fis4 g8 a fis e
}
\alternative {
{b' d b g a g
b d b c a fis}
{d' cis d fis e d
c a fis g4}
}
}
% The score definition
lough_derg_jig_chords = \chordmode {
\set noChordSymbol = ""
}
lough_derg_jig_final = {
<<
\new ChordNames {
\set chordChanges = ##t
\lough_derg_jig_chords
}
\new Voice = "one" { \lough_derg_jig}
>>
}
\score {
\lough_derg_jig_final
\header {
piece = "lough_derg_jig"
}
\layout {
indent = #0
line-width = #180
ragged-last = ##t
}
}
\score {
\unfoldRepeats
{
\lough_derg_jig_final
\lough_derg_jig_final
\lough_derg_jig_final
}
\midi{}
}
\markup{filename: lough.derg.jig.ly}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I have produced the ly file by:
python abc2xml.py file.abc > test.xml
musicxml2ly test.xml"
abcm2ps test.abc works fine.
I do not know how to change the ly file to get rid of the partial.