lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Des mesures vides en trop


From: Christian LE BARS
Subject: Des mesures vides en trop
Date: Sat, 18 Apr 2020 17:34:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

Bonjour a tous .

je suis en train d'écrire le tube de l'été

Hélas je rencontre un petit problème.

Cette chanson débute par un solo d'harmonica, 

Mon problème  c'est que je ne voudrais pas voir des mesures vides pour
les autres instruments.

Juste une seule porté celle de l'harmonica.

Je vous envoie les 5 premières mesures du tube.

Lilybin ne comprends pas ma partition, aussi je l’inclut dans mon message.

Par avance merci

\version "2.19.82"
#(set-global-staff-size 18) %taille des portées

%---------------------------------------------
\header
{
 title = \markup { \override #'(font-name . "lilyjazz-text")\fontsize #1
\bold\italic"Jambe cassée"  }
 composer =\markup { \override #'(font-name ."lilyjazz-text" )\italic 
"Ch. le Bars" } 
 poet =\markup { \override #'(font-name ."lilyjazz-text" )\italic "C h.
le Bars"   } 
}
%----------------------------------------
\paper
 {
  oddFooterMarkup = \markup {\override #'(font-name .
"LilyJAZZText")\fontsize #3 \fill-line { \fromproperty #'header:title  } }
  print-page-number = ##t
  #(define fonts
     (set-global-fonts
      #:music "lilyjazz"
      #:brace "lilyjazz"
      #:roman "lilyjazz-text"
      #:sans "lilyjazz-chord"
      #:factor (/ staff-height pt 20)
      ))
 }
%-----------------------------------------------
Global=
{
 \numericTimeSignature  
 \time 4/4
 \key c \major
}
%----------------------------------------------
LesAccords =
\chords
{
 \override ChordNames.ChordName.font-name = "lilyjazz-chord"
 \override ChordNames . ChordName #'font-size = #1
 \set chordChanges = ##t
 \set Score.majorSevenSymbol = \markup {Maj7}
 \set chordNameSeparator = \markup { "/" }
 \set minorChordModifier = \markup{"-"}
 c1 a:m d:m g
  c1
}
%--------------------------------------------------
CoupletA =
\lyricmode
 {
  \override LyricText #'font-size = #1
  \override LyricText #'font-name = #"lilyjazz-text"
  il c'est une jambe
  }
%----------------------------------------------------
LaVoix =
\relative c''
 {%debut melodie
  \clef treble
  \Global

   s1 s s s
   \mark \markup\italic  {"Refrain"}
  \bar"[|:" g4 g8 g g2
 }
%------------------------------------------------
LeChant =
  << %mise en parallèle la voix et les paroles
    \new Staff
    \with { instrumentName = "Voix"
                 shortInstrumentName = "V."}
    \context Voice = voix
    \LaVoix

   \context Lyrics = coupletA\lyricsto voix  \CoupletA
 >>
%-----------------------------------------------
LaBasse =
\new Staff
 \with
    {
     instrumentName =\markup{\override #'(font-name ."lilyjazz-text")
"Basse"}
     shortInstrumentName = \markup{\override #'(font-name .
"lilyjazz-text") "Bas. "}
    }  
\relative c
{
 \Global
 \clef "bass"
 
 s1 s s s
 c4 d8 e c2  
}

%----------------------------------------------
LaMainDroite =
\relative c'
 {
  \Global
  s1 s s s
  c4 e g a
  }
%----------------------------------------------
LaMainGauche =
\relative c
 {
  \Global
  \clef"bass"
  s1 s s s
  <<
    {<c c'>1 }
    \\
    { s2 g' }
  >>
 }
 %---------------------------------------
Tablature =
{
 c4-"4"e-"5"a ^"6"g-"6" a4^"6" e-"5" c-"4" e-"5" d4^"4"
 f^"5" g-"6"a^"6" g4-"6" a^"6" b^"7" g-"6"\break

}
%----------------------------------
Harmo =
{
 \new DrumStaff
  \with
   {
    instrumentName =\markup{\override #'(font-name ."lilyjazz-text")
"Harmo"}
     shortInstrumentName = \markup{\override #'(font-name .
"lilyjazz-text") "Har. "}
    \override StaffSymbol #'line-count = #1                 % Une seule
ligne de tablature
    \remove "Time_signature_engraver"                       %
Suppression de la métrique
    \override Clef #'stencil = #ly:text-interface::print    % Surcharge
de la clé de tablature
    \override NoteHead #'stencil = #point-stencil
    \override KeySignature #'stencil = ##f
    \override Tie #'stencil = ##f
    \override Stem #'stencil = ##f
    \override Flag #'stencil = ##f
    \override Beam #'stencil = #point-stencil
    \override Dots #'stencil = ##f
    \override TupletBracket #'stencil = ##f
    \override TupletNumber #'stencil = ##f
    \override BreathingSign #'stencil = ##f
    \override KeyChangeEvent #'stencil = #point-stencil
    \override StringNumber #'stencil = #point-stencil
    \override StrokeFinger #'stencil = ##f
    \override StaffSymbol #'staff-space = #1
   }      
 \Tablature
}
%---------------------------------------------------
mainDroite =
\drummode
{
 s1 s s s
 hh8 hh hh hh hh hh hh hh 
}
%
mainGauche =
\drummode
{
 s1 s s s
s4 sn2 sn4
}
%
piedDroit =
\drummode
{
 s1 s s s
 bd4. bd8 bd2
}
%
piedGauche =
\drummode
{
  s1 s s s
}
%
LaBatterie =
 \new DrumStaff
   \with
    {
     instrumentName =\markup{\override #'(font-name ."lilyjazz-text")
"Batterie"}
    shortInstrumentName = \markup{\override #'(font-name .
"lilyjazz-text") "Bat. "}
    \numericTimeSignature   
    } 
  <<
    \new DrumVoice{\voiceOne\mainDroite}
    \new DrumVoice{\voiceTwo\mainGauche}
    \new DrumVoice{\voiceThree\piedDroit}
    \new DrumVoice{\voiceFour\piedGauche}
  >>
%----------------------------------------------
\score
 {
  <<
   \Harmo
   \LesAccords
   \LeChant
   \new PianoStaff
    \with
     {
      instrumentName =\markup{\override #'(font-name ."lilyjazz-text")
"Piano"}
      shortInstrumentName = \markup{\override #'(font-name .
"lilyjazz-text") "Pia. "}
     }
   <<
    \new Staff\LaMainDroite
    \new Staff\LaMainGauche
   >>
   \LaBasse
   \LaBatterie
  >>
%
 \layout {  }
}

 


Attachment: pEpkey.asc
Description: application/pgp-keys


reply via email to

[Prev in Thread] Current Thread [Next in Thread]