Re: How to break continuous ottava bracket

2017-07-25 Thread Simon Albrecht

On 25.07.2017 21:19, arnepe wrote:

how about putting the ottavas in a separate variable, see attached file ...


Sometimes, it’s not the best thing to use Nabble to post on this list, 
because in normal environments, your attachment does not show up…


Best, Simon

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


Re: How to break continuous ottava bracket

2017-07-25 Thread arnepe
how about putting the ottavas in a separate variable, see attached file ...

cheers
Arne



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-break-continuous-ottava-bracket-tp204648p204663.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How to break continuous ottava bracket

2017-07-25 Thread David Kastrup
Karol Majewski  writes:

> Hi, how to break ottava bracket beteween bars? The following gives me one
> continuous bracket
>
> \ottava #1 c'1 \ottava #0
> \ottava #1 c'1 \ottava #0

I am sort-of annoyed since I answered this question but see no evidence
in my sent folder or mail log or Gnews.  Must have somehow deleted it or
sent it to Nirvana.

So let's try this again.

{
  \ottava #1 c'1 \grace { \ottava #0 s4 }
  \ottava #1 c'1
}


-- 
David Kastrup

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


Re: How to break continuous ottava bracket

2017-07-25 Thread David Wright
On Tue 25 Jul 2017 at 16:27:05 (+0200), Karol Majewski wrote:
> Sometimes you want to have two independent bars in one line:
> 
> {
> c'1 ^"example 1"
> d'1 \bar "||"
> \ottava #1 c''1 ^"example 2"
> d''1 \ottava #0 \bar "||"
> \ottava #1 c''1 ^"example 3"
> d''1 \ottava #0 \bar "||"
> 
> }
> 
> And here continuous ottava bracket looks stupid, doesn't it?
> 
> Is there more elegant way to break it? spacer rest does the job, but this
> solution is a bit artificial.

Well, so is the problem. Anyway,

{
c'1 ^"example 1"
d'1 \bar "||"
\ottava #1 c''1 ^"example 2"
d''1*1/2 \ottava #0 \hideNotes d''1*0 s1*1/2 \unHideNotes \bar "||"
\ottava #1 c''1 ^"example 3"
d''1 \ottava #0 \bar "||"

}

and then sort out the exact X placement.

Cheers,
David.

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


Re: How to break continuous ottava bracket

2017-07-25 Thread Richard Shann
On Tue, 2017-07-25 at 16:57 +0200, Karol Majewski wrote:
> OK, got an idea:
> 
> \ottava #1 c'1 \ottava #0
> \ottava #1 \set Staff.ottavation = #"8va" c'1 \ottava #0
> 
> 
> It's not 100% elegant, but aceptable, I think.
> 
You still have multiple \ottava at the same moment, which do nothing.

 \ottava #1 c'1 
 \set Staff.ottavation = #"8va" c'1 
 \ottava #0
 
is the same on typesetting.

Richard



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


Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
OK, got an idea:

\ottava #1 c'1 \ottava #0
\ottava #1 \set Staff.ottavation = #"8va" c'1 \ottava #0

It's not 100% elegant, but aceptable, I think.

--Karol


2017-07-25 16:32 GMT+02:00 Kieren MacMillan :

> Hi Karol,
>
> > Sometimes you want to have two independent bars in one line:
> > And here continuous ottava bracket looks stupid, doesn't it?
>
> Yes.
>
> > Is there more elegant way to break it? spacer rest does the job, but
> this solution is a bit artificial.
>
> Unfortunately, null spacers (e.g., s2*0) don't.  =(
>
> I look forward to seeing elegant solutions to your question/issue.
>
> Cheers,
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
OK, got an idea:

\ottava #1 c'1 \ottava #0
\ottava #1 \set Staff.ottavation = #"8va" c'1 \ottava #0

It's not 100% elegant, but aceptable, I think.

--Karol

2017-07-25 16:06 GMT+02:00 Simon Albrecht :

> On 25.07.2017 16:00, Karol Majewski wrote:
>
>> Hi, how to break ottava bracket beteween bars? The following gives me one
>> continuous bracket
>>
>> \ottava #1 c'1 \ottava #0
>> \ottava #1 c'1 \ottava #0
>>
>
> The bracket is continuous because the ottavation is continuous – there is
> no moment when the \ottava #0 actually takes effect.
> You could fake it with
>
> \ottava #1 c'1*1/2 \ottava #0 s2
> \ottava #1 c'1
>
> – but why?
>
> Best, Simon
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to break continuous ottava bracket

2017-07-25 Thread Kieren MacMillan
Hi Karol,

> Sometimes you want to have two independent bars in one line:
> And here continuous ottava bracket looks stupid, doesn't it?

Yes.

> Is there more elegant way to break it? spacer rest does the job, but this 
> solution is a bit artificial.

Unfortunately, null spacers (e.g., s2*0) don't.  =(

I look forward to seeing elegant solutions to your question/issue.

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: How to break continuous ottava bracket

2017-07-25 Thread Karol Majewski
Sometimes you want to have two independent bars in one line:

{
c'1 ^"example 1"
d'1 \bar "||"
\ottava #1 c''1 ^"example 2"
d''1 \ottava #0 \bar "||"
\ottava #1 c''1 ^"example 3"
d''1 \ottava #0 \bar "||"

}

And here continuous ottava bracket looks stupid, doesn't it?

Is there more elegant way to break it? spacer rest does the job, but this
solution is a bit artificial.

--Karol

2017-07-25 16:06 GMT+02:00 Simon Albrecht :

> On 25.07.2017 16:00, Karol Majewski wrote:
>
>> Hi, how to break ottava bracket beteween bars? The following gives me one
>> continuous bracket
>>
>> \ottava #1 c'1 \ottava #0
>> \ottava #1 c'1 \ottava #0
>>
>
> The bracket is continuous because the ottavation is continuous – there is
> no moment when the \ottava #0 actually takes effect.
> You could fake it with
>
> \ottava #1 c'1*1/2 \ottava #0 s2
> \ottava #1 c'1
>
> – but why?
>
> Best, Simon
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to break continuous ottava bracket

2017-07-25 Thread Simon Albrecht

On 25.07.2017 16:00, Karol Majewski wrote:
Hi, how to break ottava bracket beteween bars? The following gives me 
one continuous bracket


\ottava #1 c'1 \ottava #0
\ottava #1 c'1 \ottava #0


The bracket is continuous because the ottavation is continuous – there 
is no moment when the \ottava #0 actually takes effect.

You could fake it with

\ottava #1 c'1*1/2 \ottava #0 s2
\ottava #1 c'1

– but why?

Best, Simon

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