Re: How to separate these voices??

2014-06-10 Thread Knute Snortum
Minor, but in the interest of clarity:

\score {

  \new Staff { \global \guitar } % Don't need  ... 

  \layout { }

}


Knute Snortum
(via Gmail)


On Mon, Jun 9, 2014 at 11:38 AM, st...@linuxsuite.org wrote:


  Thanks for the hints. I've looked at them and have come up with the
 following which looks a lot like the original. F. Tarrega's transcription
 of
 Beethoven minuet ( start of the trio ). Not sure if its the best solution
 though...

 http://imslp.org/wiki/6_Minuets,_WoO_10_%28Beethoven,_Ludwig_van%29

 \version 2.18.0

  voiceone = \relative c' {

\new Voice { \voiceOne e2. | }
\new Voice { \voiceThree \stemDown \override NoteColumn.force-hshift =
 #1.1
 gis, 8[ b] gis[ b] gis[ b] | }

  }

  voicetwo = \relative c {
 e, e' 4 dis' cis |
  }

  guitar =  { \voiceone } \\ { \voicetwo } 

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

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


   thanx - steve


  2014-06-09 19:41 GMT+02:00 David Kastrup d...@gnu.org:
  st...@linuxsuite.org writes:
 
   Ooops sorry.
 
 
  \version 2.18.0
 
   voiceone = \relative c' {
  
  { e2. | }
\\
  { gis,8[ b] gis[ b] gis[ b] | }
  
   }
 
   voicetwo = \relative c {
   e, e' 4 dis' cis |
   }
 
   guitar =  { \voiceone } \\ { \voicetwo } 
 
  global = {
\time 3/4
\key e \major
\clef G_8
  }
 
 
  \score {
\new Staff  {  \global \guitar  }
 
\layout { }
  }
 
  Nesting several \\ at different levels does not work.  This is one case
  where you are better off using explicit voices anyway since you can then
  finetune the \voiceXxx things using for shifting voices apart in the
  case of collision.  That gives you
 
 
 
  I'm not overly convinced in how it is typeset, but then I don't have a
  better suggestion after juggling with different presets.
 
 
 
 
  --
  David Kastrup
 
 
  Here my code as well.
  Second example gives same output as David's
  Third example shows strange behaviour of the Dot. IMHO, it should flip
  back to the NoteHead. There's enough space.
  A bug?
 
  \version 2.18.0
 
  global = {
\time 3/4
\key e \major
\clef G_8
  }
 
  \new Staff

\global
\new Voice \relative c' { \voiceOne e2. }
\new Voice
  \relative c' {
\voiceFour
\override NoteColumn.force-hshift = #1.1
gis8[ b] gis[ b] gis[ b]
  }
\new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }

 
  \new Staff

\global
\new Voice \relative c' { \voiceOne e2. }
\new Voice \relative c' { \voiceThree  gis8[ b] gis[ b] gis[ b] }
\new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }

 
  \new Staff

\mark bug with Dots?
\global
\new Voice \relative c' { \voiceOne e2. }
\new Voice
  \relative c' {
\voiceThree
\once \override NoteColumn.force-hshift = #1.5
gis8[ b] gis[ b] gis[ b]
  }
\new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }

 
  Cheers,
Harm
 



 ___
 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


How to separate these voices??

2014-06-09 Thread steve

  Howdy!

 How do I get the bass quarter notes to separate from
 the middle 8ths? They are fused as 8ths, and

\override NoteColumn.force-hshift = #1

 shifts both the middle and bass voices?


\version 2.18.0

 voiceone = \relative c' {

{ e2. | }
  \\
{ gis,8[ b] gis[ b] gis[ b] | }

 }

 voicetwo = \relative c {
 e, e' 4 dis' cis |
 }


guitar =  \voiceone \\ \voicetwo 


 thanx - steve



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


Re: How to separate these voices??

2014-06-09 Thread David Kastrup
st...@linuxsuite.org writes:

   Howdy!

  How do I get the bass quarter notes to separate from
  the middle 8ths? They are fused as 8ths, and

 \override NoteColumn.force-hshift = #1

  shifts both the middle and bass voices?


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }


 guitar =  \voiceone \\ \voicetwo 

This program produces no output.  Please include working minimal
examples demonstrating your problem with queries like that.

-- 
David Kastrup

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


Re: How to separate these voices??

2014-06-09 Thread Shane Brandes
Try putting everything in the same voice with this sort of construct
{{}\\{}\\{}}

regards,
Shane

On Mon, Jun 9, 2014 at 11:55 AM,  st...@linuxsuite.org wrote:

   Howdy!

  How do I get the bass quarter notes to separate from
  the middle 8ths? They are fused as 8ths, and

 \override NoteColumn.force-hshift = #1

  shifts both the middle and bass voices?


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }


 guitar =  \voiceone \\ \voicetwo 


  thanx - steve



 ___
 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 separate these voices??

2014-06-09 Thread steve

 This program produces no output.  Please include working minimal
 examples demonstrating your problem with queries like that.


 Ooops sorry.


\version 2.18.0

 voiceone = \relative c' {

{ e2. | }
  \\
{ gis,8[ b] gis[ b] gis[ b] | }

 }

 voicetwo = \relative c {
 e, e' 4 dis' cis |
 }

 guitar =  { \voiceone } \\ { \voicetwo } 

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


\score {
\new Staff  {  \global \guitar  }

\layout { }
}

 -steve


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


Re: How to separate these voices??

2014-06-09 Thread steve
 Try putting everything in the same voice with this sort of construct
 {{}\\{}\\{}}


Doesn't change anything...

-steve


 regards,
 Shane

 On Mon, Jun 9, 2014 at 11:55 AM,  st...@linuxsuite.org wrote:

   Howdy!

  How do I get the bass quarter notes to separate from
  the middle 8ths? They are fused as 8ths, and

 \override NoteColumn.force-hshift = #1

  shifts both the middle and bass voices?


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }


 guitar =  \voiceone \\ \voicetwo 


  thanx - steve



 ___
 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 separate these voices??

2014-06-09 Thread Shane Brandes
make sure you delete the unneeded voice from the score declaration.
 guitar =  { \voiceone }

On Mon, Jun 9, 2014 at 1:21 PM,  st...@linuxsuite.org wrote:
 Try putting everything in the same voice with this sort of construct
 {{}\\{}\\{}}


 Doesn't change anything...

 -steve


 regards,
 Shane

 On Mon, Jun 9, 2014 at 11:55 AM,  st...@linuxsuite.org wrote:

   Howdy!

  How do I get the bass quarter notes to separate from
  the middle 8ths? They are fused as 8ths, and

 \override NoteColumn.force-hshift = #1

  shifts both the middle and bass voices?


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }


 guitar =  \voiceone \\ \voicetwo 


  thanx - steve



 ___
 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: How to separate these voices??

2014-06-09 Thread David Kastrup
st...@linuxsuite.org writes:

  Ooops sorry.


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }

  guitar =  { \voiceone } \\ { \voicetwo } 

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


 \score {
   \new Staff  {  \global \guitar  }

   \layout { }
 }

Nesting several \\ at different levels does not work.  This is one case
where you are better off using explicit voices anyway since you can then
finetune the \voiceXxx things using for shifting voices apart in the
case of collision.  That gives you

\version 2.18.0

 voiceone = \relative c' 
   \new Voice {
 \voiceOne
 e2. | }
   \new Voice {
 \voiceThree
 gis,8[ b] gis[ b] gis[ b] | }


voicetwo = \relative c
\new Voice {
  \voiceTwo
 e, e' 4 dis' cis |
}

guitar =  \voiceone \voicetwo 

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


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

I'm not overly convinced in how it is typeset, but then I don't have a
better suggestion after juggling with different presets.



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


Re: How to separate these voices??

2014-06-09 Thread Thomas Morley
2014-06-09 19:41 GMT+02:00 David Kastrup d...@gnu.org:
 st...@linuxsuite.org writes:

  Ooops sorry.


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }

  guitar =  { \voiceone } \\ { \voicetwo } 

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


 \score {
   \new Staff  {  \global \guitar  }

   \layout { }
 }

 Nesting several \\ at different levels does not work.  This is one case
 where you are better off using explicit voices anyway since you can then
 finetune the \voiceXxx things using for shifting voices apart in the
 case of collision.  That gives you



 I'm not overly convinced in how it is typeset, but then I don't have a
 better suggestion after juggling with different presets.




 --
 David Kastrup


Here my code as well.
Second example gives same output as David's
Third example shows strange behaviour of the Dot. IMHO, it should flip
back to the NoteHead. There's enough space.
A bug?

\version 2.18.0

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

\new Staff
  
  \global
  \new Voice \relative c' { \voiceOne e2. }
  \new Voice
\relative c' {
  \voiceFour
  \override NoteColumn.force-hshift = #1.1
  gis8[ b] gis[ b] gis[ b]
}
  \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
  

\new Staff
  
  \global
  \new Voice \relative c' { \voiceOne e2. }
  \new Voice \relative c' { \voiceThree  gis8[ b] gis[ b] gis[ b] }
  \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
  

\new Staff
  
  \mark bug with Dots?
  \global
  \new Voice \relative c' { \voiceOne e2. }
  \new Voice
\relative c' {
  \voiceThree
  \once \override NoteColumn.force-hshift = #1.5
  gis8[ b] gis[ b] gis[ b]
}
  \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
  

Cheers,
  Harm

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


Re: How to separate these voices??

2014-06-09 Thread tisimst
Steve,

Ok, here's what I got your snippet to do:

http://lilypond.1069038.n5.nabble.com/file/n163143/polyphonic-notehead-collision-original.png
 

I'm not sure how my solution plays into the rest of the piece you are
working on, but this works pretty well for me:

guitar = \relative c' { 
   
  { e2. }   % voiceOne
  \\ 
  {}   % voiceTwo
  \\
  { e,, e'4 dis' cis }  % voiceThree
  \\
  { gis'8[ b] gis[ b] gis[ b] }  % voiceFour
   
} 

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

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

which results in this:

http://lilypond.1069038.n5.nabble.com/file/n163143/polyphonic-notehead-collision-partial-fix.png
 

Personally, I don't quite like how far that pushed out the e-chord in
voiceThree because of the collision with the stem and the dot in voiceOne,
so we can force the e-chord to be a little closer to look like the 2nd and
3rd quarter notes, if you prefer, by adding an override before the e-chord:

guitar = \relative c' { 
   
  { e2. }   % voiceOne
  \\ 
  {}   % voiceTwo
  \\
  { /*\once \override NoteColumn.force-hshift = #0.3*/ e,, e'4 dis' cis } 
% voiceThree
  \\
  { gis'8[ b] gis[ b] gis[ b] }  % voiceFour
   
}

which looks like this:

http://lilypond.1069038.n5.nabble.com/file/n163143/polyphonic-notehead-collision-fix.png
 

I can't say that this would be the perfect solution, but I think adding the
override makes the timing more obvious for the performer. Hope that helps!

-Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-separate-these-voices-tp163131p163143.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: How to separate these voices??

2014-06-09 Thread steve

 Thanks for the hints. I've looked at them and have come up with the
following which looks a lot like the original. F. Tarrega's transcription of
Beethoven minuet ( start of the trio ). Not sure if its the best solution
though...

http://imslp.org/wiki/6_Minuets,_WoO_10_%28Beethoven,_Ludwig_van%29

\version 2.18.0

 voiceone = \relative c' {
   
   \new Voice { \voiceOne e2. | }
   \new Voice { \voiceThree \stemDown \override NoteColumn.force-hshift =
#1.1
gis, 8[ b] gis[ b] gis[ b] | }
   
 }

 voicetwo = \relative c {
e, e' 4 dis' cis |
 }

 guitar =  { \voiceone } \\ { \voicetwo } 

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

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


  thanx - steve


 2014-06-09 19:41 GMT+02:00 David Kastrup d...@gnu.org:
 st...@linuxsuite.org writes:

  Ooops sorry.


 \version 2.18.0

  voiceone = \relative c' {
 
 { e2. | }
   \\
 { gis,8[ b] gis[ b] gis[ b] | }
 
  }

  voicetwo = \relative c {
  e, e' 4 dis' cis |
  }

  guitar =  { \voiceone } \\ { \voicetwo } 

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


 \score {
   \new Staff  {  \global \guitar  }

   \layout { }
 }

 Nesting several \\ at different levels does not work.  This is one case
 where you are better off using explicit voices anyway since you can then
 finetune the \voiceXxx things using for shifting voices apart in the
 case of collision.  That gives you



 I'm not overly convinced in how it is typeset, but then I don't have a
 better suggestion after juggling with different presets.




 --
 David Kastrup


 Here my code as well.
 Second example gives same output as David's
 Third example shows strange behaviour of the Dot. IMHO, it should flip
 back to the NoteHead. There's enough space.
 A bug?

 \version 2.18.0

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

 \new Staff
   
   \global
   \new Voice \relative c' { \voiceOne e2. }
   \new Voice
 \relative c' {
   \voiceFour
   \override NoteColumn.force-hshift = #1.1
   gis8[ b] gis[ b] gis[ b]
 }
   \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
   

 \new Staff
   
   \global
   \new Voice \relative c' { \voiceOne e2. }
   \new Voice \relative c' { \voiceThree  gis8[ b] gis[ b] gis[ b] }
   \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
   

 \new Staff
   
   \mark bug with Dots?
   \global
   \new Voice \relative c' { \voiceOne e2. }
   \new Voice
 \relative c' {
   \voiceThree
   \once \override NoteColumn.force-hshift = #1.5
   gis8[ b] gis[ b] gis[ b]
 }
   \new Voice \relative c' { \voiceTwo  e,, e' 4 dis' cis }
   

 Cheers,
   Harm




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