denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Gregorian Chant in Denemo


From: Richard Shann
Subject: Re: [Denemo-devel] Gregorian Chant in Denemo
Date: Tue, 20 Dec 2016 09:04:52 +0000

On Mon, 2016-12-19 at 03:15 +0100, Andreas Schneider wrote:
> Am 19.12.2016 um 20:57 schrieb Richard Shann:
> > On Mon, 2016-12-19 at 16:58 +0100, Andreas Schneider wrote:
> >> As you suggested, I have started from the TabStaff script. (By the way,
> >> searching for Tab or Tabulature 
> > 
> > It's a spelling problem - Tablature. But Tab should be found - not sure
> > why it is not.
[...]
> > (let ((tag "VaticanaStaff"))
> >         (ToggleDirective "staff" "postfix" tag " \\new VaticanaVoice =
> > \"VoiceIMvmntI\"<<\n"
> > DENEMO_OVERRIDE_LILYPOND)
> >         (ToggleDirective "voice" "postfix" tag "\n" (logior
> > DENEMO_OVERRIDE_GRAPHIC DENEMO_OVERRIDE_LILYPOND)))
> > 
> > 
> > Here I have hardwired that this as movement 1 and voice 1, the proper
> > script will have to compute the right name (from commands like
> > d-GetMovement d-GetStaff or some such).
[...]
> Thanks. Is there a Scheme function to convert a number to Roman? I
> searched the internet, but did not find anything.

hmm, yes, I thought about that after I wrote. I think it may be
available - I looked in the Install Cue command and found

(d-GetVoiceIdentifier)

but that generates the variable name for the voice, MvmntIVoiceI.
Obviously with a bit of manipulation it could be swapped around, but a
built-in would be better and may already exist, if not I'll create it -
for now, perhaps you could look at the real meat of the task - injecting
the \ictus etc on the notes. The thing to be thought about is how you
would like to input the information about the note name and note
"type" (a single key stroke?) and what you would like the display to
show. At first you can do something simple (like (*) the 

Command: Mordent (Off/On)
Adds/Removes a Mordent to the note
Location: ObjectMenu->NotesRests->Markings->Ornaments
Internal Name: ToggleMordent

command does), but this could be made to display the Gregorian glyph in
the place of the note-head by setting DENEMO_OVERRIDE_GRAPHIC in the
override field of the Denemo Directive. I had a quick look just now but
didn't spot an obvious example of this (Denemo drawing something special
to replace the usual note shape).

Richard

(*) the Mordent glyph from the emmentaler.ttf font is written directly
into that script, which my text editor struggles to show.




reply via email to

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