Do you mean time signature?
E.g.:

%%%
\version "2.24.2"
\include "predefined-guitar-fretboards.ly"

global = {
  \clef "moderntab"
  \time 4/4
  \numericTimeSignature
  s1*32
  \bar "|."
}

guitarVoiceOne = {
  \voiceOne
  c'4 d' e' f' g'
}

guitarVoiceTwo = {
  \voiceTwo
  c4 d e, f, g,
}

grille = \chordmode {
  c1 g
}

\paper {
  system-count = 7
  system-system-spacing.basic-distance = 20
}

\header {
  title = "Guitar Sheet"
}

\score {
  <<
    \new FretBoards
       \grille
    \new TabStaff <<
      \global \\ \guitarVoiceOne \\ \guitarVoiceTwo
    >>
  >>
  \layout {
    indent = 10
    \context {
      \TabStaff
      \revert TimeSignature.stencil
    }
  }
}
%%%

Le mar. 28 mai 2024 à 05:22, Jean-Christophe Énée <
jean-christo...@blues-softwares.net> a écrit :

> hi,
> thank for this.
> how add rythm ?
> best regard
>
>
> On Tue, 2024-05-28 at 05:06 +0200, Pierre Perol-Schneider wrote:
> > %%%
> > \version "2.24.2"
> > \include "predefined-guitar-fretboards.ly"
> >
> > global = {
> >   \clef "moderntab"
> >   \time 4/4
> >   s1*32
> >   \bar "|."
> > }
> >
> > guitarVoiceOne = {
> >   \voiceOne
> >   c'4 d' e' f' g'
> > }
> >
> > guitarVoiceTwo = {
> >   \voiceTwo
> >   c4 d e, f, g,
> > }
> >
> > grille = \chordmode {
> >   c1 g
> > }
> >
> > \paper {
> >   system-count = 7
> >   system-system-spacing.basic-distance = 20
> > }
> >
> > \header {
> >   title = "Guitar Sheet"
> > }
> >
> > \score {
> >   <<
> >     \new FretBoards
> >        \grille
> >     \new TabStaff <<
> >       \global \\ \guitarVoiceOne \\ \guitarVoiceTwo
> >     >>
> >   >>
> >   \layout {
> >     indent = 10
> >   }
> > }
>
>
>

Reply via email to