Re: How to indicate a set of measures should not be played?

2014-06-20 Thread Jacques Menu
Hello Pierre,

Thanks, I had overlooked the Measure in the name!

JM

Le 20 juin 2014 à 07:07:07, Pierre Perol-Schneider 
 a écrit :

> Hi Jacques,
> 
> 2014-06-19 21:48 GMT+02:00 Jacques Menu :
>  
> I didn’t find an equivalent of a MultiRest.color property, they show up in 
> black, maybe that exists under some other name?
> 
> See :  
> http://www.lilypond.org/doc/v2.18/Documentation/internals/multimeasurerest
> 
> \temporary\override MultiMeasureRest.color = #(rgb-color 0.5 0.5 0.5)
> \temporary\override MultiMeasureRestNumber.color = #(rgb-color 0.5 0.5 0.5)
> 
> HTH,
> Pierre
> 
> 

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Pierre Perol-Schneider
Hi Jacques,

2014-06-19 21:48 GMT+02:00 Jacques Menu :


> I didn’t find an equivalent of a MultiRest.color property, they show up in
> black, maybe that exists under some other name?
>

See :
http://www.lilypond.org/doc/v2.18/Documentation/internals/multimeasurerest

\temporary\override MultiMeasureRest.color = #(rgb-color 0.5 0.5 0.5)

\temporary\override MultiMeasureRestNumber.color = #(rgb-color 0.5 0.5 0.5)


HTH,

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread David Kastrup
Thomas Morley  writes:

>> GNU LilyPond 2.19.9
>> Processing `various-tests.ly'
>> Parsing...
>> Interpreting music...[8][16][24][32][40]
>> Preprocessing graphical objects...lilypond:
>> /home/harm/lilypond-git/flower/include/drul-array.hh:35: T&
>> Drul_array::at(Direction) [with T = Skyline]: Assertion `d == 1 ||
>> d == -1' failed.
>> Aborted
>
> Minimal example triggering the problem:
> { s4-\tweak direction #0 \startTextSpan s\stopTextSpan }
>
> Same while using an override:
> { \override TextSpanner.direction = #0 s4\startTextSpan s\stopTextSpan }

This should be at most a programming error since it can be triggered by
the user.  So the code should not try indexing here.

Frankly, setting outside-staff-priority to ##f should likely have been
enough not to have the direction property queried.

-- 
David Kastrup

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Thomas Morley
2014-06-19 20:49 GMT+02:00 Thomas Morley :
> 2014-06-19 19:52 GMT+02:00 Thomas Morley :
>> 2014-06-19 19:38 GMT+02:00 David Kastrup :
>>> Thomas Morley  writes:
>>>
 Can't confirm Marc's and Werner's observations.

 I successfully ran David's snippet:
 On 64-bit Ubuntu 10.04 with
   2.18.2 (released version)
   2.19.8 (released version)
 On 32-bit Ubuntu 10.04 (lilydev) with
   2.19.8 (self-compiled)
   2.19.9 (self-compiled from latest master)
>>>
>>> Compiled with -DDEBUG or configured using -without-optimizing or
>>> whatever that option was called?
>>>
>>> Because assertions are not compiled by default for whatever reason.
>>>
>>> --
>>> David Kastrup
>>
>> I did a simple
>>   make
>>
>> Right now I repeat with
>>   ../configure --disable-optimising
>>   make
>
> Hi David,
>
> with
>   ../configure --disable-optimising
>   make
> and running your code, I now get it:
>
> GNU LilyPond 2.19.9
> Processing `various-tests.ly'
> Parsing...
> Interpreting music...[8][16][24][32][40]
> Preprocessing graphical objects...lilypond:
> /home/harm/lilypond-git/flower/include/drul-array.hh:35: T&
> Drul_array::at(Direction) [with T = Skyline]: Assertion `d == 1 ||
> d == -1' failed.
> Aborted

Minimal example triggering the problem:
{ s4-\tweak direction #0 \startTextSpan s\stopTextSpan }

Same while using an override:
{ \override TextSpanner.direction = #0 s4\startTextSpan s\stopTextSpan }

Cheers,
  Harm

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Thomas Morley
2014-06-19 19:52 GMT+02:00 Thomas Morley :
> 2014-06-19 19:38 GMT+02:00 David Kastrup :
>> Thomas Morley  writes:
>>
>>> Can't confirm Marc's and Werner's observations.
>>>
>>> I successfully ran David's snippet:
>>> On 64-bit Ubuntu 10.04 with
>>>   2.18.2 (released version)
>>>   2.19.8 (released version)
>>> On 32-bit Ubuntu 10.04 (lilydev) with
>>>   2.19.8 (self-compiled)
>>>   2.19.9 (self-compiled from latest master)
>>
>> Compiled with -DDEBUG or configured using -without-optimizing or
>> whatever that option was called?
>>
>> Because assertions are not compiled by default for whatever reason.
>>
>> --
>> David Kastrup
>
> I did a simple
>   make
>
> Right now I repeat with
>   ../configure --disable-optimising
>   make

Hi David,

with
  ../configure --disable-optimising
  make
and running your code, I now get it:

GNU LilyPond 2.19.9
Processing `various-tests.ly'
Parsing...
Interpreting music...[8][16][24][32][40]
Preprocessing graphical objects...lilypond:
/home/harm/lilypond-git/flower/include/drul-array.hh:35: T&
Drul_array::at(Direction) [with T = Skyline]: Assertion `d == 1 ||
d == -1' failed.
Aborted

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Thomas Morley
2014-06-19 19:38 GMT+02:00 David Kastrup :
> Thomas Morley  writes:
>
>> Can't confirm Marc's and Werner's observations.
>>
>> I successfully ran David's snippet:
>> On 64-bit Ubuntu 10.04 with
>>   2.18.2 (released version)
>>   2.19.8 (released version)
>> On 32-bit Ubuntu 10.04 (lilydev) with
>>   2.19.8 (self-compiled)
>>   2.19.9 (self-compiled from latest master)
>
> Compiled with -DDEBUG or configured using -without-optimizing or
> whatever that option was called?
>
> Because assertions are not compiled by default for whatever reason.
>
> --
> David Kastrup

I did a simple
  make

Right now I repeat with
  ../configure --disable-optimising
  make

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread David Kastrup
Thomas Morley  writes:

> Can't confirm Marc's and Werner's observations.
>
> I successfully ran David's snippet:
> On 64-bit Ubuntu 10.04 with
>   2.18.2 (released version)
>   2.19.8 (released version)
> On 32-bit Ubuntu 10.04 (lilydev) with
>   2.19.8 (self-compiled)
>   2.19.9 (self-compiled from latest master)

Compiled with -DDEBUG or configured using -without-optimizing or
whatever that option was called?

Because assertions are not compiled by default for whatever reason.

-- 
David Kastrup

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Thomas Morley
2014-06-19 15:35 GMT+02:00 Werner LEMBERG :
>
>> Maybe something like
>>
>> [...]
>
> Here's the requested backtrace with today's git repository
> (release/2.19.8-1-25-g0ea80a5).
>
>
> Werner
>
>
> ==
>
>
> Program received signal SIGABRT, Aborted.
> 0xb78a9245 in raise () from /lib/libc.so.6
> (gdb) bt
> #0  0xb78a9245 in raise () from /lib/libc.so.6
> #1  0xb78aaac3 in abort () from /lib/libc.so.6
> #2  0xb78a2006 in __assert_fail_base () from /lib/libc.so.6
> #3  0xb78a20b7 in __assert_fail () from /lib/libc.so.6
> #4  0x08134eed in Drul_array::at (this=0xbfffa478, d=CENTER)
> at ../flower/include/drul-array.hh:35
> #5  0x08134e03 in Drul_array::operator[] (this=0xbfffa478, d=CENTER)
> at ../flower/include/drul-array.hh:45
> #6  0x082265c5 in Skyline_pair::operator[] (this=0xbfffa478, d=CENTER) at 
> skyline-pair.cc:122
> #7  0x081eed09 in Side_position_interface::aligned_side (me=0x879e230, 
> a=Y_AXIS, pure=true, start=
> 160, end=168, current_off=0x0) at side-position-interface.cc:234
> #8  0x081ed63f in axis_aligned_side_helper (smob=0xb6e50e40, a=Y_AXIS, 
> pure=true, start=160, end=
> 168, current_off_scm=0x204) at side-position-interface.cc:105
> #9  0x081ee1b4 in Side_position_interface::pure_y_aligned_side 
> (smob=0xb6e50e40, start=0x282, end=
> 0x2a2, cur_off=0x204) at side-position-interface.cc:134
> #10 0xb7f0604d in scm_gsubr_apply () from /usr/lib/libguile.so.17
> #11 0xb7eebd4c in scm_dapply () from /usr/lib/libguile.so.17
> #12 0xb7ef2228 in scm_apply () from /usr/lib/libguile.so.17
> #13 0xb7ef32fb in scm_apply_0 () from /usr/lib/libguile.so.17
> #14 0x082629cd in call_pure_function (unpure=0xb6b01da0, args=0xb1f38708, 
> start=160, end=168)
> at grob-property.cc:349
> #15 0x08063a15 in Grob::pure_relative_y_coordinate (this=0x879e230, 
> refp=0x8653fc0, start=160, end=
> 168) at grob.cc:371
> #16 0x08064458 in Grob::pure_height (this=0x879e230, refp=0x8653fc0, 
> start=160, end=168)
> at grob.cc:499
> #17 0x082bb3fd in Axis_group_interface::adjacent_pure_heights 
> (smob=0xb6eda490)
> at axis-group-interface.cc:285
> #18 0x0404 in ?? ()
> #19 0xb7eeb820 in scm_dapply () from /usr/lib/libguile.so.17
> #20 0xb7ef2228 in scm_apply () from /usr/lib/libguile.so.17
> #21 0xb7ef3ae0 in scm_call_1 () from /usr/lib/libguile.so.17
> #22 0x0826258b in Grob::try_callback_on_alist (this=0x8653fc0, 
> alist=0x8653ff0, sym=0xb5885190,
> proc=0xb74f0220) at grob-property.cc:241
> #23 0x0826228e in Grob::internal_get_property (this=0x8653fc0, sym=0xb5885190)
> at grob-property.cc:189
> #24 0x082ba698 in Axis_group_interface::part_of_line_pure_height 
> (me=0x8653fc0, begin=true, start=
> 0, end=1) at axis-group-interface.cc:160
> #25 0x082ba8a4 in Axis_group_interface::begin_of_line_pure_height 
> (me=0x8653fc0, start=0)
> at axis-group-interface.cc:184
> #26 0xb6ed6828 in ?? ()
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)



Can't confirm Marc's and Werner's observations.

I successfully ran David's snippet:
On 64-bit Ubuntu 10.04 with
  2.18.2 (released version)
  2.19.8 (released version)
On 32-bit Ubuntu 10.04 (lilydev) with
  2.19.8 (self-compiled)
  2.19.9 (self-compiled from latest master)

Cheers,
  Harm

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Shane Brandes
What about "Tacet MM x-z"?

On Thu, Jun 19, 2014 at 10:12 AM, Pierre Perol-Schneider
 wrote:
> Hi to all,
> Back to the topic : I was re-reading your question and wondering if my
> answer was clear enough.
> Si please find herewith a more eloquent solution.
> Cheers,
> Pierre
>
> ___
> 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: How to indicate a set of measures should not be played?

2014-06-19 Thread Pierre Perol-Schneider
Hi to all,
Back to the topic : I was re-reading your question and wondering if my
answer was clear enough.
Si please find herewith a more eloquent solution.
Cheers,
Pierre
\version "2.18.2"

theme = { 
  \repeat unfold 14 a'1 
}

music = {
  \repeat unfold 4 c'1
  \theme
  \repeat unfold 4 e'1
  \tag ensemble \theme 
  \tag jacques { \compressFullBarRests R1*14 }
  \repeat unfold 4 c'1
  \theme
  \tweak self-alignment-X #RIGHT
  \mark\markup "Total = 54 meas."
  \bar "|."
}

\new StaffGroup <<
 \new Staff <<
  \set Staff.instrumentName = #"Ensemble"
\keepWithTag ensemble \music 
  >>
  \new Staff <<
\set Staff.instrumentName = #"Jacques"
\keepWithTag jacques \music 
  >>
>>

\new Staff <<
  \set Staff.instrumentName = #"Jacques"
  \keepWithTag jacques \music 
>>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Werner LEMBERG

> Maybe something like
>
> [...]

Here's the requested backtrace with today's git repository
(release/2.19.8-1-25-g0ea80a5).


Werner


==


Program received signal SIGABRT, Aborted.
0xb78a9245 in raise () from /lib/libc.so.6
(gdb) bt
#0  0xb78a9245 in raise () from /lib/libc.so.6
#1  0xb78aaac3 in abort () from /lib/libc.so.6
#2  0xb78a2006 in __assert_fail_base () from /lib/libc.so.6
#3  0xb78a20b7 in __assert_fail () from /lib/libc.so.6
#4  0x08134eed in Drul_array::at (this=0xbfffa478, d=CENTER)
at ../flower/include/drul-array.hh:35
#5  0x08134e03 in Drul_array::operator[] (this=0xbfffa478, d=CENTER)
at ../flower/include/drul-array.hh:45
#6  0x082265c5 in Skyline_pair::operator[] (this=0xbfffa478, d=CENTER) at 
skyline-pair.cc:122
#7  0x081eed09 in Side_position_interface::aligned_side (me=0x879e230, 
a=Y_AXIS, pure=true, start=
160, end=168, current_off=0x0) at side-position-interface.cc:234
#8  0x081ed63f in axis_aligned_side_helper (smob=0xb6e50e40, a=Y_AXIS, 
pure=true, start=160, end=
168, current_off_scm=0x204) at side-position-interface.cc:105
#9  0x081ee1b4 in Side_position_interface::pure_y_aligned_side 
(smob=0xb6e50e40, start=0x282, end=
0x2a2, cur_off=0x204) at side-position-interface.cc:134
#10 0xb7f0604d in scm_gsubr_apply () from /usr/lib/libguile.so.17
#11 0xb7eebd4c in scm_dapply () from /usr/lib/libguile.so.17
#12 0xb7ef2228 in scm_apply () from /usr/lib/libguile.so.17
#13 0xb7ef32fb in scm_apply_0 () from /usr/lib/libguile.so.17
#14 0x082629cd in call_pure_function (unpure=0xb6b01da0, args=0xb1f38708, 
start=160, end=168)
at grob-property.cc:349
#15 0x08063a15 in Grob::pure_relative_y_coordinate (this=0x879e230, 
refp=0x8653fc0, start=160, end=
168) at grob.cc:371
#16 0x08064458 in Grob::pure_height (this=0x879e230, refp=0x8653fc0, start=160, 
end=168)
at grob.cc:499
#17 0x082bb3fd in Axis_group_interface::adjacent_pure_heights (smob=0xb6eda490)
at axis-group-interface.cc:285
#18 0x0404 in ?? ()
#19 0xb7eeb820 in scm_dapply () from /usr/lib/libguile.so.17
#20 0xb7ef2228 in scm_apply () from /usr/lib/libguile.so.17
#21 0xb7ef3ae0 in scm_call_1 () from /usr/lib/libguile.so.17
#22 0x0826258b in Grob::try_callback_on_alist (this=0x8653fc0, alist=0x8653ff0, 
sym=0xb5885190, 
proc=0xb74f0220) at grob-property.cc:241
#23 0x0826228e in Grob::internal_get_property (this=0x8653fc0, sym=0xb5885190)
at grob-property.cc:189
#24 0x082ba698 in Axis_group_interface::part_of_line_pure_height (me=0x8653fc0, 
begin=true, start=
0, end=1) at axis-group-interface.cc:160
#25 0x082ba8a4 in Axis_group_interface::begin_of_line_pure_height 
(me=0x8653fc0, start=0)
at axis-group-interface.cc:184
#26 0xb6ed6828 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Vaughan McAlley
2014-06-19 20:03 GMT+10:00 David Kastrup :
> Marc Hohl  writes:
>
>> Am 19.06.2014 11:11, schrieb David Kastrup:
>> [...]
>>> Maybe something like
>>
>> If I compile your snippet, I get
>>
>>
>> GNU LilyPond 2.19.9
>> »tsp.ly« wird verarbeitet
>> Analysieren...
>> Interpretation der Musik...[8][16][24][32][40]
>> Vorverarbeitung der grafischen Elemente...lilypond:
>> ../flower/include/drul-array.hh:35: T& Drul_array::at(Direction)
>> [with T = Skyline]: Zusicherung »d == 1 || d == -1« nicht erfüllt.
>> /home/marc/bin/Lilypond: Zeile 1:  3437 Abgebrochen (Speicherabzug
>> geschrieben) /home/marc/git/lilypond/out/bin/lilypond --relocate
>> tsp.ly
>>
>> That's not quite what I expected ...
>
> Got a traceback?
>
> --
> David Kastrup
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

(It runs faultlessly on 2.18.2)

Vaughan

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread David Kastrup
Marc Hohl  writes:

> Am 19.06.2014 11:11, schrieb David Kastrup:
> [...]
>> Maybe something like
>
> If I compile your snippet, I get
>
>
> GNU LilyPond 2.19.9
> »tsp.ly« wird verarbeitet
> Analysieren...
> Interpretation der Musik...[8][16][24][32][40]
> Vorverarbeitung der grafischen Elemente...lilypond:
> ../flower/include/drul-array.hh:35: T& Drul_array::at(Direction)
> [with T = Skyline]: Zusicherung »d == 1 || d == -1« nicht erfüllt.
> /home/marc/bin/Lilypond: Zeile 1:  3437 Abgebrochen (Speicherabzug
> geschrieben) /home/marc/git/lilypond/out/bin/lilypond --relocate
> tsp.ly
>
> That's not quite what I expected ...

Got a traceback?

-- 
David Kastrup

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Marc Hohl

Am 19.06.2014 11:22, schrieb Marc Hohl:

Am 19.06.2014 11:11, schrieb David Kastrup:
[...]

Maybe something like


If I compile your snippet, I get


GNU LilyPond 2.19.9
»tsp.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...[8][16][24][32][40]
Vorverarbeitung der grafischen Elemente...lilypond:
../flower/include/drul-array.hh:35: T& Drul_array::at(Direction)
[with T = Skyline]: Zusicherung »d == 1 || d == -1« nicht erfüllt.
/home/marc/bin/Lilypond: Zeile 1:  3437 Abgebrochen (Speicherabzug
geschrieben) /home/marc/git/lilypond/out/bin/lilypond --relocate tsp.ly

That's not quite what I expected ...


Addendum: if I comment out '\tweak direction #CENTER', it works 
obviously, but the zig-zag line appears on top of the staff line.




Marc


___
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: How to indicate a set of measures should not be played?

2014-06-19 Thread Werner LEMBERG

> Maybe something like [...]

Interestingly, I got the following assertion failure with a
self-compiled 2.19.4 (or so) while trying to process your example:

  ../flower/include/drul-array.hh:35:
T& Drul_array::at(Direction) [with T = Skyline]:
Assertion `d == 1 || d == -1' failed.

I will update lilypond to current git and test it again.


  Werner

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Marc Hohl

Am 19.06.2014 11:11, schrieb David Kastrup:
[...]

Maybe something like


If I compile your snippet, I get


GNU LilyPond 2.19.9
»tsp.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...[8][16][24][32][40]
Vorverarbeitung der grafischen Elemente...lilypond: 
../flower/include/drul-array.hh:35: T& Drul_array::at(Direction) 
[with T = Skyline]: Zusicherung »d == 1 || d == -1« nicht erfüllt.
/home/marc/bin/Lilypond: Zeile 1:  3437 Abgebrochen 
(Speicherabzug geschrieben) /home/marc/git/lilypond/out/bin/lilypond 
--relocate tsp.ly


That's not quite what I expected ...

Marc


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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread David Kastrup
Jacques Menu  writes:

> Hello folks,
>
> In the arrangement of « In The Mood » we’re playing, there are too
> many repetitions of the theme, one of which we don’t play.
>
> How can I can in some way strike through those 14 bars as I do by hand
> with a pen on the printed score?
> Commenting them out in the LP code would change the bars numbers in
> the following bars, which I’d like to avoid.
>
> Thanks for your help!

Maybe something like

\new Staff
<< \new Voice \repeat unfold 40 { c'4 d' e' f' }
   \new Voice
   { s1*20 s4-\tweak outside-staff-priority ##f
 \tweak dash-fraction 1 \tweak thickness 4 \tweak direction #CENTER
 \tweak style #'zigzag \tweak zigzag-length #2 \tweak zigzag-width 3
 \startTextSpan s4 s4 s4\stopTextSpan }
>>
   

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Pierre Perol-Schneider
Hi Jacques,

2014-06-19 8:52 GMT+02:00 Jacques Menu :


> How can I can in some way strike through those 14 bars as I do by hand
> with a pen on the printed score?
> Commenting them out in the LP code would change the bars numbers in the
> following bars, which I’d like to avoid.
>

Use tags :
http://lilypond.org/doc/v2.18/Documentation/notation/different-editions-from-one-source#using-tags



\version "2.18.2"

theme = { \repeat unfold 14 a'1 }


music = {

   \repeat unfold 4 c'1

   \theme

   \repeat unfold 4 e'1

   \tag ensemble { \theme }

   \tag jacques { \compressFullBarRests R1*14 }

   \repeat unfold 4 c'1

}


{ \keepWithTag ensemble \music }


{ \keepWithTag jacques \music }


%%


HTH,

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


Re: How to indicate a set of measures should not be played?

2014-06-19 Thread Malte Meyn

On 19.06.2014 08:52, Jacques Menu wrote:

How can I can in some way strike through those 14 bars as I do by hand with a 
pen on the printed score?

Suggestion: print it in smaller font-size (cue notes).

Commenting them out in the LP code would change the bars numbers in the 
following bars, which I’d like to avoid.

You could leave these bars out and at the end of the skipped music set 
the bar number:

\set Score.currentBarNumber = 42

Thanks for your help!

JM


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


How to indicate a set of measures should not be played?

2014-06-18 Thread Jacques Menu
Hello folks,

In the arrangement of « In The Mood » we’re playing, there are too many 
repetitions of the theme, one of which we don’t play.

How can I can in some way strike through those 14 bars as I do by hand with a 
pen on the printed score?
Commenting them out in the LP code would change the bars numbers in the 
following bars, which I’d like to avoid.

Thanks for your help!

JM


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