Hello list.
Apparently musicxml2ly.py doesn't recognize chords. Here goes 2 examples:
The original file converted to abc, and converted to musicxml.

Eduardo Vieira
___________________________________________________________________________________
Neste Fim de Ano, interurbano para cidades próximas ou distantes é com o  21.
A Embratel tem tarifas muito baratas de presente para você ligar para quem
você gosta e economizar. Faz um 21 e aproveite.

Attachment: chorda.abc
Description: Binary data

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd";>

<score-partwise>
	<work>
		<work-title>Title</work-title>
	</work>
	<identification>
		<creator type="composer">Composer:</creator>
		<creator type="poet">Remarks:</creator>
		<encoding>
			<software>Harmony Assistant v9.2.0 PC (c) Myriad - http://www.myriad-online.com</software>
			<software>MyrScript v1.3.0</software>
			<software>MusicXML Export v0.2.0</software>
			<encoding-date>2006-12-18</encoding-date>
		</encoding>
	</identification>
	

	<part-list>
		<score-part id="P1">
			<part-name>Melody</part-name>
			<part-abbreviation>Mel.</part-abbreviation>
			<score-instrument id="P1-X6">
				<instrument-name>Piano 1</instrument-name>
			</score-instrument>
			<midi-instrument id="P1-X6">
				<midi-channel>1</midi-channel>
				<midi-program>1</midi-program>
			</midi-instrument>
		</score-part>
	</part-list>
	<part id="P1">
		<measure number = "1">
			<sound tempo="120"/>
			<attributes>
				<divisions>1</divisions>
				<key>
					<fifths>0</fifths>
					<mode>major</mode>
				</key>
				<time>
					<beats>4</beats>
					<beat-type>4</beat-type>
				</time>
				<clef number="1">
					<sign>G</sign>
					<line>2</line>
				</clef>
			</attributes>
			<note>
				<pitch>
					<step>G</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
			<note>
				<chord/>
				<pitch>
					<step>E</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
			<note>
				<pitch>
					<step>A</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
			<note>
				<chord/>
				<pitch>
					<step>F</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
			<note>
				<pitch>
					<step>B</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>down</stem>
			</note>
			<note>
				<chord/>
				<pitch>
					<step>G</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>down</stem>
			</note>
			<note>
				<pitch>
					<step>A</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
			<note>
				<chord/>
				<pitch>
					<step>F</step>
					<octave>4</octave>
				</pitch>
				<duration>1</duration>
				<voice>1</voice>
				<type>quarter</type>
				<stem>up</stem>
			</note>
		</measure>
		<measure number = "2">
			<note>
				<pitch>
					<step>G</step>
					<octave>4</octave>
				</pitch>
				<duration>4</duration>
				<voice>1</voice>
				<type>whole</type>
				<stem>up</stem>
			</note>
			<note>
				<chord/>
				<pitch>
					<step>E</step>
					<octave>4</octave>
				</pitch>
				<duration>4</duration>
				<voice>1</voice>
				<type>whole</type>
				<stem>up</stem>
			</note>
		</measure>
	</part>


</score-partwise>
\version "2.7.40"
\header {
	composer = "Composer:     "
	crossRefNumber = "1     "
	footnotes = "\\\\Remarks:     "
	tagline = "Lily was here 2.10.2 -- automatically converted from ABC"
	title = "Title"
}
voiceB =  {
\set Score.defaultBarType = "empty"

% !STAVE 0 'Melody' @
     % !INSTR 'Piano 1' 0 0 @
     % Meter
 \time 4/4      \key c \major <<   g'4    e'4   >> <<   f'4    a'4   >> <<   
g'4    b'4   >> <<   a'4    f'4   >>   \bar "|" <<   e'1    g'1   >>   
\bar "|."   % End of file
     
}
voicedefault =  {
\set Score.defaultBarType = "empty"

% !HARMONY ABC @
     % Harmony/Melody File to ABC Vers 3.0.0 April 1998-June 2005
     % Written by Guillion Bros. on a Chris Walshaw format
     
% Please e-mail us your comments and bugs reports : [EMAIL PROTECTED]
     % Monday, December 18, 2006  9:58:48
             % Music
 % Tune name
 % Tune composer
 % Tune infos
 % Tempo
 
}

\score{
    <<

	\context Staff="1"
	{
	    \voicedefault
	    \voiceB 
	}

    >>
	\layout {
	}
	\midi {    
		\context {
		 \Score tempoWholesPerMinute = #(ly:make-moment  120        4 )
		 }
}
}
\version "2.10.2"
% converted from chordsha.xml
PartPOneVoiceOne =  {
    |  % 1
    \clef "G" \key c \major \time 4/4 | % 1
    g'4 e'4 a'4 f'4 b'4 g'4 a'4 f'4 | % 2
    g'1 e'1 }


\version "2.10.2"
% converted from chordsha.xml
\include "chordsha-defs.ly" <<
        \new Staff <<
                \context Voice = "PartPOneVoiceOne"  \PartPOneVoiceOne
                >>
        >>

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to