On 22/01/2023 18:31, Jean Abou Samra wrote:
> Le 22/01/2023 à 18:22, Darren Ng a écrit :
>> Thanks. The following works:
>>
>> accOne =
>> #(define-music-function
>> (x )
>> (ly:pitch?)
>> #{
>> $x 8 $x 8
>> #})
>>
>> My ultimate goal is a function which
Le 22/01/2023 à 18:22, Darren Ng a écrit :
Thanks. The following works:
accOne =
#(define-music-function
(x)
(ly:pitch?)
#{
$x 8 $x 8
#})
My ultimate goal is a function which does the following
accTwo =
#(define-music-function
(x
Thanks. The following works:
accOne =
#(define-music-function
(x)
(ly:pitch?)
#{
$x 8 $x 8
#})
My ultimate goal is a function which does the following
accTwo =
#(define-music-function
(x)
(ly:pitch?)
#{
$x 8 r8
Le 22/01/2023 à 17:33, Jean Abou Samra a écrit :
Le 22/01/2023 à 17:20, Darren Ng a écrit :
Define substitution function accOne() as:
accOne =
#(define-music-function
(x )
(ly:music?)
#{
$x8 $x8 $x8 $x8 $x8
#})
Call accOne() with:
Le 22/01/2023 à 17:20, Darren Ng a écrit :
Define substitution function accOne() as:
accOne =
#(define-music-function
(x)
(ly:music?)
#{
$x8 $x8 $x8 $x8 $x8
#})
Call accOne() with:
\accOne f
Expected output is:
f8 f8 f8 f
Define substitution function accOne() as:
accOne =
#(define-music-function
(x)
(ly:music?)
#{
$x8 $x8 $x8 $x8 $x8
#})
Call accOne() with:
\accOne f
Expected output is:
f8 f8 f8 f8 f8
However, lilypond reports error as follows:
G