On 2024-10-28 02:25, Lucas Cavalcanti wrote:
Hello! I'm fully migrating from Guitar Pro to Lilypond in relation to musical engraving and I have hit a roadblock: I cannot write the closed hi hat without its "bold" font (same problem with the "splash" cymbal and the cymcb) nor can I write the half open hi hat as a semi "X Circle". Also I don't know how to add this "little hat" to the chinese cymbal (cymch). Just to clear things out, this problem is merely cosmetic. I have created a functional and partially equal drum-table to GUITAR PRO's drum table.

Also, on a side note: can I add this hash table directly to my lilypond path in a way that I can call it like other drum tables? For example, with the command drumStyleTable = #weinberg-drums-style? Or do I need to compile the source to have this embed?

Any help would be appreciated!

*Point 1 - Drum Style Table*

The Notation Manual shows how to define a new style in the section entitled "Custom percussion staves".

It would be helpful to include your definition of your 'drumStyleTable' so that others can provide assistance.

The closed hi-hat matching the Weinberg style is:
(closedhihat cross stopped 5)

The half-open hi-hat matching the Weinberg style is:
(halfopenhihat cross halfopen 5)

Where do you want the "splash" cymbal and the cymcb?

*Point 2 - How to include the hash table*

The table may be saved in a separate LilyPond include file, and included with every score that you write.

Add an include statement, e.g.:
\include "<DrumStyleFileName>"

In the score block start with:
\score {
 \new DrumStaff \with { drumStyleTable = #(alist->hash-table <HastTableName>) }
...

HTH

Reply via email to