Re: How to write a ly:pitch? as element of a pair?

2018-03-21 Thread David Kastrup
Urs Liska writes: > Hi Malte, David, > > thank you for your suggestions. > > > Am 21.03.2018 um 15:43 schrieb David Kastrup: >> Urs Liska writes: >> >>> Hi all, >>> >>> ... >>> >>> >>> So is there a convenient way to write a pitch within a Scheme expression? >> Like usual with quoting. >> >> tra

Re: How to write a ly:pitch? as element of a pair?

2018-03-21 Thread Urs Liska
Hi Malte, David, thank you for your suggestions. Am 21.03.2018 um 15:43 schrieb David Kastrup: Urs Liska writes: Hi all, ... So is there a convenient way to write a pitch within a Scheme expression? Like usual with quoting. transposition = #`( ,#{ d' #} . "D") Or even without quoting:

Re: How to write a ly:pitch? as element of a pair?

2018-03-21 Thread David Kastrup
Urs Liska writes: > Hi all, > > I have a with block where I would like to let the user enter a pair as > a value, and one of the elements of the pair should be a pitch. > > Something like: > > \with { >   transposition = #'( d' . "D") > } > > But this doesn't work, just like > >   transposition =

Re: How to write a ly:pitch? as element of a pair?

2018-03-21 Thread Malte Meyn
Am 21.03.2018 um 15:28 schrieb Urs Liska: Hi all, I have a with block where I would like to let the user enter a pair as a value, and one of the elements of the pair should be a pitch. Something like: \with {   transposition = #'( d' . "D") } But this doesn't work, just like   transpos

How to write a ly:pitch? as element of a pair?

2018-03-21 Thread Urs Liska
Hi all, I have a with block where I would like to let the user enter a pair as a value, and one of the elements of the pair should be a pitch. Something like: \with {   transposition = #'( d' . "D") } But this doesn't work, just like   transposition = #'( #{ d' #} . "D") What I currently d