lilypond-user
[Top][All Lists]
Advanced

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

How to make a macro of articulation marks?


From: H. S. Teoh
Subject: How to make a macro of articulation marks?
Date: Fri, 30 Jul 2021 17:52:33 -0700

Hi,

In my Lilypond score I have a bunch of notes I want to highlight in MIDI
without changing the appearance of the printed score, so I have stuff
like:

        a-.-\tag #'midi -\> b-.-\tag #'midi -\> c-.-\tag #'midi -\> d-.-\tag 
#'midi -\>

Stuff tagged #'midi is removed in the printed score with \removeWithTag,
but intact in the MIDI score.

Obviously, this is a pain to type; is there a simple way to factor the
repeated tags into a macro, so that I can e.g. type instead:

        a-.\midiEmph b-.\midiEmph c-.\midiEmph d-.\midiEmph

?

I tried:

        midiEmph = \tag #'midi -\>
        a-.\midiEmph b-.\midiEmph c-.\midiEmph d-.\midiEmph

but the accent appears to just get dropped silently. What am I doing
wrong?


T

-- 
"No, John.  I want formats that are actually useful, rather than over-featured 
megaliths that address all questions by piling on ridiculous internal links in 
forms which are hideously over-complex." -- Simon St. Laurent on xml-dev



reply via email to

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