Dear community,
I found this very useful snippet at
http://gillesth.free.fr/Lilypond/copyArticulations/copyArticulations.ly
With this it was very to recreate my addTenuto-function in the following
way:
addTenuto = #(define-music-function (parser location x) (ly:music?)
 #{
 \copyArticulations {c--} $x
  #})
The below quoted snippet shows that it works find, 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
an idea, how this can be done?
Here's my snippet:
\version "2.16.0"
\include "copyarticulations.ly"
addTenuto = #(define-music-function (parser location x) (ly:music?)
 #{ % in der folgenden Zeile Lilypondcode eingeben
 \copyArticulations {c--} $x
  #})
\score {
  \new Staff \relative c' {
    \addTenuto { c4 d e f g1 ~ g4 f e d r4 c d 2 }
  }
}




2012/8/27 Stefan Thomas <kontrapunktste...@gmail.com>

> Dear community,
> I've used quite frequently the addTenuto function, which You can find at
> http://lsr.dsi.unimi.it/LSR/Snippet?id=696.
> Although lilypond doesn't complain about errors, it doesn't work as
> expected. I also would like to update it.
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to