lilypond-user
[Top][All Lists]
Advanced

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

Re: TabStaff. Connect arpeggios.


From: Епишин Василий Ильич
Subject: Re: TabStaff. Connect arpeggios.
Date: Fri, 27 Dec 2024 02:10:23 +0300

Thank you, Valentin! This variant works better and looks more understandable.

With gratitude,
Vasily.

пт, 27 дек. 2024 г. в 01:48, Valentin Petzel <valentin@petzel.at>:
>
> 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



reply via email to

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