lilypond-user
[Top][All Lists]
Advanced

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

Re: Altering repeat dot style


From: Valentin Petzel
Subject: Re: Altering repeat dot style
Date: Wed, 02 Mar 2022 15:25:13 +0100

Hello Calvin,

we can use grob properties to change the behaviour of the function. This 
example uses the flag details.calvin-repeat to switch to this behaviour. Else 
it default to make-colon-bar-line (which is not public, so we need to extract 
it from bar-line.scm).

This would be easier if Lilypond had a bit more scheme functionality for not 
only setting stuff in internal alists, but also for retrieving and removing 
such things. If we had something like this we could do

#(define default (get-bar-glyph-print-procedure))
#(define ((...) ...)
  ...
  (if customized? ... (default ...)+

Cheers,
Valentin

Am Mittwoch, 2. März 2022, 06:22:01 CET schrieb Calvin Ransom:
> Hello everyone,
> Can I have some help making a repeat sign that looks like the image
> attached? I figured out how to reduce the height of the bar lines, but I am
> unable to properly change the dots to diamonds. Right now, I have adapted
> the code from LSR 913<https://lsr.di.unimi.it/LSR/Item?id=913> by changing
> the dots.dot glyph to noteheads.s2neomensural. The only issue with this is
> that it changes all of the repeat dots throughout the score, and I am
> looking for a function that works like \once \override. I have attached a
> snippet showing the work I have done so far. If you know a better way to do
> this, please let me know!
> 
> Thank you,
> 
> Calvin Ransom

Attachment: bar-line-alla-calvin.ly
Description: Text Data

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


reply via email to

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