lilypond-user
[Top][All Lists]
Advanced

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

Creating charts, not scores: horizontally lining up


From: ivan . k . kuznetsov
Subject: Creating charts, not scores: horizontally lining up
Date: Sun, 11 Nov 2012 14:52:00 -0600
User-agent: Heirloom mailx 12.5 7/5/10

I need to make a number of charts that demonstrate various kinds of
non-traditional scales.  Appended is a lilypond example towards
something I would like to do.   The first issue I would
like to deal with is as follows:


I need the rests and notes to line up precisely.  D natural on
the lower stave needs to fall exactly below D natural on the upper
stave.

Likewise, an eighth rest in front of a Csharp on the lower
stave needs to fall exactly below a a C natural on the upper stave.

---

Once this is solved, I would like to replace the
eighth rests with eight "spaces" (I know, use s8 instead of r8)
and then make the stems disappear.


Any pointers would be appreciated.  Thank you.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\version "2.16.0"
\include "english.ly"


#(set-default-paper-size "letter" 'landscape)
#(set-global-staff-size 18)


\bookpart { % BOOKPART BEGIN

\score {

  \new Staff
  {
    \clef "bass"
    \time 3/4
    e,8 r8 r8 g,8 gs,8 r8 as,8 b,8 r8 cs8 r8 ds8 r8 r8 fs8 g8 r8 a8 as8 r8
    \clef "treble"
    c'8 r8 d'8 r8 r8 f'8 fs'8 r8 gs'8 a'8 r8 b'8 r8 cs''8 r8 r8 e''8 f''8 r8 
g''8 gs''8 r8 as''8 r8 c'''8 r8 r8 ds'''8 e'''8 r8 fs'''8 g'''8 r8 a'''8 r8 
b'''8

  }
  \layout {

    \context {
       \Score
       \override SpacingSpanner
       #'base-shortest-duration = #(ly:make-moment 1 8)
       \override TimeSignature #'transparent = ##t 
    }
  }
}


\score {

  \new Staff
  {
  
     \clef "bass"
     \time 3/4
     e,8 r8 r8 g,8 r8 a,8 r8 b,8 c8 r8 d8 ds8 r8 r8 fs8 r8 gs8 r8 as8 b8
     \clef "treble"
     r8 cs'8 d'8 r8 r8 f'8 r8 g'8 r8 a'8 as'8 r8 c''8 cs''8 r8 r8 e''8 r8 fs''8 
r8 gs''8 a''8 r8 b''8 c'''8 r8 r8 ds'''8 r8 f'''8 r8 g'''8 gs'''8 r8 as'''8 
b'''8
 

  }
  \layout {

    \context {
       \Score
       \override SpacingSpanner
       #'base-shortest-duration = #(ly:make-moment 1 8)
       \override TimeSignature #'transparent = ##t 
    }
  }
}

} % BOOKPART END





Attachment: test_test_03-simp01.png
Description: PNG image

Attachment: test_test_03-simp01.ly
Description: Text document


reply via email to

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