lilypond-user
[Top][All Lists]
Advanced

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

RE: M.M.


From: Palmer, Ralph
Subject: RE: M.M.
Date: Thu, 28 Sep 2006 09:31:34 -0400

Thanks, Mats. I'll give it a try.

I confess that I still don't clearly understand the differences or
ramifications of use between "mark", "markup" and "text markup". Or to
what "RehearsalMark" refers. I would have expected RehearsalMark to
refer to a letter or number, but not something like D.S. al Fine. I need
to go back to the manual.

Ralph

-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden 
Sent: Thursday, September 28, 2006 8:49 AM
To: Palmer, Ralph
Cc: address@hidden
Subject: Re: M.M.

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]