[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slur after a function
From: |
Simon Albrecht |
Subject: |
Re: Slur after a function |
Date: |
Fri, 23 Feb 2018 19:12:47 +0100 |
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