lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: midi to ly conversion


From: Han-Wen Nienhuys
Subject: Re: midi to ly conversion
Date: Thu, 20 Sep 2001 17:12:25 +0200

address@hidden writes:
> > It seems to work relatively good. It output stem directions even though
> > I told it not to (easy to remove).
> 
> ... this is a misunderstanding! The checkbox is named
> "keep stem dir.", not "omit stem statements"! It is no
> good idea to omit all stem statements in LilyPond.
> This can produce a chaos.
> 
> For example: Try to delete the "\stemUp" in the following
> example and see what happens...
> 
>       \include "paper20.ly"
>       \score {
>               \notes\relative c' {
>                       \clef violin
>                       \stemUp < e2 d' > r

this is a problem that happens when you start a score with a
chord. Basically, LilyPond initially doesn't distinguish between

       < ..staff 1..
         ..staff 2.. >

       < ..voice 1..
         ..voice 2.. >

       < ..chordnote 1..
         ..chordnote 2.. >


\clef (which does \property Staff.something ), casues the first option
to go away. \stemUp does \property Voice.something, causing the 2nd
option to be invalidated as well. This is also explained in the user
manual somewhere. 

You  should add an explicit context, i.e.

        \notes\relative c' \context Voice {
                        \clef violin
                        \stemUp < e2 d' > r

(unless you're entering two voices of a polyphonic part, of course)

-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]