lilypond-user
[Top][All Lists]
Advanced

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

Override note properties in markup,note or rhythm


From: | || | |
Subject: Override note properties in markup,note or rhythm
Date: Sat, 21 Jan 2023 17:26:30 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

Hiya!

I'm trying to find a gentle solution for the problem I encountered.

I overrided flag stencil in general Score, but it turns out that this doesn't influence notes in \tempo, \note and \rhythm functions. I there a possibility to influence those ones?

I add that I know I could construct note from the beginning inside markup and add hidden tempo change for proper tempo export, but it seems to be overkill for this kind of problem.

\version "2.24.0"

\score {
  \new Staff {
    \overrideTimeSignatureSettings 4/4 1/8 #'() #'()
    \time 4/4

    \override Score.Flag.stencil = #(lambda (grob)
                                    (grob-interpret-markup grob
                                      #{\markup {\raise #-0.2
\beam #1.0 #0.05 #0.5 }#}))

  \tempo \markup{ Mechanical (
                \note {8} #1 = 92 )}
  c'8 8 8 8 8 8 8 8

  \tempo Mechanical 8 = 92
  c'8 8 8 8 8 8 8 8
  }
}

Cheers,

Tomasz




reply via email to

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