denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Re: Bug #29825 - What is the right variant to use?


From: Richard Shann
Subject: Re: [Denemo-devel] Re: Bug #29825 - What is the right variant to use?
Date: Sun, 09 May 2010 08:59:03 +0100

On Sat, 2010-05-08 at 22:12 +0100, Richard Shann wrote:
> > Is my paste script right or wrong?
> your script is right. 
By which I meant this fragment of your paste script 

(if (d-GetClipObjType 1 0)
        (d-InsertMeasureAfter)
        #f
        )

which is checking if there is an object in staff two measure one. This
fragment is correct. It would not work if the (if ) procedure required a
boolean_t as its first argument; it doesn't, any expression is good,
with the third argument only being evaluated if the first argument is
#f. The second argument is evaluated if the first argument is anything
other than #f.
Does DanW's ReBar script need adjusting for the new paste script?

About the Paste Script:
This paste command is not quite the one I would want: in the single
staff case it does not always paste multiple measures into contiguous
empty measures. This is precisely the normal circumstance when
transcribing: you fill in one part and the other parts acquire empty
measures to suit. Then you may want to paste into those measures, but
this paste script only pastes into the first empty measure, then it
starts inserting measures. I guess that is so irregular as to constitute
a bug.
http://denemo.org/index.php/File:Bergamasca.denemo is an example of the
problem I am talking about: trying to paste the bass into the empty
measures results in more empty measures.
Richard






reply via email to

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