denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Fwd: Re: Fwd: Repeat measures


From: Joe Wilkinson
Subject: [Denemo-devel] Fwd: Re: Fwd: Repeat measures
Date: Thu, 7 Dec 2017 09:59:30 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Hi Richard,

OK I tried it several times. Typical output in these two zip folders

test3a
two bars at start of new file. Then highlighted both bars and used note insertion Percent repeats 4 (I think)
added single measure with rest and closing barline
Typeset said error: Exported Lilypond and ran test on it.
test3.ly:29:27: error: syntax error, unexpected MULTI_MEASURE_REST
         c''  %}         
                          R1*4/4 \bar "|."}

test3.ly:29:43: error: syntax error, unexpected '}'
         c''  %}          R1*4/4 \bar "|."
                                          }

test3b:

two bars at start of new file. Then highlighted both bars and used note insertion Percent repeats 2. Then added an extra Semibreve C and Inserted closing bar.
Typeset said error: Exported Lilypond and ran test on it. Different error.

Parsing...
test3.ly:25:29: error: syntax error, unexpected NOTENAME_PITCH
         g' b'  %}         
                            c''1 \bar "|."}

test3.ly:25:43: error: syntax error, unexpected '}'
         g' b'  %}          c''1 \bar "|."

It doesn't seem a very robust process

On 06/12/2017 12:02, Richard Shann wrote:
I did a search in the Command Ceneter for Repeat and after a dozen or so
other commands (I was determined to look carefully) I came across this
command:

Command: Insert Percent Style Repeat
Creates a repeat from the selection, typeset in \"percent\" style.
Location: Object Menu ▶ Notes/Rests ▶ Note Insertion
Internal Name: PercentRepeat

more comments below:

On Wed, 2017-12-06 at 10:54 +0000, Joe Wilkinson wrote:
Hi Richard,

Perhaps I forgot to send it directly to you as well. 
Your email doesn't appear to have reached the list - you can check if an
email has arrived by looking at the archive:

http://lists.gnu.org/archive/html/denemo-devel/2017-11/index.html

which you can get to via the website (under "Community")
As a matter of interest, could you re-send your original email to the
mailing list (again) and see if it arrives this time?

Attached was the end result of the repeat process; I reduced it to 2
pages which was fine (fits on music stand).

I'm not now sure if it would be better to condense the repeats - it
may be easier to count them if the individual bars are shown (though
it might be good to reduce the space either side of the repeat symbol
to save space).

Lily pond can put a bar count above each bar
This is also available, but rather hidden. If you open up the start
percent repeat object using the Object Editor (or use Edit->Advanced
Edit with the cursor on the start percent repeat directive)
you will see it starts with 
\set countPercentRepeats = ##f

which you can change to ##t and then the count appears.

Needs a bug report to make this easier to do....

Richard

\relative c'' {
  \set countPercentRepeats = ##t
  \repeat percent 4 { c1 }
}

[image of music]

which could be useful, but it looks as though the code required has to
bracket the notes in the repeated bar, and I don't know how to do
that.

Also there is a LIlypond notation for repeat a couple of bars that
could be handy, with the same issues.


\relative c'' {
  \set countPercentRepeats = ##t
  \set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
  \repeat percent 10 { c1 } \break
  \set repeatCountVisibility = #(every-nth-repeat-count-visible 2)
  \repeat percent 6 { c1 d1 }
}
[image of music]

Best wishes

Joe




-------- Forwarded Message -------- 
                          Subject: 
Repeat measures
                             Date: 
Wed, 22 Nov 2017 20:35:15 +0000
                             From: 
Joe Wilkinson
<address@hidden>
                               To: 
denemo-devel <address@hidden>




Hi Richard


I have a piece of music spanning 4 pages that has many similar bars
e.g. those below except that the same bar is repeated 13 times (and
then similar items are also repeated)

I'd like to save the Planet, and as a by product my (and Dom's)
sanity, by reducing the number of pages with "Repeat previous bar N
times".

I've seen it elsewhere, but can't find any menu items other than
simple repeat previous bar. And I'd like the bar numbering to take it
into account. It does for multiple repeat rests.


Any ideas?

Joe






      

Attachment: test3a.zip
Description: Zip compressed data

Attachment: test3b.zip
Description: Zip compressed data


reply via email to

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