[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Closed" fret diagrams
From: |
Valentin Petzel |
Subject: |
Re: "Closed" fret diagrams |
Date: |
Wed, 19 Apr 2023 21:30:34 +0200 |
Hello Werner, hello Bophead,
this is actually very trivial to tweak. It requires an adaptation of a single
line and maybe some mechanism of specification. The appended file modifies the
relevant code in such a way that fret-diagram-details.extra-string-length can
be used to specify the extended string length in fret distances (1 for a
single fret space). All that is required is a minor change in one line for
printing and two added lines for scoping the parameter.
The appended file is intended for demonstration and a little bit naughty and
should probably not be used extensively.
Cheers,
Valentin
Am Mittwoch, 19. April 2023, 20:15:38 CEST schrieb Werner LEMBERG:
> > There is something I do not like about the fret diagrams in
> > Lilypond:
> >
> > The diagrams are "open" on the side pointing towards the bridge of
> > the instrument, with the strings "sticking out" on that side. How
> > could I achieve closed rectangles in Lilypond like e.g. the
> > "MusFrets" font does?
> >
> > https://www.notationcentral.com/product/musfrets/
> >
> > It is simply about a line drawn at the bottom (in the default
> > direction) of the fret diagram, but I do not know enough scheme to
> > do it.
>
> This sounds like a reasonable request, please file an issue at
>
> https://gitlab.com/lilypond/lilypond/-/issues/
>
> together with some images.
>
> > It would be great if someone could show how to do that and that
> > might as well be an option that could become standard in a future
> > version.
>
> The complete fret diagram code is in Scheme file
> `scm/fret-diagrams.com`.
>
>
> Werner
fret-board-string-length.ly
Description: Text Data
signature.asc
Description: This is a digitally signed message part.