lilypond-devel
[Top][All Lists]
Advanced

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

Re: Scheme question


From: Simon Albrecht
Subject: Re: Scheme question
Date: Tue, 14 Jun 2016 00:40:58 +0200

On 13.06.2016 20:55, David Kastrup wrote:
So you probably want

testy = #(define-music-function (note)
   (ly:music?)
   (make-relative (note) note
#{
   \tag #'a { $note }
   \tag #'b { $note }
#}))

This uses just "note" as the expression affecting \relative, but places
two separate copies of the once-affected note in your tags.

Expressed differently: the whole concept of \relative sucks.

Expressed still another way: the concept of \relative, while convenient for music entry in most situations, may sometimes have complex implications, e.g. when used in music functions.

Best, Simon



reply via email to

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