Re: R\fermata: How to build a markup in C++?

2019-04-20 Thread Malte Meyn
Am 19.04.19 um 19:50 schrieb Dan Eble: On Apr 16, 2019, at 06:58, Malte Meyn wrote: In all these cases \fermata behaves the same as \fermataMarkup, because both simply create a MultiMeasureRestText. It’s placed on the first measure of expanded MMRs Is that the most reasonable result or

Re: R\fermata: How to build a markup in C++?

2019-04-19 Thread Dan Eble
On Apr 16, 2019, at 06:58, Malte Meyn wrote: > > In all these cases \fermata behaves the same as \fermataMarkup, because both > simply create a MultiMeasureRestText. It’s placed on the first measure of > expanded MMRs Is that the most reasonable result or should it be treated as a known issue

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Malte Meyn
Am 16.04.19 um 14:50 schrieb Malte Meyn: Am 16.04.19 um 13:38 schrieb Neil Puttock: Yeah.  You should be able to check for an articulation-event and extract the type to build the markup. Yes. The only thing that I’m not sure is how to get hold of the context that has the scriptDefinitions

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Malte Meyn
Am 16.04.19 um 13:38 schrieb Neil Puttock: Yeah. You should be able to check for an articulation-event and extract the type to build the markup. Yes. The only thing that I’m not sure is how to get hold of the context that has the scriptDefinitions property. My current approach just uses de

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Neil Puttock
On Tue, 16 Apr 2019 at 12:30, Malte Meyn wrote: > Thanks for the hint! I had already seen that (only then I realised that > \fermata already creates a MultiMeasureTextEvent and > MultiMeasureRestText grob that just has an 'articulation-type instead of > 'text property). But your hint made me look

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Malte Meyn
Am 16.04.19 um 13:21 schrieb Neil Puttock: Hi Malte, On Mon, 15 Apr 2019 at 10:55, Malte Meyn wrote: Are there any other ideas how the R\fermata thing could be done? Check out scm/lily-syntax-constructors.scm, where there's a constructor for MM rests: http://git.savannah.gnu.org/gitweb/?

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Neil Puttock
Hi Malte, On Mon, 15 Apr 2019 at 10:55, Malte Meyn wrote: > Are there any other ideas how the R\fermata thing could be done? Check out scm/lily-syntax-constructors.scm, where there's a constructor for MM rests: http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=scm/ly-syntax-construct

Re: R\fermata: How to build a markup in C++?

2019-04-16 Thread Malte Meyn
Am 16.04.19 um 00:24 schrieb Dan Eble: On Apr 15, 2019, at 05:55, Malte Meyn wrote: Attached you can find what I’ve tried as a patch file, below some LilyPond code for testing. It would be valuable to consider more cases. * multi-measure rests that actually span multiple measures, e.g

Re: R\fermata: How to build a markup in C++?

2019-04-15 Thread Dan Eble
On Apr 15, 2019, at 05:55, Malte Meyn wrote: > > > Attached you can find what I’ve tried as a patch file, below some LilyPond > code for testing. It would be valuable to consider more cases. * multi-measure rests that actually span multiple measures, e.g. R1*8\fermata * expanded vs. not ex

R\fermata: How to build a markup in C++?

2019-04-15 Thread Malte Meyn
Hi list, I’m trying to get R\fermata to work as expected by new users. I thought that it would be easier to make a MultiMeasureRestText with a markup containing the fermata glyph instead of having something like MultiMeasureRestScript. For that I have to build such a markup. Currently, I’m ab

R\fermata: How to build a markup in C++?

2019-04-15 Thread Malte Meyn
Hi list, I’m trying to get R\fermata to work as expected by new users. I thought that it would be easier to make a MultiMeasureRestText with a markup containing the fermata glyph instead of having something like MultiMeasureRestScript. For that I have to build such a markup. Currently, I’m ab