lilypond-user
[Top][All Lists]
Advanced

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

How to define a macro that expands to a percussion "pitch"?


From: Darren Ng
Subject: How to define a macro that expands to a percussion "pitch"?
Date: Sat, 28 Jan 2023 15:00:20 +0800

[subject] How to define a macro that expands to a percussion "pitch"?

input is

    m = hh
    \drummode { \m 8 \m  r4 \m  }

expected output should be equivalent to

    \drummode { hh8  hh8 r4 hh4 }

actual output (console)

    percussion.ly:*:*: warning: Ignoring non-music expression

        \m 8 \m r4 \m
    percussion.ly:*:*: warning: Ignoring non-music expression
        \m 8
             \m r4 \m
    percussion.ly:*:*: warning: Ignoring non-music expression
        \m 8 \m r4
                   \m

actual output (midi)

    (I hear no percussion at all)



reply via email to

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