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


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 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 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 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: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 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


constructing variables

2014-06-19 Thread Dr. med. Kai Lautenschläger
\version "2.19.7"

Hi everyone!

is it possible to construct variables from others? I want to construct 

\tempo "Text" 4=80

from the variables

tempoText = "Text" and
tempoNumber = "4=80"

that are defined at two different places in a complicated file structure 
(\include)

I tried:

\version "2.19.7"
tempoText = "Text" and
tempoNumber = "4=80"
{
\tempo \tempoText \tempoNumber
a4 
}

with an without quotation marks, but nothing worked. I suppose I just can’t see 
the obvious and just looked for the wrong keywords in the documentation. Can 
anyone point me in the right direction.

Thanks

Kai
___
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: constructing variables

2014-06-19 Thread Urs Liska

Am 19.06.2014 13:04, schrieb "Dr. med. Kai Lautenschläger":

\version "2.19.7"

Hi everyone!

is it possible to construct variables from others? I want to construct

\tempo "Text" 4=80

from the variables

tempoText = "Text" and
tempoNumber = "4=80"

that are defined at two different places in a complicated file structure 
(\include)

I tried:

\version "2.19.7"
tempoText = "Text" and
tempoNumber = "4=80"
{
\tempo \tempoText \tempoNumber
a4
}

with an without quotation marks, but nothing worked. I suppose I just can’t see 
the obvious and just looked for the wrong keywords in the documentation. Can 
anyone point me in the right direction.

Thanks



Wrap the \tempo expression in a \markup.

Does

\tempo \markup { \tempoText \tempoNumber }

give you what you want?

HTH
Urs



Kai
___
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: constructing variables

2014-06-19 Thread David Kastrup
"Dr. med. Kai Lautenschläger"  writes:

> \version "2.19.7"
>
> Hi everyone!
>
> is it possible to construct variables from others? I want to construct 
>
> \tempo "Text" 4=80
>
> from the variables
>
> tempoText = "Text" and
> tempoNumber = "4=80"
>
> that are defined at two different places in a complicated file structure 
> (\include)
>
> I tried:
>
> \version "2.19.7"
> tempoText = "Text" and
> tempoNumber = "4=80"
> {
>   \tempo \tempoText \tempoNumber
>   a4 
> }
>
> with an without quotation marks, but nothing worked. I suppose I just
> can’t see the obvious and just looked for the wrong keywords in the
> documentation. Can anyone point me in the right direction.

tempoText is fine, but 4=80 is not a string.  In 2.19.7, you could do

tempoText = "Text"
tempoUnit = ##{ 4 #}
tempoNumber = 80
{
  \tempo \tempoText \tempoUnit = \tempoNumber
  a4
}

But this begs the question why you don't just assign the whole tempo
specification to a single variable.  Note that ##{ 4 #} is a somewhat
cumbersome shorthand in order to get at a single duration.

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


Re: constructing variables

2014-06-19 Thread Dr. med. Kai Lautenschläger
Hi David and Urs,

thanks for your fast replies. David’s suggestion does just very fine. 

> But this begs the question why you don't just assign the whole tempo
> specification to a single variable.  
Of course, you are right! But I was using this request as an example for some 
other questions I had (And they are also answered now!!). The point is, that I 
have built a template, that makes it possible to print several editions of the 
same piece. For that I sometimes need the possibiliy to exchange the wording of 
the tempo into different languages "automatically". 

Best wishes
Kai___
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 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 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


changing global staff size on the fly

2014-06-19 Thread Orm Finnendahl
Hi,

 is there a way to reduce the global staff size of all staffs in an
orchestral score for selected pages (or a selected region) on the fly
(without having to put the music of these pages into seperate
books/scores or something like that)? I'm on 2.9.15.

(A simple "no" is sufficient in case it's too complex. I think I'd
find a way to deal with it, then).

--
Orm

___
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


Bad rest placements?

2014-06-19 Thread steve

Howdy?

   So I have been working on an engraving and had 80% of it
 finished  when I decided I needed another voice. I added it and it solved
my voicing
 issue, but it completely ruined ALL of my previous rests which were fine
 before. I don't see why these rests should be so badly out of position???

   http://www.gooeytar.com/projects/test/test4.pdf
   http://www.gooeytar.com/projects/test/test4.ly

   The rests in voicethree are way out! Sure I could use  "\rest"  for
 each one but shouldnt  this just work??

   Here is a minimal reduction of the problem.  Ideas?  thanx - steve

 \version "2.18.0"

  global = {
 \time 3/4
 \key e \major
 \clef "G_8"
  }

  voiceone = \relative c' {
 \repeat volta 1 {
 \partial 4 { e'16_\p b gis' e } |
 b'4 r gis,16 e b' gis |
 e'4 r gis,,16 e b' gis |
 < a fis' >4 < gis e' >
 }
  }

  voicetwo = \relative c' {
 s4
 \repeat unfold 2 { s2. } s2
  }

  voicethree = \relative c {
 \stemDown
 \repeat volta 1 {
 \partial 4 s4 |
 r4 < e gis b > r | r4 < e, e' gis > r |
 e2
 }
  }

  guitar = << \voiceone \\ \voicetwo \\ \voicethree >>

  \score {
 \new Staff { << \global \guitar >> }
 \layout { }
  }






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


Re: Bad rest placements?

2014-06-19 Thread Thomas Morley
2014-06-19 19:25 GMT+02:00  :
>
> Howdy?
>
>So I have been working on an engraving and had 80% of it
>  finished  when I decided I needed another voice. I added it and it solved
> my voicing
>  issue, but it completely ruined ALL of my previous rests which were fine
>  before. I don't see why these rests should be so badly out of position???
>
>http://www.gooeytar.com/projects/test/test4.pdf
>http://www.gooeytar.com/projects/test/test4.ly
>
>The rests in voicethree are way out! Sure I could use  "\rest"  for
>  each one but shouldnt  this just work??
>
>Here is a minimal reduction of the problem.  Ideas?  thanx - steve
>
>  \version "2.18.0"
>
>   global = {
>  \time 3/4
>  \key e \major
>  \clef "G_8"
>   }
>
>   voiceone = \relative c' {
>  \repeat volta 1 {
>  \partial 4 { e'16_\p b gis' e } |
>  b'4 r gis,16 e b' gis |
>  e'4 r gis,,16 e b' gis |
>  < a fis' >4 < gis e' >
>  }
>   }
>
>   voicetwo = \relative c' {
>  s4
>  \repeat unfold 2 { s2. } s2
>   }
>
>   voicethree = \relative c {
>  \stemDown
>  \repeat volta 1 {
>  \partial 4 s4 |
>  r4 < e gis b > r | r4 < e, e' gis > r |
>  e2
>  }
>   }
>
>   guitar = << \voiceone \\ \voicetwo \\ \voicethree >>
>
>   \score {
>  \new Staff { << \global \guitar >> }
>  \layout { }
>   }
>
>
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Please reread
http://lilypond.org/doc/v2.18/Documentation/notation-big-page#single_002dstaff-polyphony

\stemUp is not the best command here, use \voiceTwo
or
guitar = << \voiceone \\ \voicethree \\ \voicetwo  >>


(Not very serious:) the << {…} \\ {…} >> construct causes a lot of
problems, sometimes I feel we should delete any hint to it in the
docs. ;)

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 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: Bad rest placements?

2014-06-19 Thread Phil Burfitt
- Original Message - 
From: 

To: "lilypond-user" 
Sent: Thursday, June 19, 2014 6:25 PM
Subject: Bad rest placements?




   Howdy?

  So I have been working on an engraving and had 80% of it
finished  when I decided I needed another voice. I added it and it solved
my voicing
issue, but it completely ruined ALL of my previous rests which were fine
before. I don't see why these rests should be so badly out of position???

  http://www.gooeytar.com/projects/test/test4.pdf
  http://www.gooeytar.com/projects/test/test4.ly

  The rests in voicethree are way out! Sure I could use  "\rest"  for
each one but shouldnt  this just work??

  Here is a minimal reduction of the problem.  Ideas?  thanx - steve

\version "2.18.0"

 global = {
\time 3/4
\key e \major
\clef "G_8"
 }

 voiceone = \relative c' {
\repeat volta 1 {
\partial 4 { e'16_\p b gis' e } |
b'4 r gis,16 e b' gis |
e'4 r gis,,16 e b' gis |
< a fis' >4 < gis e' >
}
 }

 voicetwo = \relative c' {
s4
\repeat unfold 2 { s2. } s2
 }

 voicethree = \relative c {
\stemDown
\repeat volta 1 {
\partial 4 s4 |
r4 < e gis b > r | r4 < e, e' gis > r |
e2
}
 }

 guitar = << \voiceone \\ \voicetwo \\ \voicethree >>

 \score {
\new Staff { << \global \guitar >> }
\layout { }
 }



Hi Steve,

If you use \voiceTwo or \voiceFour in your third voice, you should get what 
you were hoping for.


http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony


Phil.



___
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: Mac testers needed for Frescobaldi! (again)

2014-06-19 Thread Jeff Holland
Davide Liessi (17.06.2014) :

Some packaging problems were reported ([1]):
- lack of MIDI support (PortMIDI was not included),
- impossibility to run convert-ly and musicxml2ly (the wrong Python
interpreter was used for the scripts bundled in LilyPond.app).

During the last days I was able to fix these problems (at least on my 
machine).


Hello Davide,

I did a bit of testing with this on a relatively clean 10.9.3 machine. By 
"clean", I mean that the machine has never had MacPorts or Homebrew 
installed on it. So your standalone app is truly "standing alone".

MIDI playback seems to be working fine. I tested using SimpleSynth.

I tried convert-ly once and it ran without error, although there was 
nothing to convert and it said "The document has not been changed".

I imported a MusicXML file and it did not produce any errors. Previously, I 
think it was hardcoded to look for something in "/opt/local" (MacPorts) and 
was throwing an error when it couldn't find it.

So, success according to my experience. Thanks for your efforts.

Regards,

-- 
Jeff
___
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 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 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


unterminated tie?

2014-06-19 Thread Marc Weber
.ly file:

\version "2.18.2"
<<
\context Voice = train_left_medium {
  \relative c' { g4~ b }
}
>>


|| Processing `sheet.ly'
|| Parsing...
|| Interpreting music...
sheet.ly|4 col 28| warning: unterminated tie
||   \relative c' { g4
||~ b }
|| Preprocessing graphical objects...
|| Finding the ideal number of pages...
|| Fitting music on 1 page...
|| Drawing systems...
|| Layout output to `sheet.ps'...
|| Converting to `./sheet.pdf'...
|| Success: compilation successfully completed


lilypond 2.16.2 shows the same result so it must be me missunderstanding
something?

http://www.lilypond.org/doc/v2.16/Documentation/learning/ties-and-slurs
clearly says: "A tie is created by appending a tilde ~ to the first note being 
tied."

Thanks for any help

Marc Weber

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


Re: unterminated tie?

2014-06-19 Thread Thomas Morley
2014-06-20 0:01 GMT+02:00 Marc Weber :
> .ly file:
>
> \version "2.18.2"
> <<
> \context Voice = train_left_medium {
>   \relative c' { g4~ b }
> }
>>>

 Hi Marc,

a Tie (Haltebogen) can only appear between Note of some height.
You likely want a Slur (Legatobogen) here:

\relative c' { g4( b) }

Cheers,
  Harm

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


Re: unterminated tie?

2014-06-19 Thread Colin Campbell

On 14-06-19 04:01 PM, Marc Weber wrote:

.ly file:

\version "2.18.2"
<<
\context Voice = train_left_medium {
   \relative c' { g4~ b }
}

|| Processing `sheet.ly'
|| Parsing...
|| Interpreting music...
sheet.ly|4 col 28| warning: unterminated tie
||   \relative c' { g4
||~ b }
|| Preprocessing graphical objects...
|| Finding the ideal number of pages...
|| Fitting music on 1 page...
|| Drawing systems...
|| Layout output to `sheet.ps'...
|| Converting to `./sheet.pdf'...
|| Success: compilation successfully completed


lilypond 2.16.2 shows the same result so it must be me missunderstanding
something?

http://www.lilypond.org/doc/v2.16/Documentation/learning/ties-and-slurs
clearly says: "A tie is created by appending a tilde ~ to the first note being 
tied."





I think you want a slur, between *different* pitches, rather than a tie 
between like ones. Your notes then become


{ g4 ( b ) }

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


___
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: changing global staff size on the fly

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

2014-06-19 18:59 GMT+02:00 Orm Finnendahl :


>  is there a way to reduce the global staff size of all staffs in an
> orchestral score for selected pages (or a selected region) on the fly
>

No easy way.
See also http://lsr.di.unimi.it/LSR/Item?id=862 (just in case...)


> I'm on 2.9.15.
>

:o... I thought that one's fossilzed !

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


Bad rest placements?

2014-06-19 Thread steve

   Howdy?

  So I have been working on an engraving and had 80% of it finished
when I decided I needed another voice. I added it and it solved my voicing
issue, but it completely ruined ALL of my previous rests which were fine
before. I don't see why these rests should be so badly out of position???

  http://www.gooeytar.com/projects/test/test4.pdf
  http://www.gooeytar.com/projects/test/test4.ly

  They rests in voicethree are way out! Sure I could use  "\rest"  for
each one but shouldnt
this just work??

  Here is a minimal reduction of the problem.  Ideas?  thanx - steve

\version "2.18.0"

 global = {
\time 3/4
\key e \major
\clef "G_8"
 }

 voiceone = \relative c' {
\repeat volta 1 {
\partial 4 { e'16_\p b gis' e } |
b'4 r gis,16 e b' gis |
e'4 r gis,,16 e b' gis |
< a fis' >4 < gis e' >
}
 }

 voicetwo = \relative c' {
s4
\repeat unfold 2 { s2. } s2
 }

 voicethree = \relative c {
\stemDown
\repeat volta 1 {
\partial 4 s4 |
r4 < e gis b > r | r4 < e, e' gis > r |
e2
}
 }

 guitar = << \voiceone \\ \voicetwo \\ \voicethree >>

 \score {
\new Staff { << \global \guitar >> }
\layout { }
 }




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


Re: unterminated tie?

2014-06-19 Thread Marc Weber
Thanks for your fast help.
I don't quite understand why its important to disambuigate.

One of the following would have helped me:
- nicer error message
- hint in documentation such as "ties only connect notes of same pitch"

Marc Weber

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