lilypond-user
[Top][All Lists]
Advanced

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

Re: a metronome mark question


From: Dave Phillips
Subject: Re: a metronome mark question
Date: Thu, 27 Jul 2006 13:37:31 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060209 Red Hat/1.7.12-0.90.2.legacy

Hi Markus:

so I used Kieren's example as a starting point...

I put my result in the LSR (Rhythm marks / play style indication):
http://lsr.dsi.unimi.it/LSR/Item?id=204

Have fun!

Very cool, thank you. :)

After looking at Kieren's example I cobbled together the following solution. It's quite inelegant, but it at least demonstrates that, as Paul Scott said, all the pieces are there.

Best regards,

Dave Phillips


% metmark.ly
% simple example of
% swing rhythm equivalency

\version "2.8.4"

\layout
{
   ragged-right = ##t
}

metMarkTriplet = \mark \markup
{
   \line \right-align
   {
       ""
       \hspace #0.5
       \score
       {
           \relative { \voiceOne \times 2/3 { b'4 b8 } }
           \layout
           {
               line-width = 0.4\in
               indent = 0
               \context
               {
                   \Staff
                   \remove "Clef_engraver"
                   \remove "Time_signature_engraver"
                   \remove "Staff_symbol_engraver"
}
           }
       }
   }
}

metMarkEighth = \mark \markup
{
   \line \left-align
   {
       ""
       \hspace #0.5
       \score
       {
           \relative { \voiceOne { b'8[ b8] } }
           \layout
           {
               line-width = 0.4\in
               indent = 0
               \context
               {
                   \Staff
                   \remove "Clef_engraver"
                   \remove "Time_signature_engraver"
                   \remove "Staff_symbol_engraver"
}
           }
       }
   }
}

metMarkEqual = \mark \markup { "=" }

Flute = {
   \metMarkEighth s4
   \once \override Score.RehearsalMark #'Y-offset = #2.5
   \metMarkEqual s4
   \metMarkTriplet s2
}

\score {
 \new Staff << \Flute >>
 \layout { }
}




reply via email to

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