lilypond-user
[Top][All Lists]
Advanced

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

Re: Slur after a function


From: Paolo Prete
Subject: Re: Slur after a function
Date: Fri, 23 Feb 2018 18:20:45 +0000 (UTC)

You were faster than light, Simon, thanks ;-)


Il Venerdì 23 Febbraio 2018 19:12, Simon Albrecht <address@hidden> ha scritto:


On 23.02.2018 19:02, Paolo Prete wrote:
> The following code doesn't compile and I wonder if I can solve that by
> using another syntax...

This works:

%%%%%%%%%%%%
\version "2.19.80"

fun =
#(define-music-function
  (num note post)
  (number? ly:duration? ly:music?)
  #{ c'4 $post #})


\score {
  {
    \fun #1 4 ( d' 4 )

  }
}
%%%%%%%%%%%

Best, Simon




reply via email to

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