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

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

Re: Mettre des barres de temps


From: Pierre Perol-Schneider
Subject: Re: Mettre des barres de temps
Date: Tue, 9 Feb 2016 09:41:05 +0100

Bonjour Christian, bonjour Michel,

On peut également utiliser les 'grid lines' :
- http://www.lilypond.org/doc/v2.19/Documentation/notation/outside-the-staff.fr.html#grid-lines
- http://lsr.di.unimi.it/LSR/Item?id=247

Ça peut donner quelque chose comme :

\version "2.19.34"

Global = {
  \numericTimeSignature
  \key f\major
  \time 4/4
}

LesAccords = \chordmode {
  f4. fis8:m7.5- g4:m7 aes8:m7 a:m7 a2:m7
}

LaMelodie = \relative c'' {
  \Global
  %a4^"|" s8^"|"a16 c bes4^"|" b8^"|" c|
  a4. a16 c bes4 b8 c |
  c1 |
}

LaSyncope = {
  % dummy notes to force regular note spacing
  \repeat unfold 10 c8
}

\score {
  <<
    \new ChordNames \LesAccords
    \new Staff
      \with {
        % hides staff and notes so that only the grid lines are visible
        \override StaffSymbol.line-count = #0
        \override VerticalAxisGroup.default-staff-staff-spacing =
            #'((basic-distance . 0) (padding . -3))
        \omit BarLine
        \omit TimeSignature
        \omit Clef
        \hideNotes
      }
      \LaSyncope
    \new Staff \LaMelodie
  >>
  \layout { 
    \context {
      \Score
      \consists "Grid_line_span_engraver"
      \override GridLine.thickness = #4.0
    }
    \context {
      \Staff
      \consists "Grid_point_engraver"
      gridInterval = #(ly:make-moment 3/8)
      % set line length and positioning:
      % two staff spaces above center line on hidden staff
      % to four spaces below center line on visible staff
      \override GridPoint.Y-extent = #'(4 . 0)
    }
    \context {
      \ChordNames
      \override ChordName.font-family = #'roman
      \override ChordName #'font-size = #4
      chordChanges = ##t
      majorSevenSymbol = \markup "Maj7"
      chordNameSeparator = \markup "/"
      minorChordModifier = \markup "-"
    }
  }
}


Cordialement,
Pierre

2016-02-09 9:14 GMT+01:00 Philhar <address@hidden>:
Bonjour,

En mettant les barres de temps dans une autre voix ?

LaMelodie =
 \relative c''
  {
   \Global
         << { \repeat unfold 4 s4^"|" }  { a4. a16 c bes4 b8 c } >> |
    }

Michel



--
View this message in context: http://lilypond-french-users.1298960.n2.nabble.com/Mettre-des-barres-de-temps-tp7583638p7583639.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.

_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr


reply via email to

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