lilypond-user
[Top][All Lists]
Advanced

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

Re: TabStaff. Connect arpeggios.


From: Xavier Scheuer
Subject: Re: TabStaff. Connect arpeggios.
Date: Thu, 26 Dec 2024 20:30:07 +0100

On Thu, 26 Dec 2024 at 20:21, Епишин Василий Ильич <kalennar@gmail.com> wrote:
>
> Thank you for the quick answer, Xavier!
>
> I'm sorry I didn't specify. I need a connection between voices. In
> Staff arpeggio connecting automatically. In TabStaff it doesn't.
>
> \version "2.25.16"
>
> voice = \relative{
>         \voiceOne
>         b'4~\arpeggio16 a\2 g\2 fis\2 e4\3\arpeggio r8 e16 e
> }
>
> basicAccomp = \relative{
>         \voiceTwo
>         <e\5 b'\4 e\3 g>2\arpeggio <c\6 g'\5 c >\arpeggio
> }
>
> sheet = \new StaffGroup <<
>         \new Staff \relative <<
>                 \clef "G_8"
>                 \key e\minor
>                 \new Voice {\voice}
>                 \new Voice {\basicAccomp}
>         >>
>         \new TabStaff <<
>                 \new TabVoice {\voice}
>                 \new TabVoice {\basicAccomp}
>         >>
> >>
>
> \score {
>         \sheet
>         \layout{
>                 \context {
>                         \TabStaff
>                         \revert Arpeggio.stencil
>                 }
>                 \context {
>                         \Staff
>                         \hide StringNumber
>                 }
>         }
> }

Hello,

Please keep the list in cc.

Maybe move the Arpeggio_engraver from the TabVoice to the TabStaff context.

\layout {
  \context {
    \TabStaff
    \consists "Arpeggio_engraver"
  }
  \context {
    \TabVoice
    \remove "Arpeggio_engraver"
  }
}

Kind regards,
Xavier


reply via email to

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