addTenuto = #(define-music-function (parser location x) (ly:music?)
#{
\copyArticulations {c--} $x
#})
The below quoted snippet shows that it works fine, every note gets it's
tenuto sign, rests are left without, but: I still searching for a
possiblity to let the second of two tied-notes without a tenuto. Has
anyone
I have added a function \skipTiedNotes as a separate one, because i am not
absolutely sure that it must be the default behavior.
So your function becomes :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
addTenuto = #(define-music-function (parser location x) (ly:music?)
#{
\copyArticulations {c--} \skipTiedNotes $x
#})
\addTenuto \relative { c4 d e f g1 ~ g4 f e d r4 c d 2 }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
As i am a good guy, i also change the line :
skipArti = \tag #skipCurrentArticulation s1*0
by
skipArti = \tag #skipCurrentArticulation <>
I have uploaded the new file here :
http://gillesth.free.fr/Lilypond/copyArticulations/copyArticulations.ly
--
Gilles
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user