[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RhythmStaff issue
From: |
Richard Shann |
Subject: |
Re: RhythmStaff issue |
Date: |
Wed, 10 Feb 2021 11:20:20 +0000 |
On Wed, 2021-02-10 at 09:51 +0000, silentkeystroke@googlemail.com via
User *and* developer discussion of Denemo wrote:
> I tried using the drum clef as I couldn't find the RhythmClef. In the
> examples, the BaroqueLuteTab has a RhythmStaff, can I use this?
Hmm, even though I recall creating the Baroque Lute Tab example I had
managed to forget about the existence of RhythmicStaff in LilyPond.
Looking at the command:
Command: Tablature
Converts to tablature notation (print only)
Location: Object Menu ▶ Staffs/Voices ▶ Staff Properties ▶ Tablature
Internal Name: TabStaff
I see that it can be customized to create RhythmicStaff instead: I
right clicked on the command and got the script into the Scheme Window
and then changed TabStaff to RhythmicStaff througout.
This gives the script
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
;;;RhythmicStaff
(let ((tag "RhythmicStaff"))
(ToggleDirective "staff" "postfix" tag " \\new RhythmicStaff <<\n"
DENEMO_OVERRIDE_LILYPOND)
(ToggleDirective "voice" "postfix" tag "\n" (logior
DENEMO_OVERRIDE_GRAPHIC DENEMO_OVERRIDE_LILYPOND))
(ToggleDirective "clef" "postfix" tag "{} \n" (logior
DENEMO_OVERRIDE_GRAPHIC DENEMO_OVERRIDE_LILYPOND)))
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
Then executing the Scheme on a new blank staff gets you the Rhythmic
staff you are looking for.
So I'll try and get round to making that a staff type available in the
Denemo menu (you can do that yourself, or put the script in a palette
button to do the same thing).
Let me know if this works for you.
Richard
- RhythmStaff issue, address@hidden, 2021/02/10
- Re: RhythmStaff issue,
Richard Shann <=
Re: RhythmStaff issue, Richard Shann, 2021/02/12