lilypond-user
[Top][All Lists]
Advanced

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

Re: Passing pitch to function


From: Jean Abou Samra
Subject: Re: Passing pitch to function
Date: Thu, 15 Jun 2023 18:46:17 +0200
User-agent: Evolution 3.48.3 (3.48.3-1.fc38)

Le jeudi 15 juin 2023 à 12:25 -0400, Pierre-Luc Gauthier a écrit :

   '(
      (piccolo . ((fullName "Piccolo") (transposition #{bf'#})))
      ))

Like many Scheme beginners, you got tripped up by quoting.

Change that to

#(define instrumentsInfo
   `(
; ^^^
      (piccolo . ((fullName "Piccolo") (transposition ,#{bf'#})))
;                                                    ^^^
      ))

and read https://extending-lilypond.gitlab.io/en/scheme/quoting.html

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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