Re: Analysis brackets (with labels) in Denemo

2021-10-20 Thread Richard Shann
On Wed, 2021-10-20 at 19:12 +0300, Lib Lists wrote:
> Thank you for the quick reply!
> I get an error message when I execute your script,

The problem is that the email has added a line-feed at the hyphen

(d-DirectivePut-
standalone-postfix tag "\\startGroup")

should not split d-DirectivePut-standalone-postfix
up into two words. I told my email client to keep the formatting, but
on receipt it had been split up. I should use attachments...

Richard


>  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 
> 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-s
> > taff#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



Re: Analysis brackets (with labels) in Denemo

2021-10-20 Thread Lib Lists
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  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



[bug #61360] Want an easy way to get transposed playback

2021-10-20 Thread Dominic Shann
URL:
  

 Summary: Want an easy way to get transposed playback 
 Project: Denemo
Submitted by: dom
Submitted on: Wed 20 Oct 2021 03:53:21 PM UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Would be nice to have a button in playback control to transpose playback.




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




Re: Analysis brackets (with labels) in Denemo

2021-10-20 Thread Richard Shann
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

AnalysisBrackets.denemo
Description: application/wine-extension-denemo


Analysis brackets (with labels) in Denemo

2021-10-20 Thread Lib Lists
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.
Cheers,
Lib



[bug #61357] Remove playback markers request

2021-10-20 Thread Richard Shann
Update of bug #61357 (project denemo):

  Status:   Need Info => Fixed  
 Open/Closed:Open => Closed 

___

Follow-up Comment #4:

So this is fixed now.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #61359] Playback markers not display incorrectly with multi-measure rests

2021-10-20 Thread Richard Shann
Update of bug #61359 (project denemo):

  Status:None => Postponed  

___

Follow-up Comment #1:

This is because the topmost staff is being used to draw the markers and in
this case there are only multi-measure rest objects there in the first five
bars. A worse case is if you create a click staff at the top - this is hidden
when the cursor isn't on it, and when hidden the start/end markers are not
shown.
This does provide a workaround - create a click staff and whenever you want to
set/see the start/end markers set them on a click in the click staff (you
would mute the staff for playback of course).

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #61359] Playback markers not display incorrectly with multi-measure rests

2021-10-20 Thread Dominic Shann
URL:
  

 Summary: Playback markers not display incorrectly with
multi-measure rests
 Project: Denemo
Submitted by: dom
Submitted on: Wed 20 Oct 2021 12:06:52 PM UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

In attached file, when I click on any of the first four bars and try to set
the green start marker, the start marker is set at bar 5, though it does play
from the bar I clicked on.



___

File Attachments:


---
Date: Wed 20 Oct 2021 12:06:52 PM UTC  Name: Gibbons@No.@1a.denemo  Size:
306KiB   By: dom



___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #61357] Remove playback markers request

2021-10-20 Thread Richard Shann
Follow-up Comment #3, bug #61357 (project denemo):

Hmm, no I was forgetting, I think Reset doesn't do anything on Windows because
it crashes (sometimes?) when trying to re-start the audio, however it could do
the re-set of the markers on Windows even if it doesn't do it at the momemnt.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #61357] Remove playback markers request

2021-10-20 Thread Richard Shann
Update of bug #61357 (project denemo):

  Status:None => Need Info  

___

Follow-up Comment #1:

Perhaps it would be good if the markers were omitted when they are at the
default position, ie at the start/end. The idea being you can assume it will
play everything unless indicated otherwise.
(You can reset to start/end by hitting Reset)

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #61357] Remove playback markers request

2021-10-20 Thread Dominic Shann
URL:
  

 Summary: Remove playback markers request
 Project: Denemo
Submitted by: dom
Submitted on: Wed 20 Oct 2021 09:14:17 AM UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Would be nice if there was a button to remove the playback markers in playback
control, rather than having to reload the score.




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/