denemo-devel
[Top][All Lists]
Advanced

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

Re: Transposer2.zip. Issues with windows from Scheme, & Mirrored music


From: Richard Shann
Subject: Re: Transposer2.zip. Issues with windows from Scheme, & Mirrored music
Date: Mon, 04 Nov 2019 17:36:22 +0000

There is a further problem with your script, namely that the saved
score still has the script attached and so every time you open it you
will again get the dialogs asking about time sig key sig and title.

On Thu, 2019-10-31 at 14:44 +0000, Joe Wilkinson wrote:
> Hi Richard,
> Attached is a template that I am currently using to set up music with
> copies for Eb Sax and Bb Clarinet.
> Staff2 is the music at concert pitch, Staff1 accompanying chords
> for Staff3 I physically make a copy of Staff2 music and move up notes
> below Eb. It is hidden.
> Staff4 & 5 mirror music fromĀ  Staff 3, transposed down 3 semitones,
> and
> Staff6 & 7 mirror music from Staff 2, transposed up 2 semitones (the
> clarinet needing little altering other than transposition)
> The issues I have are these:
> There is a Scheme script run when the Template is launched to set the
> TimeSig, InitialKey, MovementTitle, and to force a SaveAs.
> The windows to effect the first 3 seem to appear all together, but
> have to be dealt with in the right order, which is confusing.

Instead of (d-InitialKey) you want to be executing something like

(d-InitialKey "d-minor")

so you need code like this

(let ((key "c"))
        (set! key (d-GetUserInput "Joe's Template" "Give key" key))
        (if key
                (d-InitialKey key)))


> If I change time or key (from 4/4 in C) Typeset leaves the mirrored
> staffs in A and D, and I still have to go through the last 4 staves
> rightclicking on the "directive" to set the key correctly.

Yes, so don't statically create the mirrored staffs but do it in your
script after setting the time and key on the first staff.

> If, before right-clicking on the 4 directives I write some music
> using an Uplift in stave 2, in the mirrored staves the Uplift appears
> before the mirrored music "directives" in staffs 4-7.
> BUT when I then rightclick on the Mirrored directives a duplicate
> Mirrored directive appears before the Uplift. It seems to have no
> real effect.

I'm not sure I follow you there - what appears in a mirrored staff
where the music would normally be is just ignored... I think you are
pointing out that the Upbeat command doesn't know about mirrored staffs
and puts an upbeat in them, which would be a minor bug in that command.
You can delete everything in the staff and it won't affect the typeset.

Have fun, and come back if you get stuck!

Richard




reply via email to

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