[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tablature - Parenthesizing Tied Notes
From: |
Federico Bruni |
Subject: |
Re: Tablature - Parenthesizing Tied Notes |
Date: |
Wed, 09 Feb 2022 17:19:14 +0100 |
Il giorno dom 6 feb 2022 alle 22:55:36 +0100, Stefan E. Mueller
<stefan.e.mueller@gmx.de> ha scritto:
Ties over a line break are parenthesized by default in tablature - I
was
wondering if one could also have parenthesized tablature notes for
ties
over a bar line.
I cannot really help you, but just offer a tip and maybe someone who
know the internals will help you.
Perhaps this function in property-init.ly can be adapted to work over a
bar line?
showSplitTiedTabNotes = {
\override
TabVoice.TabNoteHead.details.tied-properties.break-visibility =
#begin-of-line-visible
\override TabVoice.TabNoteHead.details.tied-properties.parenthesize =
##t
\override
TabVoice.TabNoteHead.details.repeat-tied-properties.note-head-visible =
##t
\override
TabVoice.TabNoteHead.details.repeat-tied-properties.parenthesize = ##t
}
Minimal example:
mus = \relative c' {
\repeat unfold 3 { c4 d e f~ | f2 g~ | g1 | f4 e d c~ \break | }
}
\score {
\new StaffGroup <<
\new Staff { \clef "treble_8" \mus }
\new TabStaff \with {
stringTunings = #guitar-tuning
} \mus
>>
\layout { }
}