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: Wed, 21 Dec 2016 19:54:47 +0000

On Tue, 2016-12-20 at 23:18 +0100, Andreas Schneider wrote:
> Thank you, that works very well. The script is:
> 
> ;;;VaticanaStaff
> (let ((tag "VaticanaStaff"))
>       (ToggleDirective "staff" "postfix" tag (string-append " \\new
> VaticanaVoice = \"" (d-GetVoiceIdentifier) "\" <<\n")
> DENEMO_OVERRIDE_LILYPOND)
>       (ToggleDirective "voice" "postfix" tag "\n" (logior
> DENEMO_OVERRIDE_GRAPHIC DENEMO_OVERRIDE_LILYPOND)))
> 

That looks good. About the \ictus\melisma etc, I suggested you model
things on the ornaments, which apply directives to the chord object
(i.e. they use d-DirectivePut-chord-xxx commands).
It would be better to apply the directives to the notes (you won't have
any multi-note chords). The reason I say this is that when it comes to
making the display show the neumes the d-DirectivePut-note-graphic
procedure will place the graphic where the note head comes (when
DENEMO_OVERRIDE_GRAPHIC is set on the directive), while for the chord it
places it below the chord.

I'm getting to the end of the chunk of work I'm doing now and should be
able to help more soon.

Richard


> Andreas
> 
> 
> Am 20.12.2016 um 15:03 schrieb Richard Shann:
> > On Tue, 2016-12-20 at 09:04 +0000, Richard Shann wrote:
> >> On Mon, 2016-12-19 at 03:15 +0100, Andreas Schneider wrote:
> >>> Am 19.12.2016 um 20:57 schrieb Richard Shann:
> > [...]
> >>> 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 
> > 
> > Better still, there is no need for them to be different - so I have just
> > committed a patch to git that makes them the same.
> > Now you can use the string (d-GetVoiceIdentifier) with
> > (string-append ...) to put the correct name into your "\new
> > VaticanaVoice ="
> > you will need the quotes around it
> > 
> > ..... \""  (d-GetVoiceIdentifier) "\"........
> > 
> > HTH
> > 
> > Richard
> 





reply via email to

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