lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.25.2 optional fine endings


From: Paul Scott
Subject: Re: 2.25.2 optional fine endings
Date: Sun, 12 Mar 2023 22:22:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0


On 3/12/23 12:25 AM, Aaron Hill wrote:
On 2023-03-11 11:04 pm, Paul Scott wrote:
On 3/11/23 11:40 PM, Aaron Hill wrote:
On 2023-03-11 10:34 pm, Paul Scott wrote:
This still gives the warning and I don't want any repeats there.

As the warning is indicating, you are trying to start a new volta bracket when one already exists.

You need to explicitly terminate the first one when you are using repeatCommands:
Aaron,

Thank you for the working example!

How did you get that from the documentation?  NR 1.4.1, Manual repeats shows this with a list which you are not using.

Quasi-quoting is a technique in Scheme that gives you some of the brevity of quoting but allows you to escape out to reference variable names or anything else that should not be quoted.

Consider:

  '((volta #f) (volta voltaCont))

This is almost correct, except we do not want voltaCont to be quoted but actually reference its value.

Using the backtick (`) instead of apostrophe (') begins quasi-quoting, and the comma (,) indicates "unquoting":

  `((volta #f) (volta ,voltaCont))

This is all part of Scheme rather than LilyPond in particular. There are plenty of resources online that cover the Scheme language by itself, but there is at least one [1] that was written with LilyPond in mind.  Quasi-quoting is covered [2].

Thank you for your patience!

I have read the references below and somewhat understand quoting and quasiquoting.

What I'm not sure about is what volta does.  A function but what are its arguments and what does it do?

Paul


[1]: https://scheme-book.readthedocs.io/en/latest/
[2]: https://scheme-book.readthedocs.io/en/latest/scheme/quoting/unquoting.html


-- Aaron Hill



reply via email to

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