lilypond-user
[Top][All Lists]
Advanced

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

Re: two questions


From: Mats Bengtsson
Subject: Re: two questions
Date: Fri, 15 Oct 2004 15:23:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

For some reason, LilyPond creates new contexts for each of the
blocks. Just add a "\new Voice" or "\new Staff" to get wbat you want:
\score{
\new Voice {
  \foo
  \bar
  ...
}

By the way, \bar is already occupied as a command, so you have to
rename that variable to something else.

   /Mats


Ralph Little wrote:
Hi,
Sorry if this has already been answered, but SPAM makes my spam filter
kill every other digest or so... :(

I tried to answer your first question with the following solution, which
is to use \relative in your notes blocks, which should fixed the octaves
of you notes at source.
However, it doesn't work as I expected! It renders each part on separate
staff contexts!!?!?

Anybody know why?

------------------8<------------------8<---
foo = \notes \relative c''
{
    c4 d e f g a b c r4
}

bar = \notes \relative c''
{
    e4 b c d a g
}


\score {\notes {
    \foo
    \bar
    \foo
    \bar
    \foo
    \bar
}
------------------8<------------------8<---

I tried this on 2.2.6.

Regards,
Ralph


--------------------------------------
address@hidden
www.tribaldata.co.uk
...or see what I do in my spare time:
www.skelmanthorpeband.org
--------------------------------------

"Man who shoot off mouth... expect to lose face."
---------
Tribal Data Solutions has moved, please visit our website for more details http://www.tribaldata.co.uk. This e-mail and any attachments are confidential and are sent on the basis of our copyright, e-mail and security policy which can be inspected by visiting http://www.tribaldata.co.uk/policies.asp.
If you are not the intended recipient, please notify the sender and delete this 
message. Thank you.
-----------



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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