lilypond-user
[Top][All Lists]
Advanced

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

Re: M.M.


From: Mats Bengtsson
Subject: Re: M.M.
Date: Thu, 28 Sep 2006 14:49:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.0.5-0.1.el4 SeaMonkey/1.0.5

You could always typeset the metronome mark manually using
text markup (see the sections on Text Markup and Overview of Markup
Commands in the manual).

Since the function that draws the default layout is implemented in the
Scheme programming language, it's actually also fairly simple to
modify it in your own .ly file, just include something like

#(define-public (my-format-metronome-markup dur count context)
 (let* ((note-mark (make-smaller-markup
                    (make-note-by-number-markup (ly:duration-log dur)
                                                (ly:duration-dot-count dur)
                                                1))))
   (make-line-markup
    (list
     (make-general-align-markup Y DOWN note-mark)
     (make-simple-markup  "=")
     (make-simple-markup (number->string count))))))

\layout{
 \context {
   \Score
   metronomeMarkFormatter = #my-format-metronome-markup
 }
}

at the top of your file and replace the "=" with whatever symbol or
text you wish (if you want a real approximation sign, you may have to
look it up using some character map program and paste it into the file.
In that case, don't forget to save the file in UTF8 format).

  /Mats

Palmer, Ralph wrote:
Greetings -

Is there any simple way to indicate "approximate" with the M.M. (Maelzel
or metronome Mark)? For example, using a tilde (~) instead of an equal
sign (=), or inserting "c." (circa) before the per-minute number?

Thanks for your help, and for all your work on LilyPond. I'm starting to
get the hang of some of it, now. However, I still have not tried to
combine instruments into full scores or to do a piano score.

Ralph
+++++++++++++++++++++++++
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
address@hidden



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





reply via email to

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