[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing pitch to function
From: |
Pierre-Luc Gauthier |
Subject: |
Re: Passing pitch to function |
Date: |
Thu, 15 Jun 2023 12:48:46 -0400 |
And indeed I tried (brute force) all the quoting permutations… except
yours Jean.
Thank you very much. I will re-thoroughly read the manual ! :-)
Le jeu. 15 juin 2023, à 12 h 46, Jean Abou Samra <jean@abou-samra.fr> a écrit :
>
> 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
--
Pierre-Luc Gauthier
Re: Passing pitch to function, Jean Abou Samra, 2023/06/15
- Re: Passing pitch to function,
Pierre-Luc Gauthier <=