denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] A possible scheme script


From: Richard Shann
Subject: Re: [Denemo-devel] A possible scheme script
Date: Wed, 06 Feb 2019 09:26:08 +0000

On Tue, 2019-02-05 at 19:26 -0800, rain wrote:
> This is what I've got so far, and I believe you had already achieved
> a solution for changing duration (4th to last directive below) in a
> more elegant manner. Currently the duration in the script is changed
> manually when needed.

What I envisaged is that with one command you insert a note of
prevailing duration (that is the last used duration - you can
explicitly set it via commands in Notes/Rests->Select Duration) at the
interval you specify:

    (if (Appending?)
        (d-MoveCursorLeft)) ;move onto the Cantus note
    (d-SetMark)
    (d-Copy)
    (d-MoveToStaffUpAppending)
    (d-Paste)
    (d-MoveCursorLeft)
    (ChangeDuration (d-GetPrevailingDuration))
    (d-ShiftRealDialogUp)

Then with another command you modify that duration and/or return to the
appending position in the Cantus staff. You could instead select the
prevailing duration before invoking the script to insert the note in
the staff above, then the script would not need to wait on the note
above for you to adjust the duration if needed. The downside is if you
want to do other things to the note above, as shown in your example,
such as adding dynamics. 

My script was intended to get the smoothest workflow for what I
understand is your objective. You could also invoke the "Edit Figured
Bass" command to attach (a) number(s) to the bass note before or after
entering the intervals.

>  I wouldn't be surprised if you're a bit further along,

I haven't been looking at this since - I'm intrigued by the possibility
of creating automated translations ...

Richard




reply via email to

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