lilypond-user
[Top][All Lists]
Advanced

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

Re: problem with addTenuto


From: Stefan Thomas
Subject: Re: problem with addTenuto
Date: Fri, 31 Aug 2012 14:45:19 +0200

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 <address@hidden>
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.


reply via email to

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