[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] Accordion example
From: |
Richard Shann |
Subject: |
[Denemo-devel] Accordion example |
Date: |
Sun, 14 Nov 2010 11:13:13 +0000 |
On irc #denemo someone (Daniel) was trying to emit accordion stuff with
the following markup (attached to a chord):
^\markup {
\combine
\Diskant
\raise #0.5 \punkt
}
On its own this gives an error message because it is depending on a set
of definitions which need to be at the head of the score. The following
shows how to insert the needed definitions using a directive attached to
the score, setting the score prefix field.
(d-DirectivePut-score-prefix "accordion" "Diskant = \\markup {
\\musicglyph #\"accordion.accDiscant\"
}
punkt = \\markup {
\\musicglyph #\"accordion.accDot\"
}")
Here I have tagged this as "accordion" but the name does not matter.
Also it is possible to set the graphic field so that the display shows
the accordion shifts.
HTH
Richard
- [Denemo-devel] Accordion example,
Richard Shann <=