Re: edition-engraver and \cadenzaOn

2019-01-18 Thread Urs Liska

Hi Jan-Peter,

Am 18.01.19 um 14:09 schrieb Jan-Peter Voigt:

Hi Urs,

happy new year!



thanks and dito!




This is on my agenda for quite some time. It will be possible and I have
an idea how to make it possible, but ...
I try to push the priority a little bit.



That would be great.
It's just one case right now, but it's in a project where the main input 
files are explicit part of the edition, so I'm really hard-pressed to 
move *all* tweaking to an include file.


Urs



Jan-Peter

Am 18.01.19 um 14:04 schrieb Urs Liska:

Hey all,

it seems that after \cadenzaOn all events have the same "zero" moment -
which makes sense, given that \cadenzOn completely suppresses all Timing
consideration.

So is there *any* chance to addres specific notes or slurs or whatever
that occur at some point in the cadenza?

Urs


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


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


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


Re: edition-engraver and \cadenzaOn

2019-01-18 Thread Jan-Peter Voigt
Hi Urs,

happy new year!

This is on my agenda for quite some time. It will be possible and I have
an idea how to make it possible, but ...
I try to push the priority a little bit.

Jan-Peter

Am 18.01.19 um 14:04 schrieb Urs Liska:
> Hey all,
> 
> it seems that after \cadenzaOn all events have the same "zero" moment -
> which makes sense, given that \cadenzOn completely suppresses all Timing
> consideration.
> 
> So is there *any* chance to addres specific notes or slurs or whatever
> that occur at some point in the cadenza?
> 
> Urs
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


edition-engraver and \cadenzaOn

2019-01-18 Thread Urs Liska

Hey all,

it seems that after \cadenzaOn all events have the same "zero" moment - 
which makes sense, given that \cadenzOn completely suppresses all Timing 
consideration.


So is there *any* chance to addres specific notes or slurs or whatever 
that occur at some point in the cadenza?


Urs


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


Re: \cadenzaOn: clefs, key signatures on line breaks

2018-05-14 Thread foxfanfare
Robert Kubosz wrote
> Still I have question refering the breaks: is there any other method for
> line breaking (preferably auto-breaking)?

I don't understand your question. In your exemple, the breakings are working
because you have added the barlines in your \repeat command. Then LP
automatically did the breaks. If you want to hide the barlines, this could
also work:

\relative f' {
\clef treble
\key f \major
    \cadenzaOn

\repeat unfold 9 {
f4 f f f
\bar ""
}
\cadenzaOff
} 




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: \cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread Robert Kubosz
Hi Thomas!

I added the post via web page with use of  markup. It looks like the mail
engine ignored it. Nevermind, I repost the example:

\version "2.19.81"

\relative f' {
\clef treble
\key f \major
\repeat unfold 10 f4
\break
\repeat unfold 10 g4
\cadenzaOff
}
\layout {
\context {
\Staff
\remove Time_signature_engraver
\remove Bar_engraver
}
}

@foxfanfare, your snippet showed me, that I needlessly removed bar engraver
and it was the problem. Silly me. Thanks!
Still I have question refering the breaks: is there any other method for
line breaking (preferably auto-breaking)?
Say, I have a snippet:
\version "2.19.81"

\version "2.19.81"

\relative f' {
\clef treble
    \key f \major
\cadenzaOn

\repeat unfold 9 {
f4 f f f
\bar"|"
}
\cadenzaOff
}
And it will produce a line with tightly packed notes. Is there some hack,
that it will break automatically the line in cadenza mode, like it happens
in normal mode?





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: \cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread Thomas Morley
2018-05-13 18:30 GMT+02:00 Robert Kubosz :
> The example below

Hello,

there is no code visible for me in your mail.
Neither here:
https://lists.gnu.org/archive/html/lilypond-user/2018-05/msg00317.html

Please provide plain text mails or attach a file or a link to it.

Thanks,
  Harm

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


Re: \cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread foxfanfare
Robert Kubosz wrote
> Hello!
> I write a music piece with \cadenzaOn and \cadenzaOff. The example below
> produces output without the clef and key signature after line break. Is
> there a possibility to display them? 
> Also, I have second question: can the lines auto break in cadenza mode?
> 
> With best regards
> Robert

Hi Robert. I don't understand your problem, cadenzaOn will produce the clefs
and time signature after line breaks by default! 
I think your exemple is missing the "cadenzaOn" btw.

\version "2.19.81"

\relative f' {
\cadenzaOn
\clef treble
\key f \major
\repeat unfold 20 f4
\bar "" \break
\repeat unfold 20 g4
\cadenzaOff
}

For the lines, they don't break automatically. You'll have to write an
invisible bar before making the break (see above).

All the best.



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


\cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread Robert Kubosz
Hello!
I write a music piece with \cadenzaOn and \cadenzaOff. The example below
produces output without the clef and key signature after line break. Is
there a possibility to display them? 
Also, I have second question: can the lines auto break in cadenza mode?

With best regards
Robert





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re:RE;re; beaming with cadenzaOn

2017-06-03 Thread Sam Frybyte
Date: Thu, 1 Jun 2017 12:08:09 +0100
From: "Phil Holmes" <m...@philholmes.net>
To: "Sam Frybyte" <fryb...@gmail.com>,  "lilypond user group"
<lilypond-user@gnu.org>, <b.m.bar...@btinternet.com>
Subject: Re: RE;re; beaming with cadenzaOn
Message-ID: <B428F080E33A43098EBBA8503713FEF6@Advent>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

- Original Message -
From: "Sam Frybyte" <fryb...@gmail.com>
To: "lilypond user group" <lilypond-user@gnu.org>;
<b.m.bar...@btinternet.com>
Sent: Thursday, June 01, 2017 11:47 AM
Subject: RE;re; beaming with cadenzaOn


> Date: Wed, 31 May 2017 18:29:51 +0100
> From: Brian Barker <b.m.bar...@btinternet.com>
> To: lilypond user group <lilypond-user@gnu.org>
> Cc: Sam Frybyte <fryb...@gmail.com>
> Subject: Re: beaming with cadenzaOn
> Message-ID: <58f7952b048a4...@rgout06.bt.lon5.cpcloud.co.uk> (added by
>postmas...@btinternet.com)
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> At 10:16 31/05/2017 -0700, Sam Frybyte wrote:
>>If there is a time signature the beaming of 8th notes with
>>acciaccaturas between them is created as I expect.
>>in version. 2.18.2
>>with \cadenzaOn
>>\stemUp\acciaccatura c'8 \stemNeutral a8
>> \stemUp\acciaccatura b8 \stemNeutral ges8
>> \times 2/3 {f16 [des des]} des4
>>
>>I have not been able to figure out or find a way for the 8ths to be
>>beamed.
>
>>>Just as you would beam any other notes: follow the a8 with a >>left
>>>bracket "a8[" and the ges8 with a right bracket "ges8]".
>
>>>If you wrote your triplet as { f16[ des des] } you might see more
>>>readily how the notation works: the brackets do not enclose >>anything
>>>but separately follow the notes to which they apply.
>>>I trust this helps.
>>>Brian Barker
>
> Mr. Barker
> It doesn't work.  I tried this and at least in version 2.18.2 nothing
> happens- Unless you mean I must include the quotation marks? and if
> you do where is this information in the manual?  Otherwise without the
> marks nothing happens.
> Thank you

It does work:

{ \cadenzaOn \acciaccatura c'8 a8[
\acciaccatura b8 ges8]
\times 2/3 {f16[ des des]} des4
}


--
Phil Holmes

Phil- (and Brian) the quotes that were included in the first message
confused me.  And mentioning the triplet where it did work did too.
Without the quotes I was able to understand where the brackets should
go (I was putting them in the wrong places and continued to have to
experiment to get it 'right' individually/per situation.) Thank you
both for your help

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


RE: beaming with cadenzaOn

2017-06-01 Thread Mark Stephen Mrotek
Sam,

Perhaps
http://lilypond.org/doc/v2.18/Documentation/notation/beams

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Sam
Frybyte
Sent: Wednesday, May 31, 2017 10:16 AM
To: lilypond user group <lilypond-user@gnu.org>
Subject: beaming with cadenzaOn

If there is a time signature the beaming of 8th notes with acciaccaturas
between them is created as I expect.
in version. 2.18.2
with \cadenzaOn
\stemUp\acciaccatura c'8 \stemNeutral a8
\stemUp\acciaccatura b8 \stemNeutral ges8
\times 2/3 {f16 [des des]} des4

I have not been able to figure out or find a way for the 8ths to be beamed.
Please direct me to the place in manual where this is found.
Thank you. Or if it's not in the manual and there's a solution that you know
I look forward to knowing this.
Jay

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


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


Re: RE;re; beaming with cadenzaOn

2017-06-01 Thread Brian Barker

At 03:47 01/06/2017 -0700, Sam Frybyte wrote:

Date: Wed, 31 May 2017 18:29:51 +0100
From: Brian Barker 
Just as you would beam any other notes: follow the a8 with a left 
bracket "a8[" and the ges8 with a right bracket "ges8]".


It doesn't work.


It does for me - and clearly also for Mr Holmes.


I tried this and at least in version 2.18.2 nothing happens ...


For what it's worth, it works for me in 2.18.2.


Unless you mean I must include the quotation marks?


No.


Otherwise without the marks nothing happens.


You must be doing something different; I cannot guess what this may 
be. Are you sure you are putting both the brackets exactly where suggested?


Brian Barker 



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


Re: RE;re; beaming with cadenzaOn

2017-06-01 Thread Phil Holmes
- Original Message - 
From: "Sam Frybyte" <fryb...@gmail.com>
To: "lilypond user group" <lilypond-user@gnu.org>; 
<b.m.bar...@btinternet.com>

Sent: Thursday, June 01, 2017 11:47 AM
Subject: RE;re; beaming with cadenzaOn



Date: Wed, 31 May 2017 18:29:51 +0100
From: Brian Barker <b.m.bar...@btinternet.com>
To: lilypond user group <lilypond-user@gnu.org>
Cc: Sam Frybyte <fryb...@gmail.com>
Subject: Re: beaming with cadenzaOn
Message-ID: <58f7952b048a4...@rgout06.bt.lon5.cpcloud.co.uk> (added by
   postmas...@btinternet.com)
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 10:16 31/05/2017 -0700, Sam Frybyte wrote:

If there is a time signature the beaming of 8th notes with
acciaccaturas between them is created as I expect.
in version. 2.18.2
with \cadenzaOn
\stemUp\acciaccatura c'8 \stemNeutral a8
\stemUp\acciaccatura b8 \stemNeutral ges8
\times 2/3 {f16 [des des]} des4

I have not been able to figure out or find a way for the 8ths to be 
beamed.



Just as you would beam any other notes: follow the a8 with a >>left
bracket "a8[" and the ges8 with a right bracket "ges8]".



If you wrote your triplet as { f16[ des des] } you might see more
readily how the notation works: the brackets do not enclose >>anything
but separately follow the notes to which they apply.
I trust this helps.
Brian Barker


Mr. Barker
It doesn't work.  I tried this and at least in version 2.18.2 nothing
happens- Unless you mean I must include the quotation marks? and if
you do where is this information in the manual?  Otherwise without the
marks nothing happens.
Thank you


It does work:

{ \cadenzaOn \acciaccatura c'8 a8[
\acciaccatura b8 ges8]
\times 2/3 {f16[ des des]} des4
}


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


RE;re; beaming with cadenzaOn

2017-06-01 Thread Sam Frybyte
Date: Wed, 31 May 2017 18:29:51 +0100
From: Brian Barker <b.m.bar...@btinternet.com>
To: lilypond user group <lilypond-user@gnu.org>
Cc: Sam Frybyte <fryb...@gmail.com>
Subject: Re: beaming with cadenzaOn
Message-ID: <58f7952b048a4...@rgout06.bt.lon5.cpcloud.co.uk> (added by
postmas...@btinternet.com)
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 10:16 31/05/2017 -0700, Sam Frybyte wrote:
>If there is a time signature the beaming of 8th notes with
>acciaccaturas between them is created as I expect.
>in version. 2.18.2
>with \cadenzaOn
>\stemUp\acciaccatura c'8 \stemNeutral a8
> \stemUp\acciaccatura b8 \stemNeutral ges8
> \times 2/3 {f16 [des des]} des4
>
>I have not been able to figure out or find a way for the 8ths to be beamed.

>>Just as you would beam any other notes: follow the a8 with a >>left
>>bracket "a8[" and the ges8 with a right bracket "ges8]".

>>If you wrote your triplet as { f16[ des des] } you might see more
>>readily how the notation works: the brackets do not enclose >>anything
>>but separately follow the notes to which they apply.
>>I trust this helps.
>>Brian Barker

Mr. Barker
It doesn't work.  I tried this and at least in version 2.18.2 nothing
happens- Unless you mean I must include the quotation marks? and if
you do where is this information in the manual?  Otherwise without the
marks nothing happens.
Thank you

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


Re: beaming with cadenzaOn

2017-05-31 Thread Brian Barker

At 10:16 31/05/2017 -0700, Sam Frybyte wrote:
If there is a time signature the beaming of 8th notes with 
acciaccaturas between them is created as I expect.

in version. 2.18.2
with \cadenzaOn
\stemUp\acciaccatura c'8 \stemNeutral a8
\stemUp\acciaccatura b8 \stemNeutral ges8
\times 2/3 {f16 [des des]} des4

I have not been able to figure out or find a way for the 8ths to be beamed.


Just as you would beam any other notes: follow the a8 with a left 
bracket "a8[" and the ges8 with a right bracket "ges8]".


If you wrote your triplet as { f16[ des des] } you might see more 
readily how the notation works: the brackets do not enclose anything 
but separately follow the notes to which they apply.


I trust this helps.

Brian Barker


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


beaming with cadenzaOn

2017-05-31 Thread Sam Frybyte
If there is a time signature the beaming of 8th notes with
acciaccaturas between them is created as I expect.
in version. 2.18.2
with \cadenzaOn
\stemUp\acciaccatura c'8 \stemNeutral a8
\stemUp\acciaccatura b8 \stemNeutral ges8
\times 2/3 {f16 [des des]} des4

I have not been able to figure out or find a way for the 8ths to be beamed.
Please direct me to the place in manual where this is found.
Thank you. Or if it's not in the manual and there's a solution that you know
I look forward to knowing this.
Jay

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 7:37 PM, Thomas Morley <thomasmorle...@gmail.com>
wrote:

> 2016-12-06 0:48 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
> >
> >
> > On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley <thomasmorle...@gmail.com>
> > wrote:
> >>
> >> 2016-12-05 16:52 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
> >> > Hello all,
> >> >
> >> > I'm trying to typeset a piece where one player has an unmetered
> cadenza
> >> > while every other player rests. I'm trying to use mmrest-of-length to
> >> > generate the rests, but if I use \cadenzaOn, I get the error
> >> > "programming
> >> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the
> rests
> >> > are
> >> > not printed. This error doesn't happen if I use skip-of-rest instead,
> >> > but in
> >> > that case, I don't get the rests.
> >> >
> >> > Here is a minimal example that demonstrates the problem:
> >> >
> >> > %%
> >> >
> >> > \version "2.18.2"
> >> >
> >> > MyCadenza = \relative c' {
> >> >   c4 d8 e f g g4
> >> >   f2 g4 g \bar "|"
> >> > }
> >> >
> >> > \new GrandStaff <<
> >> >   \new Staff {
> >> > \cadenzaOn
> >> > \MyCadenza
> >> > \cadenzaOff c'1
> >> >   }
> >> >   \new Staff {
> >> > \cadenzaOn
> >> > #(mmrest-of-length MyCadenza)
> >> > \cadenzaOff
> >> > c'1
> >> >   }
> >> >>>
> >> >
> >> > %%%
> >> >
> >> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
> >> > command I
> >> > should be using to get a full measure rest while I'm using \cadenzaOn?
> >> >
> >> > Thanks in advance,
> >> > Brin
> >>
> >>
> >> Hi,
> >> found some code on the list (can't say anymore who posted it
> >> initially) and extended it a bit. See attached.
> >> It completely avoids \cadenzaOn/Off, because of the hassle you
> >> experienced.
> >> midi may come out strange (not tested), I don't care about midi, though
> >> ...
> >>
> >> It's 2.15.24 code, but still working. Anyway running convert-ly over
> >> it may be a good idea.
> >>
> >> Maybe it helps,
> >>   Harm
> >
> >
> > Harm,
> >
> > Thanks for finding this! Ideally it would be nice to not have the
> fermatas
> > over the rests, but if that's tricky to do, then this version is fine.
> >
> > Thanks again,
> > Brin
>
> \cadenzaNotes takes three arguments. The first is a boolean, set it
> false to get rid of the fermata over the MultiMeasureRest.
>
> Cheers,
>   Harm
>

Ah, great, thank you!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Thomas Morley
2016-12-06 0:48 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
>
>
> On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley <thomasmorle...@gmail.com>
> wrote:
>>
>> 2016-12-05 16:52 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
>> > Hello all,
>> >
>> > I'm trying to typeset a piece where one player has an unmetered cadenza
>> > while every other player rests. I'm trying to use mmrest-of-length to
>> > generate the rests, but if I use \cadenzaOn, I get the error
>> > "programming
>> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
>> > are
>> > not printed. This error doesn't happen if I use skip-of-rest instead,
>> > but in
>> > that case, I don't get the rests.
>> >
>> > Here is a minimal example that demonstrates the problem:
>> >
>> > %%
>> >
>> > \version "2.18.2"
>> >
>> > MyCadenza = \relative c' {
>> >   c4 d8 e f g g4
>> >   f2 g4 g \bar "|"
>> > }
>> >
>> > \new GrandStaff <<
>> >   \new Staff {
>> > \cadenzaOn
>> > \MyCadenza
>> > \cadenzaOff c'1
>> >   }
>> >   \new Staff {
>> > \cadenzaOn
>> > #(mmrest-of-length MyCadenza)
>> > \cadenzaOff
>> > c'1
>> >   }
>> >>>
>> >
>> > %%%
>> >
>> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
>> > command I
>> > should be using to get a full measure rest while I'm using \cadenzaOn?
>> >
>> > Thanks in advance,
>> > Brin
>>
>>
>> Hi,
>> found some code on the list (can't say anymore who posted it
>> initially) and extended it a bit. See attached.
>> It completely avoids \cadenzaOn/Off, because of the hassle you
>> experienced.
>> midi may come out strange (not tested), I don't care about midi, though
>> ...
>>
>> It's 2.15.24 code, but still working. Anyway running convert-ly over
>> it may be a good idea.
>>
>> Maybe it helps,
>>   Harm
>
>
> Harm,
>
> Thanks for finding this! Ideally it would be nice to not have the fermatas
> over the rests, but if that's tricky to do, then this version is fine.
>
> Thanks again,
> Brin

\cadenzaNotes takes three arguments. The first is a boolean, set it
false to get rid of the fermata over the MultiMeasureRest.

Cheers,
  Harm

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 4:35 PM, Thomas Morley <thomasmorle...@gmail.com>
wrote:

> 2016-12-05 16:52 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
> > Hello all,
> >
> > I'm trying to typeset a piece where one player has an unmetered cadenza
> > while every other player rests. I'm trying to use mmrest-of-length to
> > generate the rests, but if I use \cadenzaOn, I get the error "programming
> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> are
> > not printed. This error doesn't happen if I use skip-of-rest instead,
> but in
> > that case, I don't get the rests.
> >
> > Here is a minimal example that demonstrates the problem:
> >
> > %%
> >
> > \version "2.18.2"
> >
> > MyCadenza = \relative c' {
> >   c4 d8 e f g g4
> >   f2 g4 g \bar "|"
> > }
> >
> > \new GrandStaff <<
> >   \new Staff {
> > \cadenzaOn
> > \MyCadenza
> > \cadenzaOff c'1
> >   }
> >   \new Staff {
> > \cadenzaOn
> > #(mmrest-of-length MyCadenza)
> > \cadenzaOff
> > c'1
> >   }
> >>>
> >
> > %%%
> >
> > I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different
> command I
> > should be using to get a full measure rest while I'm using \cadenzaOn?
> >
> > Thanks in advance,
> > Brin
>
>
> Hi,
> found some code on the list (can't say anymore who posted it
> initially) and extended it a bit. See attached.
> It completely avoids \cadenzaOn/Off, because of the hassle you experienced.
> midi may come out strange (not tested), I don't care about midi, though ...
>
> It's 2.15.24 code, but still working. Anyway running convert-ly over
> it may be a good idea.
>
> Maybe it helps,
>   Harm
>

Harm,

Thanks for finding this! Ideally it would be nice to not have the fermatas
over the rests, but if that's tricky to do, then this version is fine.

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Thomas Morley
2016-12-05 16:52 GMT+01:00 Brin Solomon <amphio...@gmail.com>:
> Hello all,
>
> I'm trying to typeset a piece where one player has an unmetered cadenza
> while every other player rests. I'm trying to use mmrest-of-length to
> generate the rests, but if I use \cadenzaOn, I get the error "programming
> error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests are
> not printed. This error doesn't happen if I use skip-of-rest instead, but in
> that case, I don't get the rests.
>
> Here is a minimal example that demonstrates the problem:
>
> %%
>
> \version "2.18.2"
>
> MyCadenza = \relative c' {
>   c4 d8 e f g g4
>   f2 g4 g \bar "|"
> }
>
> \new GrandStaff <<
>   \new Staff {
> \cadenzaOn
> \MyCadenza
> \cadenzaOff c'1
>   }
>   \new Staff {
> \cadenzaOn
> #(mmrest-of-length MyCadenza)
> \cadenzaOff
> c'1
>   }
>>>
>
> %%%
>
> I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different command I
> should be using to get a full measure rest while I'm using \cadenzaOn?
>
> Thanks in advance,
> Brin


Hi,
found some code on the list (can't say anymore who posted it
initially) and extended it a bit. See attached.
It completely avoids \cadenzaOn/Off, because of the hassle you experienced.
midi may come out strange (not tested), I don't care about midi, though ...

It's 2.15.24 code, but still working. Anyway running convert-ly over
it may be a good idea.

Maybe it helps,
  Harm
\version "2.15.24" 

cadenzaNotes =
#(define-music-function (parser location fermata? music cad-music) (boolean? ly:music? ly:music?)
  (let* ((mus-len (ly:music-length  cad-music))
 (num (ly:moment-main-numerator mus-len))
 (denom (ly:moment-main-denominator mus-len))
 (fermata (make-music 'MultiMeasureTextEvent
 'tweaks (list
  ;; Set the 'text based on the 'direction
  (cons 'text (lambda (grob)
(if (eq? (ly:grob-property grob 'direction) DOWN)
(markup #:musicglyph "scripts.dfermata")
(markup #:musicglyph "scripts.ufermata"
  (cons 'outside-staff-priority 40)
  (cons 'outside-staff-padding 0
(lst (list
  	#{
  	  \set Timing.measureLength = $mus-len
  	  \scaleDurations #(cons num denom) $music 
  	  \unset Timing.measureLength
  	#}))
)
 (make-sequential-music
  (if fermata?
  (cons fermata lst)
  lst


othernotes = \relative c'' { d1 c1 }
cnotes = \relative c'' {  c8[ d e f g]  c,8[ d e f g]}
snotes = { $(skip-of-length cnotes) }
mnotesI = \cadenzaNotes ##t R1 \cnotes
mnotesII = \cadenzaNotes ##f \relative c'' { c2 d } \cnotes


\score {
 <<
   \new Staff { \othernotes \cnotes \othernotes }
   \new Staff { \othernotes \snotes \othernotes }
   \new Staff { \othernotes \mnotesI \othernotes }
   \new Staff { \othernotes \mnotesII \othernotes }
   \new Staff \relative c'' { d1 c1~ \cadenzaNotes ##t { c2\fermata g4\fermata c~ }  \cnotes  c1 d }
   % manually:
   \new Staff { \othernotes R1*10/8\fermataMarkup  \othernotes }
   \new Staff { \othernotes \scaleDurations #'(10 . 8) \relative c'' { c2\fermata g4\fermata c }  \othernotes }
 >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread SoundsFromSound
Nick Baskin wrote
> On Mon, Dec 5, 2016 at 1:16 PM, SoundsFromSound 

> soundsfromsound@

> 
> wrote:
> 
>> Nick Baskin wrote
>> > Hello all,
>> >
>> > I'm trying to typeset a piece where one player has an unmetered cadenza
>> > while every other player rests. I'm trying to use mmrest-of-length to
>> > generate the rests, but if I use \cadenzaOn, I get the error
>> "programming
>> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the
>> rests
>> > are not printed. This error doesn't happen if I use skip-of-rest
>> instead,
>> > but in that case, I don't get the rests.
>> >
>> >
>> > Thanks in advance,
>> > Brin
>> >
>> > ___
>> > lilypond-user mailing list
>>
>> > lilypond-user@
>>
>> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
> 
> Hello Ben,
> 
> Maybe it's an issue with the screen shot, but it looks like there's no
> rest
> in the lower staff in the screenshot? But it's interesting that the error
> message disappears with the development version as opposed to the stable
> one; any thoughts on what might have changed?
> 
> Brin
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi Brin,

You are correct, however I just thought perhaps you could find it useful if
you knew at least I was not seeing any errors like you were - perhaps you
can try your score in a 2.19 version just as a test? Not sure what's changed
but, no errors here. :) Let us know what happens.



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197657.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: mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
On Mon, Dec 5, 2016 at 1:16 PM, SoundsFromSound <soundsfromso...@gmail.com>
wrote:

> Nick Baskin wrote
> > Hello all,
> >
> > I'm trying to typeset a piece where one player has an unmetered cadenza
> > while every other player rests. I'm trying to use mmrest-of-length to
> > generate the rests, but if I use \cadenzaOn, I get the error "programming
> > error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> > are not printed. This error doesn't happen if I use skip-of-rest instead,
> > but in that case, I don't get the rests.
> >
> >
> > Thanks in advance,
> > Brin
> >
> > ___
> > lilypond-user mailing list
>
> > lilypond-user@
>
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> Hello,
>
> Not sure this 100% answers your question, but for what it's worth, I just
> copied and pasted your code into my Frescobaldi and the log showed no
> errors
> and it engraved "correctly" as is. No "programming error" at all.
>
> I used LilyPond 2.19.52.
>
> See attached for screenshot.
>
> Ben
>
> works_ok_.png
> <http://lilypond.1069038.n5.nabble.com/file/n197654/works_ok_.png>
>
>
>
> -
> composer | sound designer
> LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
> --
> View this message in context: http://lilypond.1069038.n5.
> nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197654.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
>

Hello Ben,

Maybe it's an issue with the screen shot, but it looks like there's no rest
in the lower staff in the screenshot? But it's interesting that the error
message disappears with the development version as opposed to the stable
one; any thoughts on what might have changed?

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


Re: mmrest-of-length and \cadenzaOn

2016-12-05 Thread SoundsFromSound
Nick Baskin wrote
> Hello all,
> 
> I'm trying to typeset a piece where one player has an unmetered cadenza
> while every other player rests. I'm trying to use mmrest-of-length to
> generate the rests, but if I use \cadenzaOn, I get the error "programming
> error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
> are not printed. This error doesn't happen if I use skip-of-rest instead,
> but in that case, I don't get the rests.
> 
> 
> Thanks in advance,
> Brin
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hello,

Not sure this 100% answers your question, but for what it's worth, I just
copied and pasted your code into my Frescobaldi and the log showed no errors
and it engraved "correctly" as is. No "programming error" at all.

I used LilyPond 2.19.52.

See attached for screenshot.

Ben

works_ok_.png
<http://lilypond.1069038.n5.nabble.com/file/n197654/works_ok_.png>  



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/mmrest-of-length-and-cadenzaOn-tp197634p197654.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


mmrest-of-length and \cadenzaOn

2016-12-05 Thread Brin Solomon
Hello all,

I'm trying to typeset a piece where one player has an unmetered cadenza
while every other player rests. I'm trying to use mmrest-of-length to
generate the rests, but if I use \cadenzaOn, I get the error "programming
error: Multi_measure_rest::get_rods (): I am not spanned!" and the rests
are not printed. This error doesn't happen if I use skip-of-rest instead,
but in that case, I don't get the rests.

Here is a minimal example that demonstrates the problem:

%%

\version "2.18.2"

MyCadenza = \relative c' {
  c4 d8 e f g g4
  f2 g4 g \bar "|"
}

\new GrandStaff <<
  \new Staff {
\cadenzaOn
\MyCadenza
\cadenzaOff c'1
  }
  \new Staff {
\cadenzaOn
#(mmrest-of-length MyCadenza)
\cadenzaOff
c'1
  }
>>

%%%

I'm running version 2.18.2 on Mac OS 10.11.6. Is there a different command
I should be using to get a full measure rest while I'm using \cadenzaOn?

Thanks in advance,
Brin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fighting with \cadenzaOn (and loosing :( )

2014-08-23 Thread Son_V
Hi all, sorry for my newbyism, maybe I just know about 10% (at most) of
LilyPond, but I can't leave it because of the wonderfful graphical output
... 
I made a score of a Gregorian chant as I've seen on the web using modern
notation; using Musescore it was easy to say that a beat should not be 4/4
but sometimes a 13/8 or 9/8; I exported it to an .xml file and succeeded in
making it as I would using \cadenzaOn, gaining a score with the a-capo I
wished,  BUT it was just a one voice score. Now I'm fighting with a SATB
version of the same score (In Paradisum deducant te Angeli), and can't
reaally succeed to make it look as I would. I'm inserting \break \bar |
but it doesn't work as I wouldI made a lot of tryings but with no success.
Can anyone work on my file to make it correct and explain me what i'm doing
wrong? Many thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Fighting-with-cadenzaOn-and-loosing-tp165728.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: Fighting with \cadenzaOn (and loosing :( )

2014-08-23 Thread Phil Holmes
- Original Message - 
From: Son_V vincenzo.a...@gmail.com

To: lilypond-user@gnu.org
Sent: Saturday, August 23, 2014 2:20 PM
Subject: Fighting with \cadenzaOn (and loosing :( )



Hi all, sorry for my newbyism, maybe I just know about 10% (at most) of
LilyPond, but I can't leave it because of the wonderfful graphical output
...
I made a score of a Gregorian chant as I've seen on the web using modern
notation; using Musescore it was easy to say that a beat should not be 4/4
but sometimes a 13/8 or 9/8; I exported it to an .xml file and succeeded 
in

making it as I would using \cadenzaOn, gaining a score with the a-capo I
wished,  BUT it was just a one voice score. Now I'm fighting with a SATB
version of the same score (In Paradisum deducant te Angeli), and can't
reaally succeed to make it look as I would. I'm inserting \break \bar |
but it doesn't work as I wouldI made a lot of tryings but with no success.
Can anyone work on my file to make it correct and explain me what i'm 
doing

wrong? Many thanks.



When you have a multi-staff (probably actually multi-voice) piece, there 
must be a a point where the music is not continuous in all parts for 
lilypond to find somewhere to put line breaks.  So, for example, if you had 
one voice singing half-note then a full string of whole notes, and the other 
just singing whole notes, there would be no-where for lilypond to break, 
since one voice is always active at any moment.


So: check you've got all the note lengths correct: there is almost certainly 
a cadence point where all the voices pause.


If you can't see a problem, feel free to mail your lilypond file and scan of 
music direct to me and I'll take a look.


--
Phil Holmes 



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


cadenzaOn

2013-09-01 Thread Martin Tarenskeen


Why is this not working (Lilypond 2.16.2)

\version 2.16.2
\relative c' {
\cadenzaOn
c4 d e f g
}

Processing `/home/m.tarenskeen/Dropbox/tmp/Cadenzatest.ly'
Parsing...
Interpreting music...
warning: cannot find or create `Timing' called `'
warning: cannot find or create `Timing' called `'
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `Cadenzatest.ps'...
Converting to `./Cadenzatest.pdf'...
Success: compilation successfully completed
Completed successfully in 0.6.

I get a score, but not
By trial and error I found this is working though:

\version 2.16.2
\relative c' {
s4
\cadenzaOn
c4 d e f g
}

Apparently I can't start my music with a cadenzaOn ???

--

MT


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


Re: cadenzaOn

2013-09-01 Thread David Kastrup
Martin Tarenskeen m.tarensk...@zonnet.nl writes:

 Why is this not working (Lilypond 2.16.2)

 \version 2.16.2
 \relative c' {
 \cadenzaOn
 c4 d e f g
 }

 Processing `/home/m.tarenskeen/Dropbox/tmp/Cadenzatest.ly'
 Parsing...
 Interpreting music...
 warning: cannot find or create `Timing' called `'
 warning: cannot find or create `Timing' called `'
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `Cadenzatest.ps'...
 Converting to `./Cadenzatest.pdf'...
 Success: compilation successfully completed
 Completed successfully in 0.6.

 I get a score, but not
 By trial and error I found this is working though:

 \version 2.16.2
 \relative c' {
 s4
 \cadenzaOn
 c4 d e f g
 }

 Apparently I can't start my music with a cadenzaOn ???

You need a Timing context first which usually is the same as Score but
not established before Score actually happens to be around.  So try
getting a Score context implicitly with \new Staff \relative ... or even
explicitly \new Score ... around your music.

-- 
David Kastrup


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


Re: cadenzaOn

2013-09-01 Thread Eluze
Martin Tarenskeen wrote
 Why is this not working (Lilypond 2.16.2)
 
 \version 2.16.2
 \relative c' {
  \cadenzaOn
  c4 d e f g
 }
 
 Processing `/home/m.tarenskeen/Dropbox/tmp/Cadenzatest.ly'
 Parsing...
 Interpreting music...
 warning: cannot find or create `Timing' called `'
 warning: cannot find or create `Timing' called `'
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `Cadenzatest.ps'...
 Converting to `./Cadenzatest.pdf'...
 Success: compilation successfully completed
 Completed successfully in 0.6.

hi Martin

it works since version 2.17.12

the problem seems to be the initialization of a context - so putting 

  \new Voice or \new Staff 

around your code or simply adding 

 

before the \cadenzaOn will remedy.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/cadenzaOn-tp150038p150043.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: cadenzaOn

2013-09-01 Thread David Kastrup
Eluze elu...@gmail.com writes:

 Martin Tarenskeen wrote
 Why is this not working (Lilypond 2.16.2)
 
 \version 2.16.2
 \relative c' {
  \cadenzaOn
  c4 d e f g
 }
 
 Processing `/home/m.tarenskeen/Dropbox/tmp/Cadenzatest.ly'
 Parsing...
 Interpreting music...
 warning: cannot find or create `Timing' called `'
 warning: cannot find or create `Timing' called `'
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `Cadenzatest.ps'...
 Converting to `./Cadenzatest.pdf'...
 Success: compilation successfully completed
 Completed successfully in 0.6.

 hi Martin

 it works since version 2.17.12

Ah, right.

commit 0392d585b07e3f42cd6a30637cdfe7e2d487c4ab
Author: David Kastrup d...@gnu.org
Date:   Sun Jan 27 18:33:37 2013 +0100

Issue 3140: Let find_create_context create Score context for Timing

More exactly: if find_create_context finds that no score context
exists yet, but creating one would make it find an alias of it, it
does so.

This is in order to let \set Timing.xxx = yyy work even in the rare
case that the Score context with its hardwired Timing alias does not
yet exist.


Seems that this one bothered me enough to fix it.

 the problem seems to be the initialization of a context - so putting 

   \new Voice or \new Staff 

 around your code or simply adding 

  

 before the \cadenzaOn will remedy.

Yup.

-- 
David Kastrup


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


Re: cadenzaOn

2013-09-01 Thread Martin Tarenskeen




Why is this not working (Lilypond 2.16.2)

\version 2.16.2
\relative c' {
 \cadenzaOn
 c4 d e f g
}



it works since version 2.17.12



   Issue 3140: Let find_create_context create Score context for Timing


The initial reason for my question was the 
major-scales-and-primary-triads.ly from another thread, that didn't work 
using LilyPond 2.16.2.


Thanks for your comments,

MT


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


cadenzaOn / Off don't work

2013-02-20 Thread Sávio Ramos
Hello,

The command \cadenzaOn  \cadenzaOff don't remove stem.


\version 2.14.2

\header{
title = Voz Tenor
}
\score{
\new Staff \with { \remove Time_signature_engraver }
{
\time 4/4
\key c \major
\clef bass

\cadenzaOn
bes,4 d1  \glissando  g' c''4
\cadenzaOff

}
\layout{ \context {\Score}}
\midi{}
}


-- 
Sávio M Ramos
Arquiteto, Rio, RJ
Só uso Linux desde 2000
www.debian.org

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


Re: cadenzaOn / Off don't work

2013-02-20 Thread David Kastrup
Sávio Ramos savio.deb...@gmail.com writes:

 Hello,

 The command \cadenzaOn  \cadenzaOff don't remove stem.

Is there a reason they should?

-- 
David Kastrup


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


Re: cadenzaOn / Off don't work

2013-02-20 Thread Nathan
On Wed, Feb 20, 2013 at 9:11 AM, Sávio Ramos savio.deb...@gmail.com wrote:

 Hello,

 The command \cadenzaOn  \cadenzaOff don't remove stem.


They shouldn't. They only affect timing, not the appearance of notes.

To hide stems, use

\override Stem #'stencil = ##f

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


Re: cadenzaOn / Off don't work

2013-02-20 Thread Eluze
Nathan wrote
 On Wed, Feb 20, 2013 at 9:11 AM, Sávio Ramos lt;

 savio.debian@

 gt; wrote:
 
 Hello,

 The command \cadenzaOn  \cadenzaOff don't remove stem.


 They shouldn't. They only affect timing, not the appearance of notes.
 
 To hide stems, use
 
 \override Stem #'stencil = ##f

/beams/ are removed

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/cadenzaOn-Off-don-t-work-tp141213p141219.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: cadenzaOn / Off don't work

2013-02-20 Thread David Kastrup
Eluze elu...@gmail.com writes:

 Nathan wrote
 On Wed, Feb 20, 2013 at 9:11 AM, Sávio Ramos lt;

 savio.debian@

 gt; wrote:
 
 Hello,

 The command \cadenzaOn  \cadenzaOff don't remove stem.


 They shouldn't. They only affect timing, not the appearance of notes.
 
 To hide stems, use
 
 \override Stem #'stencil = ##f

 /beams/ are removed

Hardly.  Autobeaming is switched off, so you get only beams for manual
beaming.  But that does not mean that the beams are removed: rather
you get the default flags which are also used on isolated notes.

-- 
David Kastrup


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


Re: cadenzaOn / Off don't work

2013-02-20 Thread Eluze
David Kastrup wrote
 Eluze lt;

 eluzew@

 gt; writes:

 /beams/ are removed
 
 Hardly.  Autobeaming is switched off, so you get only beams for manual
 beaming.  But that does not mean that the beams are removed: rather
 you get the default flags which are also used on isolated notes.

I was addressing the possibility that Sávio Ramos might have confounded
stems and beams (and I didn't want to go into technical details) - if so he
got a hint otherwise he will/can specify what he meant specifically.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/cadenzaOn-Off-don-t-work-tp141213p141226.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


\cadenzaOn + accidental-style not working

2012-04-08 Thread Wasil Sergejczyk
when i set \cadenzaOn, set-accidental-style has no effect. do i use it
correctly? is it a bug or a feature? are there any workarounds?


\version 2.15.36
 \include italiano.ly
 global = {
 \cadenzaOn
 \key do \major
 \autoBeamOff
 \pointAndClickOff
 \override Staff.NoteHead #'style = #'altdefault
 #(set-accidental-style 'forget)
 }
 melody = {
 \global
 \clef alto
 \transpose do do' {
 do re mi fa sol la sib do' sib
 }
 }
 \score {
 
 \new Staff { \melody }
 
 \layout {
 %indent = 0
 \context {
 \Staff
 \remove Time_signature_engraver
 }
 \context {
 \Score
 \override BarNumber #'transparent = ##t
 }
 }

thanks in advance.
-- 
Best regards.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \cadenzaOn + accidental-style not working

2012-04-08 Thread James
Hello,

On 8 April 2012 10:36, Wasil Sergejczyk szelga@gmail.com wrote:
 when i set \cadenzaOn, set-accidental-style has no effect. do i use it
 correctly? is it a bug or a feature? are there any workarounds?

Remember when you set a \cadenzaOn it is like one giant *single*
measure - even if you put in \bar |, until *after* cadenzaOff, so
you have to manually set your Accidentals.

Hope that helps.

James



 \version 2.15.36
 \include italiano.ly
 global = {
 \cadenzaOn
 \key do \major
 \autoBeamOff
 \pointAndClickOff
 \override Staff.NoteHead #'style = #'altdefault
 #(set-accidental-style 'forget)
 }
 melody = {
 \global
 \clef alto
 \transpose do do' {
 do re mi fa sol la sib do' sib
 }
 }
 \score {
 
 \new Staff { \melody }
 
 \layout {
 %indent = 0
 \context {
 \Staff
 \remove Time_signature_engraver
 }
 \context {
 \Score
 \override BarNumber #'transparent = ##t
 }
 }

 thanks in advance.
 --
 Best regards.

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


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


Re: \cadenzaOn + accidental-style not working

2012-04-08 Thread Wasil Sergejczyk
oops, sorry, i put #(set-accidental-style 'forget) in the wrong place. all
works npw.

2012/4/8 James pkx1...@gmail.com

 Hello,

 On 8 April 2012 10:36, Wasil Sergejczyk szelga@gmail.com wrote:
  when i set \cadenzaOn, set-accidental-style has no effect. do i use it
  correctly? is it a bug or a feature? are there any workarounds?

 Remember when you set a \cadenzaOn it is like one giant *single*
 measure - even if you put in \bar |, until *after* cadenzaOff, so
 you have to manually set your Accidentals.

 Hope that helps.

 James

 
 
  \version 2.15.36
  \include italiano.ly
  global = {
  \cadenzaOn
  \key do \major
  \autoBeamOff
  \pointAndClickOff
  \override Staff.NoteHead #'style = #'altdefault
  #(set-accidental-style 'forget)
  }
  melody = {
  \global
  \clef alto
  \transpose do do' {
  do re mi fa sol la sib do' sib
  }
  }
  \score {
  
  \new Staff { \melody }
  
  \layout {
  %indent = 0
  \context {
  \Staff
  \remove Time_signature_engraver
  }
  \context {
  \Score
  \override BarNumber #'transparent = ##t
  }
  }
 
  thanks in advance.
  --
  Best regards.
 
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
 




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


Re: Question re: CadenzaOn

2010-09-20 Thread Xavier Scheuer
On 20/09/2010, Joshua Armenta josharme...@gmail.com wrote:

 That fixed it, thanks!
 Josh Armenta

You're welcome!
Glad to see it was what you wanted.

Cheers,
Xavier

--
Xavier Scheuer x.sche...@gmail.com

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


Question re: CadenzaOn

2010-09-19 Thread Joshua Armenta
Hello,

I have a score with multiple staves. One instrument enter into unmetered
timing and performs a cadenza, the other five instruments rest. The problem
is that when the file is compiled, the barlines in the output is completely
thrown off, even when the same measure is put into a Cadenza on statement in
every stave. I have tried with a whole rest and with using the cadenza notes
as a model and replacing note names with R (Thus preserving the values) but
the output iisn't fixed either way

I can't seem to find any answers. Any help would be very much appreciated.

Josh Armenta

-- 
Слава Ісусу Христу! Слава на Віки!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question re: CadenzaOn

2010-09-19 Thread Paul Scott
On Sun, Sep 19, 2010 at 02:11:32AM -0400, Joshua Armenta wrote:
 Hello,
 
 I have a score with multiple staves. One instrument enter into unmetered
 timing and performs a cadenza, the other five instruments rest. The problem
 is that when the file is compiled, the barlines in the output is completely
 thrown off, even when the same measure is put into a Cadenza on statement in
 every stave. I have tried with a whole rest and with using the cadenza notes
 as a model and replacing note names with R (Thus preserving the values) but
 the output iisn't fixed either way
 
 I can't seem to find any answers. Any help would be very much appreciated.

Put the timing information with skips in a separate definition.  Combine it 
with 
the top voice in the score and with each part when doing the parts.

timing = {
  \time = 4/4 s1*32   \cadenzaOn s4*7   \cadenzaOff
  \time = 3/4 s2.*32 
}

parta = { a4 ...   \cadenzaOn a4 b4 a4 b4 a4 b4 a4 \cadenzaOff a4 ... }
partb = { b4 ... }

Score:
\score{ 
 
  \new Staff  \timing \parta 
  \new Staff  \partb 
 
}

Part A:
\score{ 
 
  \new Staff  \timing \parta 
 
}

Part B:
\score{ 
 
  \new Staff  \timing \partb 
 
}

I may have every detail correct but that's the idea.

HTH

Paul Scott 



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


Re: Question re: CadenzaOn

2010-09-19 Thread Xavier Scheuer
On 19 September 2010 08:11, Joshua Armenta josharme...@gmail.com wrote:

 Hello,
 I have a score with multiple staves. One instrument enter into unmetered
 timing and performs a cadenza, the other five instruments rest. The problem
 is that when the file is compiled, the barlines in the output is completely
 thrown off, even when the same measure is put into a Cadenza on statement in
 every stave. I have tried with a whole rest and with using the cadenza notes
 as a model and replacing note names with R (Thus preserving the values) but
 the output iisn't fixed either way
 I can't seem to find any answers. Any help would be very much appreciated.

Pu the cadenza in a separate variable and use
  #(ly:export (mmrest-of-length MyCadenza))

as explained in NR 1.2.6 Special rhythmic concerns  Aligning to cadenzas
http://lilypond.org/doc/v2.13/Documentation/notation/special-rhythmic-concerns.html#aligning-to-cadenzas

Cheers,
Xavier

--
Xavier Scheuer x.sche...@gmail.com

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


Bug with cadenzaOn?

2010-03-20 Thread Phil Holmes
Not a big deal, and my apologies for raising possible bugs rather too 
frequently, but...


Run the following:

\version 2.8.0
{

\new Staff 
\new Voice {
\clef treble_8
\time 4/4
r1  r1 |
R1*4/4  \bar |. }



\new Staff 
\new Voice {
\clef treble_8
\time 4/4
\cadenzaOn  c'4 c'4 c'4 c'4 c'4 c'4 c'4 c'4 \cadenzaOff   |
R1*4/4  \bar |.
}




}

and the logfile includes:

CadenzaTestSmall.ly:9:8: warning: barcheck failed at: 2
r1  r1
   |

Reverse the order of the Staves:

\version 2.8.0
{
\new Staff 
\new Voice {
\clef treble_8
\time 4/4
\cadenzaOn  c'4 c'4 c'4 c'4 c'4 c'4 c'4 c'4 \cadenzaOff   |
R1*4/4  \bar |.
}




\new Staff 
\new Voice {
\clef treble_8
\time 4/4
r1  r1 |
R1*4/4  \bar |. }




}

and it runs clean.

--
Phil Holmes




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


Re: \cadenzaOn question

2009-08-18 Thread Mats Bengtsson
It seems nobody has answered your question. The first thing to note is 
that \cadenzaOn and \cadenzaOff commands affect the full score, i.e. all 
staves. Otherwise, I think the description in the Notation Reference 
more or less says it all, namely that \cadenzaOn simply tells LilyPond 
to stop counting beats and inserting bar lines automatically (which 
again applies to all staves).
If you move the Timing_translator from the Score level to Staff level, 
as described in 
http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Displaying-rhythms#Polymetric-notation
then the \cadenzaOn and \cadenzaOff commands only apply to the current 
stave, since they set properties on the Timing context, see 
http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Special-rhythmic-concerns#Time-administration


   /Mats

James E. Bailey wrote:
Because of a question on the german forum, I thought I'd ask here. Is 
the music in a cadenza supposed to take up no time? Consider the 
following:


\version 2.12.1
\relative c'{
   \time 2/4
   \set Score.skipBars = ##t 
   c4 d
   

  {  R2^G.P. }
  \new Staff { \cadenzaOn e4 f e d \cadenzaOff }
   
   R2*2
   c2  
}


\relative c'{
   \time 2/4
   \set Score.skipBars = ##t 
   c4 d e f
   

  {  R2^G.P. }
  \new Staff { \cadenzaOn e4 f e d \cadenzaOff s2 }
   
   R2*2
   c2  
}


I can certainly understand the logic behind it, but I couldn't find 
anywhere that this was explained. Perhaps it is implied in the 
notation reference, but it really only mentions bar lines and bar 
numbers, but not how cadenzas fit into multi-staff music.


James E. Bailey





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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


\cadenzaOn question

2009-08-11 Thread James E. Bailey
Because of a question on the german forum, I thought I'd ask here. Is  
the music in a cadenza supposed to take up no time? Consider the  
following:


\version 2.12.1
\relative c'{
   \time 2/4
   \set Score.skipBars = ##t
   c4 d
   
  {  R2^G.P. }
  \new Staff { \cadenzaOn e4 f e d \cadenzaOff }
   
   R2*2
   c2
}

\relative c'{
   \time 2/4
   \set Score.skipBars = ##t
   c4 d e f
   
  {  R2^G.P. }
  \new Staff { \cadenzaOn e4 f e d \cadenzaOff s2 }
   
   R2*2
   c2
}

I can certainly understand the logic behind it, but I couldn't find  
anywhere that this was explained. Perhaps it is implied in the  
notation reference, but it really only mentions bar lines and bar  
numbers, but not how cadenzas fit into multi-staff music.


James E. Bailey



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