automatic metronome mark parentheses

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

automatic metronome mark parentheses

Jacques Menu Muzhic
Hello folks,

The LPNR states that:

        Combining a metronome mark and text will automatically place the metronome mark within parentheses

Is there a way to remove those parentheses explicitly?

Thanks for your help!

JM


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: automatic metronome mark parentheses

SoundsFromSound
On 10/30/2018 8:21 AM, Jacques Menu wrote:
Hello folks,

The LPNR states that:

	Combining a metronome mark and text will automatically place the metronome mark within parentheses

Is there a way to remove those parentheses explicitly?

Thanks for your help!

JM


Hello,

You can approach this a few ways (see here http://lilypond.1069038.n5.nabble.com/tempo-how-to-remove-parentheses-around-metronome-marks-td170530.html)

{
  \tempo \markup {
    \concat {
      "Moderato "
      \smaller \general-align #Y #DOWN \note #"4" #1
      " = "
      \smaller \general-align #Y #DOWN #"112" 
      
    }
  }
  c'1 c'1 c'1
}


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

#(define-markup-command (mm layout props notetype beats) (string? string?)
  (interpret-markup layout props
   (markup
    #:tiny "("
    #:teeny #:raise 0.4 (#:note notetype 1)
    #:tiny "="
    #:tiny beats
    #:tiny ")"
  )))

#(define-markup-command (MM layout props notetype beats) (string? string?)
  (interpret-markup layout props
   (markup
    #:tiny #:raise 0.4 (#:note notetype 1)
    #:tiny "="
    #:tiny beats
  )))


\tempo \markup\bold{ Moderato, \MM #"4" #"112" }  %no parens

\tempo \markup\bold{ Moderato, \mm #"4" #"112" }  %with parens

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
composer | sound designer | asmr artist
Reply | Threaded
Open this post in threaded view
|

Re: automatic metronome mark parentheses

Jacques Menu Muzhic
Thanks a lot, Ben!

JM

Le 30 oct. 2018 à 13:25, Ben <[hidden email]> a écrit :

On 10/30/2018 8:21 AM, Jacques Menu wrote:
Hello folks,

The LPNR states that:

	Combining a metronome mark and text will automatically place the metronome mark within parentheses

Is there a way to remove those parentheses explicitly?

Thanks for your help!

JM


Hello,

You can approach this a few ways (see here http://lilypond.1069038.n5.nabble.com/tempo-how-to-remove-parentheses-around-metronome-marks-td170530.html)

{
  \tempo \markup {
    \concat {
      "Moderato "
      \smaller \general-align #Y #DOWN \note #"4" #1
      " = "
      \smaller \general-align #Y #DOWN #"112" 
      
    }
  }
  c'1 c'1 c'1
}


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

#(define-markup-command (mm layout props notetype beats) (string? string?)
  (interpret-markup layout props
   (markup
    #:tiny "("
    #:teeny #:raise 0.4 (#:note notetype 1)
    #:tiny "="
    #:tiny beats
    #:tiny ")"
  )))

#(define-markup-command (MM layout props notetype beats) (string? string?)
  (interpret-markup layout props
   (markup
    #:tiny #:raise 0.4 (#:note notetype 1)
    #:tiny "="
    #:tiny beats
  )))


\tempo \markup\bold{ Moderato, \MM #"4" #"112" }  %no parens

\tempo \markup\bold{ Moderato, \mm #"4" #"112" }  %with parens
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user