Re: Disconnected and oddly placed stems

2009-09-05 Thread James E. Bailey


On 05.09.2009, at 20:15, Carl Sorensen wrote:





On 9/5/09 9:37 AM, "Dan Florio"  wrote:

Here are the first few measures of a guitar part in a tune I'm  
working on:


(Each line represents a measure)

\version "2.12.2"

\header
  {
 title = "Percussion Song"
 composer = "Dan Florio"
  }

Guitar = \relative c'
  {
 << e1 g d' g >>
 << e, g d' fis >>
 << ees, g des' fis >>
 << ees,2 g des' f >> << ees, g des' e >>
  }


I doubt this is what you want to do.  You  are putting notes in  
parallel

contexts (different voices) rather than in chords.

It's much more likely that you want

 Guitar = \relative c'
   {
  < e1 g d' g >
  < e g d' fis >
  < ees g des' fis >
  < ees g des' f >2 < ees g des' e >
   }

HTH,

Carl


Although, as previously noted, durations inside a chord will fail, so  
the first chord would have to be 1



James E. Bailey



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


Re: Disconnected and oddly placed stems

2009-09-05 Thread Carl Sorensen



On 9/5/09 9:37 AM, "Dan Florio"  wrote:

> Here are the first few measures of a guitar part in a tune I'm working on:
> 
> (Each line represents a measure)
> 
> \version "2.12.2"
> 
> \header
>   {
>  title = "Percussion Song"
>  composer = "Dan Florio"
>   }
> 
> Guitar = \relative c'
>   {
>  << e1 g d' g >>
>  << e, g d' fis >>
>  << ees, g des' fis >>
>  << ees,2 g des' f >> << ees, g des' e >>
>   }

I doubt this is what you want to do.  You  are putting notes in parallel
contexts (different voices) rather than in chords.

It's much more likely that you want

 Guitar = \relative c'
   {
  < e1 g d' g >
  < e g d' fis >
  < ees g des' fis >
  < ees g des' f >2 < ees g des' e >
   }

HTH,

Carl



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


Re: Disconnected and oddly placed stems

2009-09-05 Thread Kieren MacMillan

Hi Dan,

Notice how the stems in the fourth measure are disconnected and  
opposite.

Anyone know why this is happening, and how I can fix it?


You are not correctly coding single-staff polyphony — I suggest you  
(re?)read the appropriate documentation sections, starting with



Hint: << ... >> is not used for chords.

Hope this helps!
Kieren.

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


Re: Disconnected and oddly placed stems

2009-09-05 Thread Frank Steinmetzger
Am Samstag, 5. September 2009 schrieb Dan Florio:

> I've attached the pdf of that specific part.  Notice how the stems in
> the fourth measure are disconnected and opposite.  Anyone know why this
> is happening, and how I can fix it?

Well, I don't know why, but how to avoid it: you can use multiple voices. One 
of them gets \voiceOne, so the stems go up no matter what pitch, the other 
gets \voiceTwo, thus making the stems go down.
-- 
Gruß | Greetings | Qapla'
Beamy, Scot me up!


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Disconnected and oddly placed stems

2009-09-05 Thread Dan Florio

Here are the first few measures of a guitar part in a tune I'm working on:

(Each line represents a measure)

\version "2.12.2"

\header
 {
title = "Percussion Song"
composer = "Dan Florio"
 }

Guitar = \relative c'
 {
<< e1 g d' g >>
<< e, g d' fis >>
<< ees, g des' fis >>
<< ees,2 g des' f >> << ees, g des' e >>
 }

\score
 {
<<
\new Staff = "Guitar" { \Guitar }
>>

\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 
275 4) } }

\layout { }
 }

I've attached the pdf of that specific part.  Notice how the stems in 
the fourth measure are disconnected and opposite.  Anyone know why this 
is happening, and how I can fix it?





LatinPercussion2.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user