Re: forced break was overridden by some other event

2016-10-24 Thread Federico Bruni
Il giorno lun 24 ott 2016 alle 20:29, Noeck  ha 
scritto:
 Thank you: it works, but a small glissando line appears on TabStaff 
only
 in the second bar of the example (see attached image). Probably a 
bug of

 \hideNotes..


That's what I thought, the last time I reported this. But apparently 
it

is not a but but a feature: The note (notehead, stem, flag) is hidden.
But the attached things (slurs, etc.) are not hidden. This way, you 
can
add slurs and glissandi to a note that is hidden to fake some 
endpoint.


Sure, it makes sense and this is actually how I use \hideNotes mostly 
(for slides into and from an "imprecise" fret).

I'll use \afterGrace.

Thank you all
Federico


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


RE: Tie settings question

2016-10-24 Thread Andrew Bernard
Greetings All,

For other learners reading this thread in the future, I just thought I would
mention that since the details property of Tie is an association list
(alist), you can specify the values in Scheme in a way that I personally
find more readable and less noisy. Here's the syntax, just using the Tie
default values:

  \override Tie.details =
  #'((ratio . 0.333)
 (center-staff-line-clearance . 0.6)
 (tip-staff-line-clearance . 0.45)
 (note-head-gap . 0.2)
 (stem-gap . 0.35)
 (height-limit . 1.0)
 (horizontal-distance-penalty-factor . 10)
 (same-dir-as-stem-penalty . 8)
 (min-length-penalty-factor . 26)
 (tie-tie-collision-distance . 0.45)
 (tie-tie-collision-penalty . 25.0)
 (intra-space-threshold . 1.25)
 (outer-tie-vertical-distance-symmetry-penalty-factor . 10)
 (outer-tie-length-symmetry-penalty-factor . 10)
 (vertical-distance-penalty-factor . 7)
 (outer-tie-vertical-gap . 0.25)
 (multi-tie-region-size . 3)
 (single-tie-region-size . 4)
 (between-length-limit . 1.0))


Refer to NR Section 5.2.6 Modifying alists.

Andrew




-Original Message-
From: lilypond-user On Behalf Of Karol Majewski
Sent: Tuesday, 25 October 2016 7:07 AM
Subject: Re: Tie settings question


I work really hard to make LilyPond ties look the way I want. My current
settings are the following:

\override Tie.details.height-limit = #1.25
\override Tie.details.ratio = #0.25
\override Tie.details.between-length-limit = #1
\override Tie.details.wrong-direction-offset-penalty = #10
\override Tie.details.min-length = #2
\override Tie.details.min-length-penalty-factor = #30
\override Tie.details.center-staff-line-clearance = #0.05
\override Tie.details.tip-staff-line-clearance = #0.05
\override Tie.details.staff-line-collision-penalty = #0
\override Tie.details.dot-collision-clearance = #0
\override Tie.details.dot-collision-penalty = #0
\override Tie.details.note-head-gap = #0.15
\override Tie.details.stem-gap = #0.15
\override Tie.details.tie-column-monotonicity-penalty = #100
\override Tie.details.tie-tie-collision-penalty = #25
\override Tie.details.tie-tie-collision-distance = #0.5
\override Tie.details.horizontal-distance-penalty-factor = #0
\override Tie.details.same-dir-as-stem-penalty = #20
\override Tie.details.vertical-distance-penalty-factor = #10
\override Tie.details.intra-space-threshold = #0
\override Tie.details.outer-tie-length-symmetry-penalty-factor = #0
\override
Tie.details.outer-tie-vertical-distance-symmetry-penalty-factor = #0
\override Tie.details.outer-tie-vertical-gap = #0
\override Tie.details.single-tie-region-size = #4
\override Tie.details.skyline-padding = #0.05
\override Tie.details.multi-tie-region-size = #1
\override Tie.line-thickness = #0.25
\override Tie.thickness = #2



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


Re: convert-ly usage question

2016-10-24 Thread David Wright
On Mon 24 Oct 2016 at 23:39:14 (+0200), Simon Albrecht wrote:
> On 24.10.2016 23:31, Karol Majewski wrote:
> >Hi Simon,
> >
> >does convert-ly work for you when you try to update any single file?
> 
> Surprisingly for me, yes it does.

In which case, for bash:

for j in *.ly ; do convert-ly -e "$j" ; done

Cheers,
David.

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


Re: convert-ly usage question

2016-10-24 Thread Martin Neubauer
In addition to that, try running:

% /home/simon/lilypond/2.19.47/bin/convert-ly -e *.ly

If that's working, you might want to read up on aliases in the bash man
page, and then use a shell function instead.

On 24/10/2016 23:31, Karol Majewski wrote:
> Hi Simon,
> 
> does convert-ly work for you when you try to update any single file?

-- 
Watch out, I know Mortal Kombat.



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: convert-ly usage question

2016-10-24 Thread Simon Albrecht

On 24.10.2016 23:31, Karol Majewski wrote:

Hi Simon,

does convert-ly work for you when you try to update any single file?


Surprisingly for me, yes it does.

Best, Simon

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


Re: convert-ly usage question

2016-10-24 Thread Karol Majewski
Hi Simon,

does convert-ly work for you when you try to update any single file?




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


convert-ly usage question

2016-10-24 Thread Simon Albrecht

Hello,

this is actually the first time I try to use convert-ly from the 
command-line to update a bunch of files, yet I’m not quite getting there.

I have this in my ~/.bashrc file:
# use current convert-ly
alias convert-ly='/home/simon/lilypond/2.19.47/bin/convert-ly'
and this is what I get:

$ convert-ly -e *.ly
convert-ly (GNU LilyPond) 2.19.47

convert-ly: error: *.ly: Unable to open file
convert-ly: warning: There was 1 error.

Am I overlooking something silly right now?

Best, Simon

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


Re: Tie settings question

2016-10-24 Thread Karol Majewski
This is fine now. Thx, David.

I work really hard to make LilyPond ties look the way I want. My current 
settings are the following:

\override Tie.details.height-limit = #1.25
\override Tie.details.ratio = #0.25
\override Tie.details.between-length-limit = #1
\override Tie.details.wrong-direction-offset-penalty = #10
\override Tie.details.min-length = #2
\override Tie.details.min-length-penalty-factor = #30
\override Tie.details.center-staff-line-clearance = #0.05
\override Tie.details.tip-staff-line-clearance = #0.05
\override Tie.details.staff-line-collision-penalty = #0
\override Tie.details.dot-collision-clearance = #0
\override Tie.details.dot-collision-penalty = #0
\override Tie.details.note-head-gap = #0.15
\override Tie.details.stem-gap = #0.15
\override Tie.details.tie-column-monotonicity-penalty = #100
\override Tie.details.tie-tie-collision-penalty = #25
\override Tie.details.tie-tie-collision-distance = #0.5
\override Tie.details.horizontal-distance-penalty-factor = #0
\override Tie.details.same-dir-as-stem-penalty = #20
\override Tie.details.vertical-distance-penalty-factor = #10
\override Tie.details.intra-space-threshold = #0
\override Tie.details.outer-tie-length-symmetry-penalty-factor = #0
\override Tie.details.outer-tie-vertical-distance-symmetry-penalty-factor = 
#0
\override Tie.details.outer-tie-vertical-gap = #0
\override Tie.details.single-tie-region-size = #4
\override Tie.details.skyline-padding = #0.05
\override Tie.details.multi-tie-region-size = #1
\override Tie.line-thickness = #0.25
\override Tie.thickness = #2

I'm quite satisfied with those settings, but lately I discovered one situaton 
in which one of the ties looks not the way I want:

{
  \time 3/8 \voiceOne
  g'4~ g'8~
  g'4~ g'8~
  g'4.~
  g'4~ g'8
}

... and to my discontent the fifth tie is raised by 0.25 because of the dot. I 
don't want this dot to have any impact on the vertical position of the 
following tie. Overriding Tie.details.dot-collision-clearance doesn't help. How 
can I fix this? Of course using \shape is not an option, as I'm looking for 
general solution (global override). I begin to think that this is hardcoded



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


Re: forced break was overridden by some other event

2016-10-24 Thread Noeck
Hi Federico,

> Thank you: it works, but a small glissando line appears on TabStaff only
> in the second bar of the example (see attached image). Probably a bug of
> \hideNotes..

That's what I thought, the last time I reported this. But apparently it
is not a but but a feature: The note (notehead, stem, flag) is hidden.
But the attached things (slurs, etc.) are not hidden. This way, you can
add slurs and glissandi to a note that is hidden to fake some endpoint.

I also expected the full music to be hidden with \hideNotes when I used
it in music teaching examples where I just hide the solution from the
working sheet. But I was told that \hideNotes is not the tool for that
purpose.

Cheers,
Joram

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


Google Code-In

2016-10-24 Thread Urs Liska
Anyone here saying that applying for this  
https://developers.google.com/open-source/gci/ would make sense for LilyPond? 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hairpin and simultaneous expressions

2016-10-24 Thread David Sumbler
Thanks, both, for the helpful answers to this problem.

David

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


Re: Hairpin and simultaneous expressions

2016-10-24 Thread Gerdau, Michael
> \version "2.19.46"
> 
> \language "english"
> 
> %%Vn2 bars 276-279
> \relative e' {
>   \time 3/2 1.\p\< ~ | q ~ | q |  |
> %%Vn2 bars 280-283
>   << { \stemUp d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1)} \\ {f1. ~ | f ~ | f
> ~ | f1 } >> r2 |
> }
> 
> The above extract from one of my files compiles to give the result I
> want, except that it produces an "unterminated crescendo" warning;

That's exactly what it is and also the cause of the missing hairpin.
You start the hairpin in one voice and the mp appears in another. So it
does not terminate it.

> What is the simplest way to achieve what I want?

Make sure you properly terminate the hairpin.
Either by using explicit voices and making sure your hairpin and the mp are
in the same voice or by using a dedicated dynamics voice.
(in a hurry, therefor no working example, sry)

Kind regards,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver

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


Re: Hairpin and simultaneous expressions

2016-10-24 Thread tisimst
David,

On Mon, Oct 24, 2016 at 9:10 AM, David Sumbler [via Lilypond] <
ml-node+s1069038n195665...@n5.nabble.com> wrote:

> \version "2.19.46"
>
> \language "english"
>
> %%Vn2 bars 276-279
> \relative e' {
>   \time 3/2 1.\p\< ~ | q ~ | q |  |
> %%Vn2 bars 280-283
>   << { \stemUp d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1)} \\ {f1. ~ | f ~ | f
> ~ | f1 } >> r2 |
> }
>
> The above extract from one of my files compiles to give the result I
> want, except that it produces an "unterminated crescendo" warning; also
> the p marking and the hairpin, which should start at bar 276 and end at
> the mp marking in bar 280, do not appear.
>
> I have tried moving the \mp to the lower note of the chord in bar 280,
> which produces the same result, and I have also tried including it with
> both upper and lower notes, which then gives 2 mp markings as well as
> the warning.
>
> What is the simplest way to achieve what I want?


The short answer: Use explicit voices.

The long answer:

The construct << { ... } \\ { ... } \\ ... >> creates COMPLETELY NEW
VOICES. So, the original section's hairpin really doesn't have a
termination in the same voice it started. Here's the basic structure that
should do the job for you:

%

\version "2.19.46"

\language "english"

%%Vn2 bars 276-279
\relative e' {
  \time 3/2 1.\p\< ~ | q ~ | q |  |
%%Vn2 bars 280-283
  <<
{ \voiceOne d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1) }  % the original voice
continues here
\new Voice { \voiceTwo f1. ~ | f ~ | f ~ | f1 }  % temporary second
voice
  >> \oneVoice r2 |  % and finally continues here
}

%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hairpin-and-simultaneous-expressions-tp195665p195666.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


Hairpin and simultaneous expressions

2016-10-24 Thread David Sumbler
\version "2.19.46"

\language "english"

%%Vn2 bars 276-279
\relative e' {
  \time 3/2 1.\p\< ~ | q ~ | q |  |
%%Vn2 bars 280-283
  << { \stemUp d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1)} \\ {f1. ~ | f ~ | f
~ | f1 } >> r2 |
}

The above extract from one of my files compiles to give the result I
want, except that it produces an "unterminated crescendo" warning; also
the p marking and the hairpin, which should start at bar 276 and end at
the mp marking in bar 280, do not appear.

I have tried moving the \mp to the lower note of the chord in bar 280,
which produces the same result, and I have also tried including it with
both upper and lower notes, which then gives 2 mp markings as well as
the warning.

What is the simplest way to achieve what I want?

David



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


Re: forced break was overridden by some other event

2016-10-24 Thread Federico Bruni

Hi Pierre

Thank you: it works, but a small glissando line appears on TabStaff 
only in the second bar of the example (see attached image). Probably a 
bug of \hideNotes..

Maybe if I could set the length of glissando (to be smaller)...

Anyway, I've just remembered that in this case I use \afterGrace:

\version "2.19"

upper = \relative {
e'8 cis( b) gis~ gis r \afterGrace b4 { \once \hideNotes b8 } \break |
r1
}

lower = \relative {
e,2 e'8 r \afterGrace g4\4\glissando { \once \hideNotes gis8\4 } 
\break |

e,2 e'^\fermata |
}

\score {
\new StaffGroup <<
  \new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo 
\lower >> }

  \new TabStaff \with {
stringTunings = #guitar-tuning
\clef moderntab
  } <<
\new TabVoice { \voiceOne \upper }
\new TabVoice { \voiceTwo \lower }
  >>
>>
\layout {
  \context {
\Staff
\omit StringNumber
  }
}
}

Not perfect, I guess, as the glissando line does not extend to the end 
of the bar.

But at least there are no "ghost lines" appearing from nowhere.

Il giorno lun 24 ott 2016 alle 9:16, Pierre Perol-Schneider 
 ha scritto:

Hi Federico,

How about:

\version "2.19"

upper = \relative {
 e'8 cis( b) gis~ gis r b4
   % maybe it's the grace synchronization bug?
   \break |
   \hideNotes \grace b8  r1
}

lower = \relative {
 e,2 e'8 r
 \once\override Glissando.breakable = ##t
 \once\override Glissando.after-line-breaking = ##t
 g4\4\glissando
   % start glissando which will continue on a previous bar
|\break
 \hideNotes \grace gis8\4 \unHideNotes
 e,2 e'^\fermata |
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo 
\lower >> }

   \new TabStaff \with {
 stringTunings = #guitar-tuning
 \clef moderntab
   } <<
 \new TabVoice { \voiceOne \upper }
 \new TabVoice { \voiceTwo \lower }
   >>
 >>
}

HTH.
Cheers,
Pierre

2016-10-24 9:00 GMT+02:00 Federico Bruni :

Hi folks

What's wrong with this input?
I cannot force line break and I get the warning "forced break was 
overridden by some other event":


\version "2.19.48"

upper = \relative {
 e'8 cis( b) gis~ gis r b4
   % maybe it's the grace synchronization bug?
   \hideNotes \grace b8 \break |
 r1
}

lower = \relative {
 e,2 e'8 r g4\4\glissando
   % start glissando which will continue on a previous bar
   \hideNotes \grace gis8\4 \unHideNotes \break |
 e,2 e'^\fermata |
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo 
\lower >> }

   \new TabStaff \with {
 stringTunings = #guitar-tuning
 \clef moderntab
   } <<
 \new TabVoice { \voiceOne \upper }
 \new TabVoice { \voiceTwo \lower }
   >>
 >>
}


___
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: forced break was overridden by some other event

2016-10-24 Thread Pierre Perol-Schneider
Hi Federico,

How about:

\version "2.19"

upper = \relative {
 e'8 cis( b) gis~ gis r b4
   % maybe it's the grace synchronization bug?
   \break |
   \hideNotes \grace b8  r1
}

lower = \relative {
 e,2 e'8 r
 \once\override Glissando.breakable = ##t
 \once\override Glissando.after-line-breaking = ##t
 g4\4\glissando
   % start glissando which will continue on a previous bar
|\break
 \hideNotes \grace gis8\4 \unHideNotes
 e,2 e'^\fermata |
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo \lower >>
}
   \new TabStaff \with {
 stringTunings = #guitar-tuning
 \clef moderntab
   } <<
 \new TabVoice { \voiceOne \upper }
 \new TabVoice { \voiceTwo \lower }
   >>
 >>
}

HTH.
Cheers,
Pierre

2016-10-24 9:00 GMT+02:00 Federico Bruni :

> Hi folks
>
> What's wrong with this input?
> I cannot force line break and I get the warning "forced break was
> overridden by some other event":
>
> \version "2.19.48"
>
> upper = \relative {
>  e'8 cis( b) gis~ gis r b4
>% maybe it's the grace synchronization bug?
>\hideNotes \grace b8 \break |
>  r1
> }
>
> lower = \relative {
>  e,2 e'8 r g4\4\glissando
>% start glissando which will continue on a previous bar
>\hideNotes \grace gis8\4 \unHideNotes \break |
>  e,2 e'^\fermata |
> }
>
> \score {
>  \new StaffGroup <<
>\new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo \lower
> >> }
>\new TabStaff \with {
>  stringTunings = #guitar-tuning
>  \clef moderntab
>} <<
>  \new TabVoice { \voiceOne \upper }
>  \new TabVoice { \voiceTwo \lower }
>>>
>  >>
> }
>
>
> ___
> 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


forced break was overridden by some other event

2016-10-24 Thread Federico Bruni

Hi folks

What's wrong with this input?
I cannot force line break and I get the warning "forced break was 
overridden by some other event":


\version "2.19.48"

upper = \relative {
 e'8 cis( b) gis~ gis r b4
   % maybe it's the grace synchronization bug?
   \hideNotes \grace b8 \break |
 r1
}

lower = \relative {
 e,2 e'8 r g4\4\glissando
   % start glissando which will continue on a previous bar
   \hideNotes \grace gis8\4 \unHideNotes \break |
 e,2 e'^\fermata |
}

\score {
 \new StaffGroup <<
   \new Staff { \clef "treble_8" << \voiceOne \upper \\ \voiceTwo 
\lower >> }

   \new TabStaff \with {
 stringTunings = #guitar-tuning
 \clef moderntab
   } <<
 \new TabVoice { \voiceOne \upper }
 \new TabVoice { \voiceTwo \lower }
   >>
 >>
}


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