[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TabStaff. Connect arpeggios.
From: |
Valentin Petzel |
Subject: |
Re: TabStaff. Connect arpeggios. |
Date: |
Thu, 26 Dec 2024 23:48:40 +0100 |
Hello,
Neither Staff nor TabStaff will connect Arpeggios. In your example it looks
like
that since the arpeggio line aligns perfectly to normal staff line spacing,
making the arpeggios overlap perfectly. You can see that these are in fact two
separate arpeggios by simply removing notes in between:
%%%%%
\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>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
}
}
}
%%%%%
Getting actual connection of Arpeggios on Staff as on TabStaff is quite simple.
It merely requires you to add the Span_arpeggio_engraver to the context:
%%%%%
\layout {
\context {
\Staff
\consists Span_arpeggio_engraver
connectArpeggios = ##t
}
\context {
\TabStaff
\consists Span_arpeggio_engraver
connectArpeggios = ##t
}
}
%%%%%
Cheers,
Valentin
signature.asc
Description: This is a digitally signed message part.