[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    lot of rests
From:       "Stefan Thomas" <kontrapunktstefan () googlemail ! com>
Date:       2008-05-31 17:11:18
Message-ID: 8c1eed9b0805311011o38abb12fh955c5f794a22bccc () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear Rune,
months ago You have been so kind texplain me a very useful scheme-fuction,
which can save a lot of type setting. I used it many times, but now there is
something, I don't understand:
Why does the first  snippet work quite well, and the second not? Off course,
it must have to do with the chords, but is there a possibilitie to do it
with the chords?
In the attachment is the slightly modified scheme-code. I call it "motiv.ly"
now.
%%%%%%%% First EXAMPLE %%%%%%%%%%%
 \include "motiv.ly"
 \motiv #'pausi {c'8 r4 r8 d' r8 d' r e' r4 r8 }
 global = { \time 12/8 }
 rechts = \relative { \global \pausi {c d e } \pausi { d e f }  \pausi { e f
g } }
 links = { \global \clef bass c1. b, c }
 \version "2.11.47"
\score {
\new PianoStaff = "Klavier"
        <<
        \new Staff= "rechts" { \rechts }
           \new Staff = "links" \with {
      \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
    { \links} >>
}

 %%%%%%% second example %%%%%%%%%%%%%%
\include "motiv.ly"
 \motiv #'pausi {<c'8 e g> r4 r8 d' r8 d' r fis' r4 r8 }
 global = { \time 12/8 }
 rechts = \relative { \global \pausi {<c e g> d fis }  }
 links = { \global \clef bass c1. }
 \version "2.11.47"
\score {
\new PianoStaff = "Klavier"
        <<
        \new Staff= "rechts" { \rechts }
           \new Staff = "links" \with {
      \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
    { \links} >>
}
%%%%%% end of second example

[Attachment #5 (text/html)]

Dear Rune,<br>months ago You have been so kind texplain me a very useful \
scheme-fuction, which can save a lot of type setting. I used it many times, but now \
there is something, I don&#39;t understand:<br>Why does the first&nbsp; snippet work \
quite well, and the second not? Off course, it must have to do with the chords, but \
is there a possibilitie to do it with the chords?<br> In the attachment is the \
slightly modified scheme-code. I call it &quot;<a \
href="http://motiv.ly">motiv.ly</a>&quot; now.<br>%%%%%%%% First EXAMPLE \
%%%%%%%%%%%<br>&nbsp;\include &quot;<a href="http://motiv.ly">motiv.ly</a>&quot;<br> \
&nbsp;\motiv #&#39;pausi {c&#39;8 r4 r8 d&#39; r8 d&#39; r e&#39; r4 r8 } \
<br>&nbsp;global = { \time 12/8 }<br>&nbsp;rechts = \relative { \global \pausi {c d e \
} \pausi { d e f }&nbsp; \pausi { e f g } }<br>&nbsp;links = { \global \clef bass c1. \
b, c }<br> &nbsp;\version &quot;2.11.47&quot;<br>\score {<br>\new PianoStaff = \
&quot;Klavier&quot; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;&lt; \
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \new Staff= &quot;rechts&quot; { \rechts \
}<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; \new Staff = \
&quot;links&quot; \with {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \override \
VerticalAxisGroup #&#39;keep-fixed-while-stretching = ##t }<br> &nbsp;&nbsp;&nbsp; { \
\links} &gt;&gt;&nbsp;&nbsp;&nbsp; <br>}<br><br>&nbsp;%%%%%%% second example \
%%%%%%%%%%%%%%<br>\include &quot;<a \
href="http://motiv.ly">motiv.ly</a>&quot;<br>&nbsp;\motiv #&#39;pausi {&lt;c&#39;8 e \
g&gt; r4 r8 d&#39; r8 d&#39; r fis&#39; r4 r8 } <br> &nbsp;global = { \time 12/8 \
}<br>&nbsp;rechts = \relative { \global \pausi {&lt;c e g&gt; d fis }&nbsp; \
}<br>&nbsp;links = { \global \clef bass c1. }<br>&nbsp;\version \
&quot;2.11.47&quot;<br>\score {<br>\new PianoStaff = &quot;Klavier&quot; \
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;&lt; <br> &nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; \new Staff= &quot;rechts&quot; { \rechts }<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; \new Staff = &quot;links&quot; \with \
{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \override VerticalAxisGroup \
#&#39;keep-fixed-while-stretching = ##t }<br>&nbsp;&nbsp;&nbsp; { \links} \
&gt;&gt;&nbsp;&nbsp;&nbsp; <br>}<br> %%%%%% end of second example <br>


["motiv.ly" (application/octet-stream)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic