Adding Rehearsal Marks, v2.12.2

2010-01-17 Thread rasAK

Apologies...I'm sure this is addressed somewhere (...but I did search the
documentation and this forum!).

How do I add rehearsal letters to an existing score without going through
and adding a "\mark" for every letter in every part?

Thanks so much!

Randy
-- 
View this message in context: 
http://old.nabble.com/Adding-Rehearsal-Marks%2C-v2.12.2-tp27204042p27204042.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Adding Rehearsal Marks, v2.12.2

2010-01-17 Thread rasAK

>This is probably best answered in the Notation Reference, section  
> 3.3.2, different editions from one source

I looked through that section, but it wasn't clear to me how that solves my
problem.

I'm doing instrumental parts for a double-choir Bach motet.  The result will
be 9 parts (2 each of Vln I, Vln II, Vla, Cello + Double Bass).  With 30
rehearsal letters in the piece, I don't want to have to do that in 9
separate parts if I can avoid it.  Not to mention if (heaven forbid!) there
were any changes.

What I ended up doing was:

1) creating a separate part containing only rests AND the rehearsal letters.
2) I then added this part to my individual part \score { } sections.
3) Finally, I used \override to hide all staves with rests-only.

I just wasn't sure whether there was a better (standard?) way to do this.

Randy
-- 
View this message in context: 
http://old.nabble.com/Adding-Rehearsal-Marks%2C-v2.12.2-tp27204042p27204346.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Adding Rehearsal Marks, v2.12.2

2010-01-18 Thread rasAK

Apologies...I'm sure this is addressed somewhere (but I did search the
documentation and this forum!).

How do I add rehearsal letters to an existing score without going through
and adding a "\mark" for every letter in every part?

Thanks so much!

Randy
-- 
View this message in context: 
http://old.nabble.com/Adding-Rehearsal-Marks%2C-v2.12.2-tp27201073p27201073.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Multi-Measure Rests: Adding to what gets printed?

2010-01-23 Thread rasAK

In my orchestral parts, I would like Multi-Measure Rests to have both:
(1) an integer representing the number of measures in the current MMR,
centered above (default behavior)
(2) a second text indicating which measures are included in the given MMR,
in parentheses and centered BELOW the MMR.

(1) happens automatically.  (2) is what I don't know how to do.  I'm
thinking I would have to figure out how to write a Scheme function to do
this, but as I have never written one before, I wanted to know whether there
was an existing, non-Scheme solution.

As an example, given the following input:

%EXAMPLE 1a
\time 4/4
\key c \major
c4 d e f
R1*10
c d e f

...output will generate "10" above the MMR.  I would like "( 2 - 11 )"
generated automatically and centered below it.

If the input were changed to:

%EXAMPLE 1b
\time 4/4
\key c \major
c4 d e f
c d e f
c d e f
R1*10
c d e f

...then the output should remain "10" above but change to "( 4 - 13 )" below
the MMR.

As an additional wrinkle, if Rehearsal Letter "A" happened to fall at mm. 9,
Example 1b should output 2 MMRs ( |--4--| and |--6--|) with "( 4 - 7 )" and
"( 8 - 13 )" below.

Thanks,

Randy
-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27288983.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-23 Thread rasAK

Alexander,

Thanks so much.  I'll take a look at your suggestion in detail.

Randy



rasAK wrote:
> 
> In my orchestral parts, I would like Multi-Measure Rests to have both:
> (1) an integer representing the number of measures in the current MMR,
> centered above (default behavior)
> (2) a second text indicating which measures are included in the given MMR,
> in parentheses and centered BELOW the MMR.
> 
> (1) happens automatically.  (2) is what I don't know how to do.  I'm
> thinking I would have to figure out how to write a Scheme function to do
> this, but as I have never written one before, I wanted to know whether
> there was an existing, non-Scheme solution.
> 
> As an example, given the following input:
> 
> %EXAMPLE 1a
> \time 4/4
> \key c \major
> c4 d e f
> R1*10
> c d e f
> 
> ...output will generate "10" above the MMR.  I would like "( 2 - 11 )"
> generated automatically and centered below it.
> 
> If the input were changed to:
> 
> %EXAMPLE 1b
> \time 4/4
> \key c \major
> c4 d e f
> c d e f
> c d e f
> R1*10
> c d e f
> 
> ...then the output should remain "10" above but change to "( 4 - 13 )"
> below the MMR.
> 
> As an additional wrinkle, if Rehearsal Letter "A" happened to fall at mm.
> 9, Example 1b should output 2 MMRs ( |--4--| and |--6--|) with "( 4 - 7 )"
> and "( 8 - 13 )" below.
> 
> Thanks,
> 
> Randy
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27292508.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-25 Thread rasAK

Alexander,

I've modified the BarNumberStaff code as you suggested.  I also changed one
line in your \layout block.  I commented out the Mark_engraver as I was
getting double boxed rehearsal letters:

%\consists Mark_engraver

The only remaining issue is the positioning of the text that results from
your function.  It is currently being placed above the number (which is
above the MMR).  I tried to adjust some of the Y-offset and Y-extent
numbers, but could only get the text to move up.  I would like for it to
print below the MMR (but keeping the number of measures in the MMR above the
MMR).  Something like the following:

 6
 |-|
 ( 121 - 126 )

Thoughts?

Thanks,

Randy
 


Alexander Kobel wrote:
> 
> rasAK wrote:
>> In my orchestral parts, I would like Multi-Measure Rests to have both:
>> (1) an integer representing the number of measures in the current MMR,
>> centered above (default behavior)
>> (2) a second text indicating which measures are included in the given
>> MMR,
>> in parentheses and centered BELOW the MMR.
>> 
>> (1) happens automatically.  (2) is what I don't know how to do.
> 
> Hi, Randy,
> 
> http://lsr.dsi.unimi.it/LSR/Item?id=651 includes what you're after, just 
> that it writes a bar number on every single measure by default.  But in 
> principle you can copy most of the overrides concerning 
> MultiMeasureRestNumbers from BarNumberStaff into a second voice (for 
> (2)), which shares but the MMRs with your given voices (which do (1)).
> 
> To add the parentheses, replace lines 99 to 102 by:
> (if (= start-measure end-measure)
>  (string-append "(" (number->string start-measure) ")")  ;; or only 
> "" in this line if you don't want single bars numbered at all
>  (string-append
>   "(" (number->string start-measure) " – " (number->string 
> end-measure) ")"
> 
> If you just want to plug in a BarNumberStaff as shown in the LSR 
> snippet, you just have to write "" in line 100, as stated above, and 
> you're basically done, since single measures won't have a visible 
> BarNumber text in this case.
> 
>> As an additional wrinkle, if Rehearsal Letter "A" happened to fall at mm.
>> 9,
>> Example 1b should output 2 MMRs ( |--4--| and |--6--|) with "( 4 - 7 )"
>> and
>> "( 8 - 13 )" below.
> 
> Sorry, no idea on this one.
> 
> 
> Cheers,
> Alexander
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27318719.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-26 Thread rasAK

Alexander,

One other thing.  Your code does solve the "additional wrinkle" I referred
to.  In the attached, at letter I, you will see that a 20 MMR is broken up
by Rehearsal Letter "I" and your function calcs the 2 contiguous MMR ranges
correctly and attaches them.

Randy

http://old.nabble.com/file/p27319831/Bach_Singet_dem_Herrn_04_choir_I_bassoon_pg_2.pdf
Bach_Singet_dem_Herrn_04_choir_I_bassoon_pg_2.pdf 


Alexander Kobel wrote:
> 
> rasAK wrote:
>> In my orchestral parts, I would like Multi-Measure Rests to have both:
>> (1) an integer representing the number of measures in the current MMR,
>> centered above (default behavior)
>> (2) a second text indicating which measures are included in the given
>> MMR,
>> in parentheses and centered BELOW the MMR.
>> 
>> (1) happens automatically.  (2) is what I don't know how to do.
> 
> Hi, Randy,
> 
> http://lsr.dsi.unimi.it/LSR/Item?id=651 includes what you're after, just 
> that it writes a bar number on every single measure by default.  But in 
> principle you can copy most of the overrides concerning 
> MultiMeasureRestNumbers from BarNumberStaff into a second voice (for 
> (2)), which shares but the MMRs with your given voices (which do (1)).
> 
> To add the parentheses, replace lines 99 to 102 by:
> (if (= start-measure end-measure)
>  (string-append "(" (number->string start-measure) ")")  ;; or only 
> "" in this line if you don't want single bars numbered at all
>  (string-append
>   "(" (number->string start-measure) " – " (number->string 
> end-measure) ")"
> 
> If you just want to plug in a BarNumberStaff as shown in the LSR 
> snippet, you just have to write "" in line 100, as stated above, and 
> you're basically done, since single measures won't have a visible 
> BarNumber text in this case.
> 
>> As an additional wrinkle, if Rehearsal Letter "A" happened to fall at mm.
>> 9,
>> Example 1b should output 2 MMRs ( |--4--| and |--6--|) with "( 4 - 7 )"
>> and
>> "( 8 - 13 )" below.
> 
> Sorry, no idea on this one.
> 
> 
> Cheers,
> Alexander
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27319831.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-27 Thread rasAK

Alexander,

I don't have time to look into this, but wanted you to be aware: I went
ahead and used the BarNumberStaff rather than the BarNumberVoice.  In trying
to adjust the Y-Offset of the BarNumberVoice, it moves the lyrics down as
well.  The BarNumberStaff does not.

\new BarNumberVoice \with {
\override MultiMeasureRestNumber #'Y-offset = #-7
\override MultiMeasureRestNumber #'font-size = #-2 }
{ \compressFullBarRests \global \TemplateMelody } 

Randy


Alexander Kobel wrote:
> 
> me - stanford wrote:
>> 2) Also, do you think #'outside-staff-priority = #150 is a reasonable 
>> priority setting for the MMR Text?  I'm not sure what most objects' 
>> settings are for this property.  I was just trying to get it to win over 
>> the Lyrics setting.
> 
> Oh, and just a few words about this before I leave for today.
> 
> AFAICS, the Lyrics as well as the BarNumberStaff form a vertically
> aligned group (Is this a VerticalAxisGroup? I'm not sure here...) of
> their own - I think of them as normal staves, basically.
> I _think_ that it should not be possible for grobs of those neighboring
> groups to "cross"; you're merely pushing the MultiMeasureRestNumbers far
> above the center baseline of the BarNumberStaff, and since there are no
> lyrics under a MMR, the skylines of the two squeeze together.  So I
> wonder why 'outside-staff-priority should change anything at all (and
> also didn't test it, to be honest).
> 
> That's why I prefer the approach with an additional voice a single
> staff:  Both MMRNumbers belong to voices in the same staff (read:
> vertical group), just with different directions in which they are
> attached. Thus, your settings are unaffected by, say, a second stanza,
> larger lyrics, dynamics between staff and lyrics, and so on.  An in this
> case, you could also use 'outside-staff-priority and '...-padding, but
> I'm almost certain you won't need them.
> 
> 
> Cheers,
> Alexander
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27337870.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-27 Thread rasAK

Alexander,

Yes, I've got what I need for now, so no rush on the fix.  Whenever you do
get to it, let me know and I'll be happy to test.

Randy



Alexander Kobel wrote:
> 
> rasAK wrote:
>> I don't have time to look into this, but wanted you to be aware: I went
>> ahead and used the BarNumberStaff rather than the BarNumberVoice.  In
>> trying
>> to adjust the Y-Offset of the BarNumberVoice, it moves the lyrics down as
>> well.  The BarNumberStaff does not.
> 
> Ah, I think I see the problem.  A MMRNumber is added under every MMR; 
> it's just a "" string for the single measure rests, but even this 
> affects the spacing.  No clue why this does not seem to hurt with the 
> BarNumberStaff approach.
> 
> Maybe I should take the time and test whether an empty stencil instead 
> of the null text helps, but it's not quite on top of my priority queue 
> if you're fine with your current solution.
> 
> 
> Cheers,
> Alexander
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27348877.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


\partcombine and positioning of soloText, soloIIText and aDueText

2010-01-28 Thread rasAK

Anyone know how to tweak/adjust the positioning of the 3 text values
associated with \partcombine?  Specifically, I'd like to have an override at
the beginning of my musical expression that puts soloIIText below the staff
while leaving soloText above the staff.

Thanks,

Randy
-- 
View this message in context: 
http://old.nabble.com/%5Cpartcombine-and-positioning-of-soloText%2C-soloIIText-and-aDueText-tp27366742p27366742.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: your MultiMeasureRest utility

2010-03-12 Thread rasAK

Alexander,

Well, to Carl's comment, I am not actually putting a full-measure rest in a
partial measure.  The last full-measure rest (R2.) completely fills bar 151,
which is in 3/4 time.  While the error message doesn't tell us what exactly
causes the bar-check error, it SHOULD be caused by the following 1/4-note
partial measure that precedes m. 152 (in the new 4/4 time section), NOT the
dotted 1/2-note in the previous time signature.

In other words, if I were to truncate the input file after the dotted
1/2-note in m. 151, but before the partial measure, and truncate the
MultiMeasure template voice at the same spot, I would expect the part to
print properly with no error.

Which of course leads me to ask, "does Lilypond, once it sees the 1/4-note
pickup to the new section, go back and consider the dotted 1/2 note that
came before + this 1/4-note as 1 full measure in the new time signature?  If
so, then Carl's comment would explain the error.

Whatever the case, I agree with you that we now have a good sense for the
issue here and the error can be ignored.

Thanks for the reply!

Randy



Alexander Kobel wrote:
> 
> me - stanford wrote:
>> Alexender,
>> 
>> *Here's some more feedback for you *(whenever you get around to looking 
>> at this code again).  I've attached all the relevant files:
>> 
>> %=
>> 
>> I'm not sure if you remember the barcheck issue I was getting?  It 
>> looked like this:
> 
>> * Bach_Singet_dem_Herrn_source_music.ly:85:23: warning: barcheck failed 
>> at: -1/4 *
>> * ** \mark \default  *
>> *R2.*15 ** ** % N = 137 *
> 
> Hi, Randy,
> 
> it seems like this was kinda solved without me having a look at it at 
> all.  In a recent message on lilypond-user (the "Partials and upbeats" 
> thread), Carl Sorensen says:
>> But for the current status of bar-checks, putting a full-measure rest in
>> a
>> partial measure should always produce the barcheck warning, IMO.
> 
> So it looks like the problem is not inherent to my code, though of 
> course the method used there is quite ugly and hack-ish, and it breaks 
> if you try to use anything but MultiMeasureRests in the BarNumberStaff 
> without manual tweaking of the global counter variables.
> But in essence: One should not bother to care about the warnings as long 
> as it works.
> 
> 
> Cheers,
> Alexander
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Re%3A-your-MultiMeasureRest-utility-tp27867655p27885461.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user