[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: confusion in text spanning
From: |
Hugh Myers |
Subject: |
Re: confusion in text spanning |
Date: |
Thu, 26 Nov 2009 14:53:07 -0700 |
Here is the template I'm working with. The notes are nonsense, but the
problems are the ones I've run into and have had to solve...
\version "2.13.7"
upper = {
c4 d e f \startTextSpan % polyphonic
\repeat volta 2 {
g4 a b c % monophonic, see below
}
\alternative {
{ b4 \stopTextSpan g e c } % polyphonic again
{ \repeat volta 2 {
\bar ":|.|:"
b'4 g e c
}
}
}
e g a b
}
lower = {
c,2 g2 % polyphonic
s1 % a spacer "disables" this voice tamporarily
g2 c2 % and here we are again.
g2 c2 % and here we are again.
c2 g2
}
ringer = {
\textSpannerDown
\override TextSpanner #'(bound-details left text) = "let ring "
}
<<
\new Staff \relative c'' {
<<
\new Voice = "1" { \ringer \voiceOne \upper }
\new Voice = "2" { \voiceTwo \lower }
>>
}
\new TabStaff \relative c' {
<<
\new TabVoice = "t1" { \voiceOne \upper }
\new TabVoice = "t2" { \voiceTwo \lower }
>>
}
>>
This demonstrates mixed mono and poly with tab. It also has spanned text.
--hsm
2009/11/26 Hugh Myers <address@hidden>:
> I think I was keeping track of individual bars that way (with braces
> that is)--- you are right, newline would work just as well and few
> characters='s less clutter. Regards \stop etc. I got it to work more
> or less as you say. It is on another machine, I'll show you the
> template in the next email.
>
> --hsm
>
> 2009/11/26 Frédéric Bron <address@hidden>:
>>> Since I normally program in lisp, I don't have any problems with
>>> nested delimiters. Are you suggesting that excess (at least to your
>>> eyes) braces are the problem or are you suggesting that the \stop is
>>> at the wrong level?
>>
>> I was wondering why you add braces here: { a,8 [e'] g, [e'] f, [e'] }.
>> Maybe if you try to put \stopTextSpan inside the last block, just
>> after the last note and before } it would change something. But I am
>> not sure.
>> { a,8 [e'] g, [e'] f, [e'] \stopTextSpan }
>> Frédéric
>>
>
- confusion in text spanning, Hugh Myers, 2009/11/25
- Re: confusion in text spanning, Xavier Scheuer, 2009/11/25
- Re: confusion in text spanning, Hugh Myers, 2009/11/25
- Re: confusion in text spanning, Hugh Myers, 2009/11/25
- Re: confusion in text spanning, Frédéric Bron, 2009/11/26
- Re: confusion in text spanning, Hugh Myers, 2009/11/26
- Re: confusion in text spanning, Frédéric Bron, 2009/11/26
- Re: confusion in text spanning, Hugh Myers, 2009/11/26
- Re: confusion in text spanning,
Hugh Myers <=
- Re: confusion in text spanning, Alexander Kobel, 2009/11/26