lilypond-devel
[Top][All Lists]
Advanced

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

Re: Scheme question


From: Phil Holmes
Subject: Re: Scheme question
Date: Tue, 14 Jun 2016 10:26:04 +0100

----- Original Message ----- From: "Simon Albrecht" <address@hidden>
To: "David Kastrup" <address@hidden>; "Phil Holmes" <address@hidden>
Cc: <address@hidden>
Sent: Monday, June 13, 2016 11:40 PM
Subject: Re: Scheme question


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


Thanks all, for your help.  My next question is on its way...

--
Phil Holmes



reply via email to

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