RE: Tablature - Hiding Tied Notes
I figured out the solution. The snippet I mentioned in my post was used in the following statement, which would have (I suppose) taken care of a tied-to note at the beginning of a measure: \override Tie #'after-line-breaking = #tie::tab-clear-tied-fret-numbers Adding the following statement just below it solved my problem: \override Tie #'before-line-breaking = #tie::tab-clear-tied-fret-numbers Bother overrides are in the \layout block in the \TabStaff context. I use a lot of intra-measure ties for aesthetic reasons, so I was getting tired of keying "\hide" before every tied-to note. I'd still like to know why I didn't need the 2nd override back in Fedora 17. The behavior changed some time after release and was present in F21, the release I installed after F17. It's hard to eliminate all ignorance. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-tp179883p179936.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tablature - Hiding Tied Notes
2015-08-22 16:50 GMT+02:00 Stephen MacNeil : > hi mike1951 > > As i said i only used tab for setting up certain functions - and only looked > at full-notation once - i think. > So I have absolutely no idea what you are after or what it should look like. > My knowledge on tab is limited to perhaps only a few days of > experimentation. Perhaps someone familiar with tab would know. Or post an > image of the desired output and I can see the differences. > > Stephen This thread is missing two things: 1) The initial post, it didn't appear on the mailinglist up to now. I now c/p from nabble http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-td179883.html " I used to add a snippet to my Lilypond tablature files that would automatically hide the tied-to note, but newer versions have broken the snippet. Is there another (elegant) way to do this? I'm using '\hide' for now, but I do a lot of ties, so I'd like it to be the default behavior. The snippet I used, but no longer works is: #(define (tie::tab-clear-tied-fret-numbers grob) (let* ((tied-fret-nr (ly:spanner-bound grob RIGHT))) (ly:grob-set-property! tied-fret-nr 'transparent #t))) Can this be fixed? Thanks for any help. Mike " 2) An example. Containing the above definition, using it (how? where?) and the versions: when did it work? when did it stop working? Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Tablature - Hiding Tied Notes
hi mike1951 As i said i only used tab for setting up certain functions - and only looked at full-notation once - i think. So I have absolutely no idea what you are after or what it should look like. My knowledge on tab is limited to perhaps only a few days of experimentation. Perhaps someone familiar with tab would know. Or post an image of the desired output and I can see the differences. Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Tablature - Hiding Tied Notes
This demonstrates my problem: \version "2.18.2" << %\new Staff { %\relative c' {c2~c4 d~d e~e f~\break f2 g} %} \new TabStaff{ \new TabVoice{ \tabFullNotation c2~c4 ~| d e~e f~| \once \override TabStaff.TabNoteHead.transparent = ##t f2 g| } } >> -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-tp179883p179892.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Tablature - Hiding Tied Notes
I just tried your example and I see why you were confused. The tied-to note is hidden when you combine standard standard notation with a tablature staff. I use full-notation tablature without a standard notation staff. The behavior is apparently different when you omit the standard notation staff. I'll try changing your example to omit the standard notation staff. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-tp179883p179890.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tablature - Hiding Tied Notes
I's not hidden by default for me. I use a Frescobaldi template for most of my work and the result is that tied-to notes are not hidden by default. I've never seen the expression, "TabNoteHead.display-cautionary = ##t", before. I'll load your example into Frescobaldi and see what happens. Thanks for taking the time to respond. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-tp179883p179889.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Tablature - Hiding Tied Notes
Sorry perhaps you mean on a line break. in that case you can do \version "2.18.2" << \new Staff { \relative c' {c2~c4 d~d e~e f~\break f2 g} } \new TabStaff{ \new TabVoice{ c2~c4 ~| d e~e f~| \once \override TabStaff.TabNoteHead.transparent = ##t f2 g| } } >> Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tablature - Hiding Tied Notes
I have used (forced) tab only a few times when typesetting for people that are slow or can't read. So i don't understand. Isn't the "tied-to note" always hidden? in fact I had to do a nasty trick just to get it to print. something like. \version "2.18.2" << \new Staff { \relative c' {c2~c4 d~d e~e f~f2 g} } \new TabStaff{ \new TabVoice{ <<{c2~c4 ~| d e~e f~| f2 g|}\\{s1*2 \once\override TabStaff.TabNoteHead.display-cautionary = ##t f2 s}>> } } >> Sorry if i misunderstand. I am just confused by the post. Thanks Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Tablature - Hiding Tied Notes
I used to add a snippet to my Lilypond tablature files that would automatically hide the tied-to note, but newer versions have broken the snippet. Is there another (elegant) way to do this? I'm using '\hide' for now, but I do a lot of ties, so I'd like it to be the default behavior. The snippet I used, but no longer works is: #(define (tie::tab-clear-tied-fret-numbers grob) (let* ((tied-fret-nr (ly:spanner-bound grob RIGHT))) (ly:grob-set-property! tied-fret-nr 'transparent #t))) Can this be fixed? Thanks for any help. Mike -- View this message in context: http://lilypond.1069038.n5.nabble.com/Tablature-Hiding-Tied-Notes-tp179883.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user