Le 30/11/2022 à 16:50, Jean Faure a écrit :
Ah ok, thanks. Is there a way of keeping the original note heads, just
superimpose them with a custom image?
Yes, try this:
\version "2.22.2"
customHead = {
\once \override NoteHead.stencil =
#(grob-transformer
'stencil
(lambda (
Ah ok, thanks. Is there a way of keeping the original note heads, just
superimpose them with a custom image?
On Wed, Nov 30, 2022 at 4:39 PM Jean Abou Samra wrote:
> Le 30/11/2022 à 16:34, Jean Faure a écrit :
> > Just for a test, I changed all image filenames to note4.eps. However,
> > it turn
Le 30/11/2022 à 16:34, Jean Faure a écrit :
Just for a test, I changed all image filenames to note4.eps. However,
it turned out that the custom image is scaled differently depending on
duration-log. Why?
I attach the lily, eps and output pdf files.
The code reads:
#(case (ly:
Just for a test, I changed all image filenames to note4.eps. However, it
turned out that the custom image is scaled differently depending on
duration-log. Why?
I attach the lily, eps and output pdf files.
Cheers, Jean
On Thu, Nov 24, 2022 at 10:22 AM Jean Abou Samra wrote:
> Hello,
>
> I'm addi
Hello,
I'm adding back the list in copy, please always use "Reply to all"
to include the list so that everyone can participate.
Le 24/11/2022 à 00:06, Jean Faure a écrit :
Hi, thanks a lot for all the clarifications. However, I wasn't
precise. I would indeed prefer that the choice of the EPS f
On 2022-11-21 3:36 pm, Jean Abou Samra wrote:
Le 22/11/2022 à 00:31, Aaron Hill a écrit :
But NoteHead has a duration-log property ready to go:
The OP says "according to the duration". I didn't know if using
duration-log would be OK for this case, because duration-log does not
make a differe
Le 22/11/2022 à 00:31, Aaron Hill a écrit :
But NoteHead has a duration-log property ready to go:
The OP says "according to the duration". I didn't know if using
duration-log would be OK for this case, because duration-log does not
make a difference between quarters, heighth notes and shorte
On 2022-11-21 3:13 pm, Valentin Petzel wrote:
The duration of the NoteHead is not in fact a property of the grob, but
of the music event
that leads to creation of the grob, accessible from the grob by the
"cause"-property. Thus
Jean uses
(ly:event-property (event-cause grob) 'duration)
to get
Hello Jean,
the line
\once \override NoteHead.stencil = #ly:text-interface::print
tells Lilypond to derive the symbol it uses for the note head as if the note
head was some
sort of text object (changed the old syntax NoteHead #'stencil to the new
prefered syntax
NoteHead.stencil). Then
\onc
Le 21/11/2022 à 13:43, Jean Faure a écrit :
Hi. The code below is a copy&paste, I do not quite understand what it
does. Can I modify it so that an image is chosen according to the
following note's duration? Like custom4.eps, custom8.eps?
customHead = {
\once \override NoteHead #'stencil = #l
Hi. The code below is a copy&paste, I do not quite understand what it does.
Can I modify it so that an image is chosen according to the following
note's duration? Like custom4.eps, custom8.eps?
customHead = {
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHea
11 matches
Mail list logo