[prev in list] [next in list] [prev in thread] [next in thread] List: lilypond-user Subject: Re: musicXML: 2 staves, piano From: Jacques Menu <imj-muzhic () bluewin ! ch> Date: 2021-09-28 6:37:01 Message-ID: CC00833B-5F64-4E8A-8D35-1181F7084C19 () bluewin ! ch [Download RAW message or body] Le 28 sept. 2021 07:53, Ivanov Dmitry <usr345@gmail.com> a écrit : > > > What kind of programmed scores handling are you aiming at? > > Standard piano score with 2 staves and 4 voices: 2 voices per staff. OK, but you mentioned reading/manipulating music with programs, or did I get it \ wrong? Stangely enough, opening hello2.xml with MuseScore, which displays the score alright, \ and then exporting it to MusicXML gives the attached hello2_FROM_MUSE_SCORE.xml \ which, compiled with musicxml2ly, produces hello2_FROM_MUSE_SCORE.ly. And the latter looks fine once compiled with LilyPond… The only real difference are \ the extra <voice> elements, which shouldn't matter. That beats me... JM [Attachment #3 (multipart/mixed)] [Attachment #5 (unknown)] <html><head><meta http-equiv="Content-Type" content="text/html; \ charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \ line-break: after-white-space;" class="">Le 28 sept. 2021 07:53, Ivanov Dmitry \ <<a href="mailto:usr345@gmail.com" class="">usr345@gmail.com</a>> a écrit :<br \ class=""><div><blockquote type="cite" class=""><br \ class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" \ class="">What kind of programmed scores handling are you aiming at?<br \ class=""></blockquote><br class="">Standard piano score with 2 staves and 4 voices: 2 \ voices per staff.<br class=""></div></div></blockquote></div><br class=""><div \ class="">OK, but you mentioned reading/manipulating music with programs, or did I get \ it wrong?</div><div class=""><br class=""></div><div class="">Stangely enough, \ opening hello2.xml with MuseScore, which displays the score alright, and then \ exporting it to MusicXML gives the attached <span style="font-family: Menlo; \ font-size: 13px;" class="">hello2_FROM_MUSE_SCORE.xml</span> which, compiled \ with musicxml2ly, produces <span style="font-family: Menlo; font-size: 13px;" \ class=""><a href="http://hello2_from_muse_score.ly" \ class="">hello2_FROM_MUSE_SCORE.ly</a></span>.</div><div class=""> </div><div \ class="">And the latter looks fine once compiled with LilyPond… The only real \ difference are the extra <voice> elements, which shouldn't matter.</div><div \ class="">That beats me...</div><div class=""><br class=""></div><div \ class="">JM</div><div class=""><br class=""></div><div class=""></div></body></html> ["hello2_FROM_MUSE_SCORE.xml" (hello2_FROM_MUSE_SCORE.xml)] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" \ "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="3.1"> <identification> <encoding> <software>MuseScore 3.6.2</software> <encoding-date>2021-09-28</encoding-date> <supports element="accidental" type="yes"/> <supports element="beam" type="yes"/> <supports element="print" attribute="new-page" type="yes" value="yes"/> <supports element="print" attribute="new-system" type="yes" value="yes"/> <supports element="stem" type="yes"/> </encoding> </identification> <defaults> <scaling> <millimeters>6.99911</millimeters> <tenths>40</tenths> </scaling> <page-layout> <page-height>1697.36</page-height> <page-width>1200.15</page-width> <page-margins type="even"> <left-margin>85.7252</left-margin> <right-margin>85.7252</right-margin> <top-margin>85.7252</top-margin> <bottom-margin>85.7252</bottom-margin> </page-margins> <page-margins type="odd"> <left-margin>85.7252</left-margin> <right-margin>85.7252</right-margin> <top-margin>85.7252</top-margin> <bottom-margin>85.7252</bottom-margin> </page-margins> </page-layout> <word-font font-family="Edwin" font-size="10"/> <lyric-font font-family="Edwin" font-size="10"/> </defaults> <part-list> <score-part id="P1"> <part-name>Music</part-name> <score-instrument id="P1-I1"> <instrument-name>Piano</instrument-name> </score-instrument> <midi-device id="P1-I1" port="1"></midi-device> <midi-instrument id="P1-I1"> <midi-channel>1</midi-channel> <midi-program>1</midi-program> <volume>78.7402</volume> <pan>0</pan> </midi-instrument> </score-part> </part-list> <part id="P1"> <measure number="1" width="361.29"> <print> <system-layout> <system-margins> <left-margin>64.90</left-margin> <right-margin>602.51</right-margin> </system-margins> <top-system-distance>170.00</top-system-distance> </system-layout> <staff-layout number="2"> <staff-distance>65.00</staff-distance> </staff-layout> </print> <attributes> <divisions>1</divisions> <key> <fifths>1</fifths> </key> <time> <beats>2</beats> <beat-type>4</beat-type> </time> <staves>2</staves> <clef number="1"> <sign>G</sign> <line>2</line> </clef> <clef number="2"> <sign>F</sign> <line>4</line> </clef> </attributes> <note default-x="106.75" default-y="-50.00"> <pitch> <step>C</step> <octave>4</octave> </pitch> <duration>2</duration> <voice>1</voice> <type>half</type> <stem>up</stem> <staff>1</staff> </note> <backup> <duration>2</duration> </backup> <note default-x="106.75" default-y="-125.00"> <pitch> <step>D</step> <octave>3</octave> </pitch> <duration>2</duration> <voice>5</voice> <type>half</type> <stem>down</stem> <staff>2</staff> </note> </measure> </part> </score-partwise> [Attachment #7 (unknown)] <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \ after-white-space;"><head><meta http-equiv="Content-Type" content="text/html; \ charset=us-ascii"></head><div></div></body></html> ["hello2_FROM_MUSE_SCORE.ly" (hello2_FROM_MUSE_SCORE.ly)] \version "2.22.1" % automatically converted by musicxml2ly from hello2_FROM_MUSE_SCORE.xml \pointAndClickOff \header { encodingsoftware = "MuseScore 3.6.2" encodingdate = "2021-09-28" } #(set-global-staff-size 19.997457142857144) \paper { paper-width = 21.0\cm paper-height = 29.7\cm top-margin = 1.5\cm bottom-margin = 1.5\cm left-margin = 1.5\cm right-margin = 1.5\cm indent = 1.6153846153846154\cm } \layout { \context { \Score autoBeaming = ##f } } PartPOneVoiceOne = \relative c' { \clef "treble" \time 2/4 \key g \major | % 1 \stemUp c2 } PartPOneVoiceFive = \relative d { \clef "bass" \time 2/4 \key g \major | % 1 \stemDown d2 } % The score definition \score { << \new PianoStaff << \set PianoStaff.instrumentName = "Music" \context Staff = "1" << \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne } >> \context Staff = "2" << \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn \context Voice = "PartPOneVoiceFive" { \PartPOneVoiceFive } >> >> >> \layout {} % To create MIDI output, uncomment the following line: % \midi {\tempo 4 = 100 } } [Attachment #9 (unknown)] <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \ after-white-space;"><head><meta http-equiv="Content-Type" content="text/html; \ charset=us-ascii"></head><div></div></body></html> ["hello2_FROM_MUSE_SCORE.pdf" (hello2_FROM_MUSE_SCORE.pdf)] %PDF-1.4 %쏢 %%Invocation: gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None \ -dPrinted=false ? 5 0 obj <</Length 6 0 R/Filter /FlateDecode>> stream xTn1e+|tڸ6/W$D`n&HD%DqGY4zU6x~+S|@&طFEhp,>]|2Kh]hR<.R[P KAKd)@=2 DV HϑH;9Đm<PQtӖQJnAe#h@ZGkP \ DxA_ Wl{kmu|e_o̫ɂb3W l^ MJ ʸg ٘Õ p+51suƞ=('(&uwgVBvsb=dP/jbDnGDvqOu^A \ xMuj"bgbtZ`sSӬ|>TM7wEaWCӢڴH+XXHC(:.zT_9E):% \ yI{_ߦN(7 F=}Ć3FuG0g{w 0_5sM%;nB}RS`u ` ڲdزd*J\bvy,UZ.;f.1C,ܗILjzoeGTg|Um@IW \ r)RX?LP&i)O*n$y F>o"p6/T_ulS*jX}3?w{ B: \ ܑds?oҮΡendstream endobj 6 0 obj 742 endobj 4 0 obj <</Type/Page/MediaBox [0 0 595.28 841.89] /Parent 3 0 R /Resources<</ProcSet[/PDF /Text] /Font 14 0 R > > /Annots[11 0 R]/Contents 5 0 R > > endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 > > endobj 1 0 obj <</Type /Catalog /Pages 3 0 R /PageMode/UseOutlines /Metadata 21 0 R > > endobj 11 0 obj <</Type/Annot /Rect [157.833 42.5298 437.442 53.0747] /Border [0 0 0] /A<</S/URI /URI(https://lilypond.org/)>> /Subtype/Link>>endobj 14 0 obj <</R12 12 0 R/R9 9 0 R/R7 7 0 R>> endobj 12 0 obj <</BaseFont/VVZVQE+C059-Roman/FontDescriptor 13 0 R/Type/Font /FirstChar 32/LastChar 208/Widths[ 278 0 0 0 0 0 0 0 0 0 0 0 0 0 278 0 0 556 556 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 667 944 0 0 667 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 556 556 444 574 500 0 537 0 315 0 0 315 0 611 500 574 0 444 463 0 611 537 778 0 537 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000] /Encoding 18 0 R/Subtype/Type1>> endobj 18 0 obj <</Type/Encoding/BaseEncoding/WinAnsiEncoding/Differences[ 208/emdash]>> endobj 9 0 obj <</BaseFont/CSXJWL+Emmentaler-20/FontDescriptor 10 0 R/Type/Font /FirstChar 0/LastChar 52/Widths[ 344 641 275 670 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 366 0 400] /Encoding 19 0 R/Subtype/Type1>> endobj 19 0 obj <</Type/Encoding/BaseEncoding/WinAnsiEncoding/Differences[ 0/noteheads.s1/clefs.G/accidentals.sharp/clefs.F]>> endobj 7 0 obj <</BaseFont/SAJGQS+Emmentaler-Brace/FontDescriptor 8 0 R/Type/Font /FirstChar 0/LastChar 0/Widths[ 0] /Encoding 20 0 R/Subtype/Type1>> endobj 20 0 obj <</Type/Encoding/BaseEncoding/WinAnsiEncoding/Differences[ 0/brace178]>> endobj 13 0 obj <</Type/FontDescriptor/FontName/VVZVQE+C059-Roman/FontBBox[0 -206 1000 737]/Flags 4 /Ascent 737 /CapHeight 722 /Descent -206 /ItalicAngle 0 /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