Bonjour,
Je voudrais avoir vos conseils pour être efficace lors de la récupération d'un fichier xml. Après le maquettage, l'éditeur n'est pas suffisant pour écrire une belle partition, mais je peux importer un fichier xml dans Lilypond.
Comment refaire une partition propre avec ce fichier ? Quelles commandes supprimer ou ajouter ?
Le code en exemple :
s\version "2.24.4"
% automatically converted by musicxml2ly from /media/christophe/16 GO/Chopin orchestre.xml
\pointAndClickOff
\include "articulate.ly"
\header {
title = "Chopin orchestre"
encodingsoftware = "Logic Pro"
encodingdate = "2024-11-21"
}
#(set-global-staff-size 21.54464285714286)
\paper {
paper-width = 20.98\cm
paper-height = 29.69\cm
top-margin = 1.24\cm
bottom-margin = 1.24\cm
left-margin = 1.09\cm
right-margin = 1.09\cm
between-system-space = 0.7\cm
page-top-space = 0.7\cm
indent = 1.613846153846154\cm
}
\layout {
\context {
\Score
skipBars = ##t
autoBeaming = ##f
}
}
PartPOneVoiceOne = {
\clef "treble" \time 3/4 \key b \minor | % 1
R2. | % 2
\stemUp fis'2. ~ \pp | % 3
\stemUp fis'2. ~ | % 4
\stemUp fis'2. ~ \pageBreak | % 5
\stemUp fis'2. | % 6
r4
}
PartPOneVoiceTwo = {
\clef "bass" \time 3/4 \key b \minor | % 1
R2. | % 2
\stemDown fis2. ~ ^\pp | % 3
\stemDown fis2. ~ | % 4
\stemDown fis2. ~ \pageBreak | % 5
\stemDown fis2. | % 6
r4
}
PartPTwoVoiceOne = {
\clef "treble" \time 3/4 \key b \minor \pageBreak | % 1
r4 r4 \stemDown fis''4 ~ ^\f | % 2
\stemDown fis''8 [ \stemDown g''8 ] \stemDown fis''8 [ \stemDown
cis''8 ] \stemDown d''8 [ \stemDown b'8 ] | % 3
\stemUp ais'2 r4 | % 4
R2. \pageBreak | % 5
R2. | % 6
r4
}
PartPThreeVoiceOne = {
\clef "treble" \time 3/4 \key b \minor | % 1
r2 s4 | % 2
r2 s4 | % 3
\clef "treble" \time 3/4 \key b \minor s4 r4 r4 \pageBreak | % 4
\stemDown fis''4. ^\f \stemDown g''8 \stemDown fis''8 [ \stemDown
cis''8 ] \pageBreak | % 5
\stemDown e''8 [ \stemDown d''8 ] \stemDown b'2 | % 6
r4
}
PartPFourVoiceOne = {
\clef "bass" \time 3/4 \key b \minor | % 1
R2. \pageBreak | % 2
\clef "bass" \time 3/4 \key b \minor r4 \stemDown <fis b d'>4 ^\pp
\stemDown <fis b d'>4 | % 3
r4 \stemDown <fis cis' e'>4 \stemDown <fis cis' e'>4 | % 4
r4 \stemDown <fis ais e'>4 \stemDown <fis ais e'>4 \pageBreak | % 5
r4 \stemDown <fis b d'>4 \stemDown <fis b d'>4 | % 6
r4
}
PartPFiveVoiceOne = {
\clef "bass" \time 3/4 \key b \minor | % 1
R2. \pageBreak | % 2
\clef "bass" \time 3/4 \key b \minor \stemUp b,4 ^\p r4 r4 | % 3
\stemUp cis4 r4 r4 | % 4
\stemUp ais,4 r4 r4 \pageBreak | % 5
\stemUp b,4 r4 r4 | % 6
r4
}
PartPSixVoiceOne = {
\clef "bass_8" \time 3/4 \key b \minor | % 1
R2. \pageBreak | % 2
\clef "bass_8" \time 3/4 \key b \minor \stemUp b,,4 ^\p r4 r4 | % 3
\stemUp cis,4 r4 r4 | % 4
\stemUp ais,,4 r4 r4 \pageBreak | % 5
\stemUp b,,4 r4 r4 | % 6
r4
}
% The score definition
\score {
<<
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartBar
}
<<
\new StaffGroup \with { \hide SpanBar }
<<
\new PianoStaff
<<
\set PianoStaff.instrumentName = "Cors en Fa"
\context Staff = "1" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
>> \context Staff = "2" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceTwo" { \PartPOneVoiceTwo }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violons 1"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violons 2"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPThreeVoiceOne" { \PartPThreeVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Altos"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPFourVoiceOne" { \PartPFourVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violoncelles"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPFiveVoiceOne" { \PartPFiveVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Contrebasses"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPSixVoiceOne" { \PartPSixVoiceOne }
>>
>>
>>
>>
>>
\layout {}
}
\score {
\unfoldRepeats \articulate {
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartBar
}
<<
\new StaffGroup \with { \hide SpanBar }
<<
\new PianoStaff
<<
\set PianoStaff.instrumentName = "Cors en Fa"
\context Staff = "1" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
>> \context Staff = "2" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceTwo" { \PartPOneVoiceTwo }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violons 1"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violons 2"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPThreeVoiceOne" { \PartPThreeVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Altos"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPFourVoiceOne" { \PartPFourVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Violoncelles"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPFiveVoiceOne" { \PartPFiveVoiceOne }
>>
>>
\new Staff
<<
\set Staff.instrumentName = "Contrebasses"
\context Staff <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPSixVoiceOne" { \PartPSixVoiceOne }
>>
>>
>>
>>
}
\midi {\tempo 4 = 150 }
}
Merci pour vos conseils.
Cordialement
Christophe