Attached a little more verbose suggestion. The method I suggested on Rietveld 
is more elaborated.
Though, some of it is a hack or at least bad coding. It's a proof of concept, 
nothing more
Also it includes a possibility to print 
(𝅘𝅥 =𝅘𝅥 ) etc
But it's a really bad interface, I can't recommend to put it in.
Probably better to give \tempo additional (optional) arguments if possible. Or 
to go for a completely different method.


Attachments:

- 
[metronome-mark-suggestion-01.ly](https://sourceforge.net/p/testlilyissues/issues/_discuss/thread/a8839387/e472/attachment/metronome-mark-suggestion-01.ly)
 (7.2 kB; text/x-lilypond)


---

** [issues:#5215] make metronomeMarkFormatter more flexible**

**Status:** Started
**Created:** Tue Oct 10, 2017 12:46 PM UTC by Malte Meyn
**Last Updated:** Sat Oct 14, 2017 10:53 AM UTC
**Owner:** Malte Meyn
**Attachments:**

- 
[Image1.png](https://sourceforge.net/p/testlilyissues/issues/5215/attachment/Image1.png)
 (26.5 kB; image/png)
- 
[Image2.png](https://sourceforge.net/p/testlilyissues/issues/5215/attachment/Image2.png)
 (35.1 kB; image/png)


make metronomeMarkFormatter more flexible

This adds the context properties tempoEquationText, tempoBetweenText and
tempoShowParentheses as shown in http://lsr.di.unimi.it/LSR/Item?id=1008

It also allows to scale the size of the notes in a metronome mark
independently from or rather relatively to the text and numbers.
I added this possibility because http://lsr.di.unimi.it/LSR/Item?id=1008
suggests smaller note sizes; so there seems to be a need for that.

The default values are chosen so that the whole thing is backwards
compatible; to achieve this, tempoShowParentheses accepts not only
boolean values but also the symbol 'if-text.

I chose the name tempoShowParentheses instead of tempoHideParentheses
because this property also allows parenthesizing text-less
MetronomeMarks.

Contains regtests.

http://codereview.appspot.com/327620043


---

Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to