lilypond-user
[Top][All Lists]
Advanced

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

Percussion staff problems


From: Gordon Bower
Subject: Percussion staff problems
Date: Fri, 3 Sep 2021 12:16:43 -0600

I am having two issues with a custom unpitched-percussion staff in a score.

Item 1: \RemoveEmptyStaves does not remove the percussion staff even though it suppresses other staves correctly. (I had the same problem with a non-customized DrumStaff or RhythmStaff when I tried that earlier.)

This feels like a bug to me.

Looking at the internals PDF, there is probably a one-line fix for this, where one symbol (the percussion clef maybe?) is in the keepAliveInterfaces list but should not be.

Can anyone tell me what I need to insert?

Item 2: I can't use a variable to insert the percussion music like I can everything else.
When I build my score,
<< \drummode {tri4 cymc4 tt4} >> works fine.

But  << \perc >> , after having previously set  perc = {\drummode { tri4 cymc4 tt4  R2.} }, fails with the error "warning: Ignoring non-music _expression_ {\perc}"
Tried several variations, with and without extra braces, etc.

I assume this one is operator error (<<>> or {} in the wrong place, \drummode in the wrong place, something...) but it has me confused.

Attached is an example of the problem score.

Thank you!

GRB

Attachment: perc_troubleshooting.ly
Description: Text Data


reply via email to

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