Valentin, thanks for the email below. It's very useful indeed.
Not only it clarifies the syntax of pass by copy and by value but also
how to interact with the underlying scheme and how to create lilypond
code blocks.
It was really useful. I am excited to play a bit more with the
underlying
Hello Paolo,
This is slightly OT, but there are other ways to alias things. \... is used in
Lilypond either for evaluating a function, accessing some scheme object or
evaluating some reserved parser keywords (such as \override). sustainOn is in
fact a music object (not a function).
Now, when
On 07/02/2023 12:59, Jean Abou Samra wrote:
> On 07/02/2023 12:45, p...@ocmatos.com wrote:
>
>> Right, I confused the names, thanks for the help. One further question, why
>> the need to prefix the commands with a - ? Does it start some sort of
>> command mode?
>
>
> You don't have to. It's
On 07/02/2023 12:45, p...@ocmatos.com wrote:
> Right, I confused the names, thanks for the help. One further question, why
> the need to prefix the commands with a - ? Does it start some sort of command
> mode?
You don't have to. It's just a neutral direction indicator. It is
implicit if you
On 2023-02-03 16:46, Aaron Hill wrote:
Well, and those names are non-sensical. \sustainOn implies depressing
the pedal.
\version "2.22.0"
pdown = -\sustainOn
pup = -\sustainOff
pupdown = -\sustainOff \sustainOn
{ b'4\pdown 2 4\pupdown 2. 4\pup }
That probably makes more sense.
On 2023-02-03 7:42 am, Aaron Hill wrote:
On 2023-02-03 7:27 am, Paulo Matos wrote:
Hi,
I would like to define command aliases for \SustainOn, \SustainOff and
the combination \SustainOn\SustainOff and tried the obvious:
pup = \SustainOn
pdown = \SustainOff
...
This didn't work. I guess I miss
On 2023-02-03 7:27 am, Paulo Matos wrote:
Hi,
I would like to define command aliases for \SustainOn, \SustainOff and
the combination \SustainOn\SustainOff and tried the obvious:
pup = \SustainOn
pdown = \SustainOff
...
This didn't work. I guess I miss an understanding on how these things
I'd highly recommend use of a syntax-aware editor like Frescobaldi (or even
VScode with plugins), as they'll save you lots of typing with these longer
macros.
On Fri, Feb 3, 2023 at 10:40 AM Jean Abou Samra wrote:
>
>
> > Le 3 févr. 2023 à 16:32, Paulo Matos a écrit :
> >
> > Hi,
> >
> > I
> Le 3 févr. 2023 à 16:32, Paulo Matos a écrit :
>
> Hi,
>
> I would like to define command aliases for \SustainOn, \SustainOff and
> the combination \SustainOn\SustainOff and tried the obvious:
>
> pup = \SustainOn
> pdown = \SustainOff
It’s \sustainOn and \sustainOff.
Jean
Hi,
I would like to define command aliases for \SustainOn, \SustainOff and
the combination \SustainOn\SustainOff and tried the obvious:
pup = \SustainOn
pdown = \SustainOff
...
This didn't work. I guess I miss an understanding on how these things
interact with each other.
What's the correct
10 matches
Mail list logo