Re: Polyphonic notes slur solution

2015-06-21 Thread rsfjr
Thank you all!

@ Robin

I was trying with the code you and Nathan sent me, I am trying with this
simple example before I make the modifications in a Forqueray's sonata
formatting.

The problem was within Lyx. I tried with Frescobaldi and bare lilypond
(ver. 2.18.2) and it worked fine.

Lyx was calling Lilypond with --safe option, which caused a crash,
everytime a \override was placed.


@ all
The code works fine now, just need one more help, and I won't bother you
anymore. I placed a \override Staff.Arpeggio.direction = 1 at the code, so
that the arpeggio parenthesis would be at the right. It works OK, but, can
it be mirroed? The parenthesis is pointed out the note pair.
Tried the \shape command and nothing was changed.


polyphonyArp = {
\override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur
\override Staff.Arpeggio.X-extent = #ly:grob::stencil-width
\override Staff.Arpeggio.direction = 1
}

\new Staff \with {
\consists Span_arpeggio_engraver } {
\set Staff.connectArpeggios = ##t
\polyphonyArp
{ b'4\arpeggio} \\ { g'4\arpeggio }   
}



All the Best!
Ronaldo



2015-06-20 18:31 GMT-03:00 Thomas Morley thomasmorle...@gmail.com:

 2015-06-20 12:07 GMT+02:00 Robin Bannister r...@dataway.ch:
  Nathan Ho wrote:
 
  % And, of course, the slur's too short vertically
 
 
  Adjust 0.3 to taste:
 
  \override Staff.Arpeggio #'positions = #(lambda (grob)
(interval-widen (ly:arpeggio::calc-positions grob) 0.3))


 or:

 \once \offset positions #'(-0.3 . 0.3) Staff.Arpeggio

 \offset lacks documentation, though


 Cheers,
   Harm

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


Re: Polyphonic notes slur solution

2015-06-21 Thread rsfjr
Thanks a lot!

Works wonderfully!


All the Best,
Ronaldo

2015-06-21 4:34 GMT-03:00 Nathan Ho when.possi...@gmail.com:

 On Sun, Jun 21, 2015 at 12:22 AM, rsfjr rsfj...@gmail.com wrote:

 I placed a \override Staff.Arpeggio.direction = 1 at the code, so that
 the arpeggio parenthesis would be at the right. It works OK, but, can it be
 mirroed? The parenthesis is pointed out the note pair.
 Tried the \shape command and nothing was changed.


 This should do the trick:

 \override Staff.Arpeggio.stencil = #(lambda (grob) (ly:stencil-scale
 (ly:arpeggio::brew-chord-slur grob) -1 1))


 Regards,

 Nathan

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


Polyphonic notes slur solution

2015-06-20 Thread rsfjr
Hello,

I am trying to overcome an issue. I need to place some slurs in a polyphonic
pair, connecting the noteheads. Is there any workaround?

\new Staff {

{b'}\\{g'}
}

I have tried creating other notes and forcing a horizontal shift, but no
success, only the first note overlays the entire polyphonic note, like this:

\new Staff {


{b'}
\\
{g'}
 \\
{
\override NoteColumn.force-hshift =  0 b'(
\override NoteColumn.force-hshift =  0 g')
}

}

I even tried negative numbers for the g', but it just won't overlap the
other notes.



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


Re: Polyphonic notes slur solution

2015-06-20 Thread rsfjr
Thank you all,

It keeps throwing an error message, when I use these:

\override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur

\override Staff.Arpeggio.X-extent = #ly:grob::stencil-width


Without those the arpeggios are slurred, but with the arpeggio symbol.


I believe the Lilypond documentation is a bit non intuitive, for example:


stencil (stencil):

ly:arpeggio::print

The symbol to print.


What kind of symbols I can print?


Sorry for taking your time, need to learn how to use the docu properly.



All The Best,

Ronaldo



2015-06-20 7:07 GMT-03:00 Robin Bannister r...@dataway.ch:

 Nathan Ho wrote:

  % And, of course, the slur's too short vertically


 Adjust 0.3 to taste:

 \override Staff.Arpeggio #'positions = #(lambda (grob)
   (interval-widen (ly:arpeggio::calc-positions grob) 0.3))


 Cheers,
 Robin

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