[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Analysis brackets (with labels) in Denemo
From: |
Lib Lists |
Subject: |
Re: Analysis brackets (with labels) in Denemo |
Date: |
Wed, 20 Oct 2021 19:12:54 +0300 |
Thank you for the quick reply!
I get an error message when I execute your script, but your example
works perfectly, so there's clearly a mistake from my side. I'll test
more and come back if I don't find the (probably quite obvious)
solution.
Cheers,
Lib
On Wed, 20 Oct 2021 at 17:38, Richard Shann <richard@rshann.plus.com> wrote:
>
> On Wed, 2021-10-20 at 16:56 +0300, Lib Lists wrote:
> > Hello,
> > is there a way to insert analysis brackets (with or without labels)
> > in
> > Denemo? If it already exists, I wasn't able to find the command.
>
> Well I see it is documented in LilyPond:
>
> https://lilypond.org/doc/v2.21/Documentation/notation/outside-the-staff#analysis-brackets
>
> So to do this in Denemo you need to insert \startGroup and \stopGroup
> between the relevant notes. You also need to include a special
> engraver, so putting these two together gives two bits of Scheme:
>
> ;start analysis bracket
> (let ((tag "Analysis"))
> (d-DirectivePut-
> standalone-postfix tag "\\startGroup")
> (d-DirectivePut-layout-postfix
> "Analysis" " \\context {\\Voice \\consists
> \"Horizontal_bracket_engraver\" }"))
>
> ;stop analysis bracket
> (let ((tag "Analysis"))
> (d-DirectivePut-standalone-postfix tag "\\stopGroup"))
>
> If you put these one at a time into the Scheme window and create a
> palette button from them then you can insert your analysis brackets
> with those. I've attached an example. Of course, it could be made a bit
> more swish by adding stuff to display more nicely...
>
> If you need help with any of that, please ask.
>
> Richard
- Analysis brackets (with labels) in Denemo, Lib Lists, 2021/10/20
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/20
- Re: Analysis brackets (with labels) in Denemo,
Lib Lists <=
- Message not available
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/20
- Re: Analysis brackets (with labels) in Denemo, Lib Lists, 2021/10/21
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/21
- Re: Analysis brackets (with labels) in Denemo, Lib Lists, 2021/10/21
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/21
- Re: Analysis brackets (with labels) in Denemo, Lib Lists, 2021/10/22
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/22
- Re: Analysis brackets (with labels) in Denemo, Lib Lists, 2021/10/22
- Re: Analysis brackets (with labels) in Denemo, Richard Shann, 2021/10/22