Re: parenthesis around dot only (note value indication)

2024-04-30 Thread Pierre Perol-Schneider
Hi Dirck,
See Harm's :
https://lists.gnu.org/archive/html/lilypond-user/2017-05/msg00371.html
E.g.:

\version "2.24.3"

#(define (parenthesize-dot parentheses-item)
  (let* ((dot (ly:grob-object (ly:grob-parent parentheses-item Y) 'dot)))
(if (not (null? dot))
(begin
  (set! (ly:grob-object parentheses-item 'elements) '())
  (ly:grob-set-property! parentheses-item 'padding 0)
  (ly:pointer-group-interface::add-grob parentheses-item 'elements
dot)
  (ly:stencil-translate-axis
(parentheses-interface::print parentheses-item) 0 X))
(parentheses-interface::print parentheses-item

parenthesizeDot =
  \tweak Parentheses.stencil #(lambda (grob) (parenthesize-dot grob))
  \parenthesize \etc

{
\stemDown 4.
}

HTH, cheers,
Pierre

Le mer. 1 mai 2024 à 06:32, Dirck Nagy  a écrit :

> Hi all
>
> I know this is highly unusual, but is there a way to add parentheses
> around the DOT ONLY after the notehead?
>
> see following image:
>
> FYI, I have a piece with sequences of octaves.  Every instance has a note
> value of a dotted quarter-note.
>
> There is, however, one (only one!)  instance where the upper note cannot
> be held the full value, because it would be physically impossible to play.
>  I want to avoid splitting this into separate voices because it would
> clutter up the measure, (would require 4 separate voices on one staff)  and
> make reading more cumbersome.
>
> thanks!
>
> dirck
>


parenthesis around dot only (note value indication)

2024-04-30 Thread Dirck Nagy
Hi all

I know this is highly unusual, but is there a way to add parentheses around the 
DOT ONLY after the notehead?

see following image:

[cid:85851784-8a26-48b0-b2b4-b9a8e03b517c]
FYI, I have a piece with sequences of octaves.  Every instance has a note value 
of a dotted quarter-note.

There is, however, one (only one!)  instance where the upper note cannot be 
held the full value, because it would be physically impossible to play.   I 
want to avoid splitting this into separate voices because it would clutter up 
the measure, (would require 4 separate voices on one staff)  and make reading 
more cumbersome.

thanks!

dirck


Re: Issue with durations and roman numeral analysis tool

2024-04-30 Thread jnsrednicki
David and Aaron:
Thank you for your prompt response and for resolving the issue.
Joe Srednicki


Sent from the all new AOL app for iOS


On Tuesday, April 30, 2024, 8:12 PM, David Nalesnik  
wrote:

Hi Joe,
On Tue, Apr 30, 2024 at 6:55 PM Joseph Srednicki  
wrote:


Based on the input, I expect the vi 6 4 to appear beneath the final sixteenth 
note of the second beat of the measure. However, the vi 6 4 appears under the 
first note of the third beat in the measure.
Can anyone please help detect the error that I am making? 

By using \lyricsto, you override the specified durations.  See the change I 
made inline below: 


\version "2.24.0"\language "english"% Change the following line to the path of 
the roman numeral analysis tool on your computer\include 
"C:/docs/frescobaldi/roman_num/roman_numeral_analysis_tool.ily"
global = {  \key ef \major  \time 3/4}
right = \relative c'' {  \global   r4 r2}
leftOne = \relative c'' {  \global \clef treble  r4 g8. af16 f8.\prall e32 f  }
leftTwo = \relative c' {  \global  r4 bf8. c16 af8._\prall g32 af | % 1}
pedal = \relative c {  \global  \clef bass  ef,4 ef' bf | % 1}
analysis = \lyricmode {  \override LyricText.self-alignment-X = #-0.6  \offset 
StanzaNumber.X-offset #-3  \set stanza  = \markup{E \flat:}  \skip 4 \markup 
\rN { I }8. \markup \rN { vi 6 4 }16 % 1}
\score {  <<    \new PianoStaff <<      \new Staff = "right" \right      \new 
Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }    >>    \context 
Staff = "pedal"    <<      \context Voice = pedal { << \pedal >> }    %%  \new 
Lyrics \with {     %% } \lyricsto "pedal" { \analysis }
      \new Lyrics \analysis 
    >>  >>}






Re: Transparent box around notes

2024-04-30 Thread Aaron Hill

On 2024-04-30 5:30 pm, David Nalesnik wrote:
 What LilyPond version is the LSR currently running?  (I'm wondering if 
you

are able to use the revised add-grob-definition there.)



This is documented on the Contributing page [1].

[1]: https://lsr.di.unimi.it/LSR/html/contributing.html

LSR appears to be running 2.24.x at the moment.


-- Aaron Hill



Re: Transparent box around notes

2024-04-30 Thread David Nalesnik
Hi Paolo,

On Tue, Apr 30, 2024 at 4:09 PM Paolo Prete  wrote:

> Ta
>
> On Tue, Apr 30, 2024 at 8:04 PM K. Blum  wrote:
>
>> Hi Paolo, hi everyone,
>>
>> > Yeah, it works if I just replace add-grob-definition with:
>> >
>> > #(define (add-grob-definition grob-name grob-entry)
>> >(set! all-grob-descriptions
>> >  (cons ((@@ (lily) completize-grob-entry)
>> > (cons grob-name grob-entry))
>> >all-grob-descriptions)))
>> >
>> > That said, the snippet is _very_ useful, and certainly much easier to
>> > use than the lsr snippet. I strongly encourage the community to add it
>> > to the repository, because the trial and error method is inaccurate
>> > and time consuming.
>> > That said, is there an easy way to adapt it so that it draws a colored
>> > box (with transparency) instead of a rectangle with segments?
>>
>> if you read the further replies to the thread
>> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html
>> you will find that there was an attempt to combine David Nalesnik's
>> engraver with the colored boxes from snippet 1000:
>> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html
>>
>> I've applied your version of add-grob-definition from above to the
>> latest working state of our attempts and came up with boxer3b.ly, see
>> attached.
>>
>
> This is really great, thanks, I'm going to use it intensively!
> fortunately you read and responded to my message, otherwise this feature
> would have been swallowed up and obscured in the confusion of the mailing
> list archive (and I would have wasted days reinventing the wheel).
> After I've done more testing I'll post a new message proposing to remove
> the current snippet from the LSR and replace it with yours and David's
> implementation.
>

 What LilyPond version is the LSR currently running?  (I'm wondering if you
are able to use the revised add-grob-definition there.)

-David


Re: Issue with durations and roman numeral analysis tool

2024-04-30 Thread David Nalesnik
Hi Joe,

On Tue, Apr 30, 2024 at 6:55 PM Joseph Srednicki 
wrote:

>
> Based on the input, I expect the vi 6 4 to appear beneath the final
> sixteenth note of the second beat of the measure. However, the vi 6 4
> appears under the first note of the third beat in the measure.
>
> Can anyone please help detect the error that I am making?
>

By using \lyricsto, you override the specified durations.  See the change I
made inline below:


> \version "2.24.0"
> \language "english"
> % Change the following line to the path of the roman numeral analysis tool
> on your computer
> \include "C:/docs/frescobaldi/roman_num/roman_numeral_analysis_tool.ily"
>
> global = {
>   \key ef \major
>   \time 3/4
> }
>
> right = \relative c'' {
>   \global
>r4 r2
> }
>
> leftOne = \relative c'' {
>   \global \clef treble
>   r4 g8. af16 f8.\prall e32 f
> }
>
> leftTwo = \relative c' {
>   \global
>   r4 bf8. c16 af8._\prall g32 af | % 1
> }
>
> pedal = \relative c {
>   \global
>   \clef bass
>   ef,4 ef' bf | % 1
> }
>
> analysis = \lyricmode {
>   \override LyricText.self-alignment-X = #-0.6
>   \offset StanzaNumber.X-offset #-3
>   \set stanza  = \markup{E \flat:}
>   \skip 4 \markup \rN { I }8. \markup \rN { vi 6 4 }16 % 1
> }
>
> \score {
>   <<
> \new PianoStaff <<
>   \new Staff = "right" \right
>   \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
> >>
> \context Staff = "pedal"
> <<
>   \context Voice = pedal { << \pedal >> }
> %%  \new Lyrics \with {
>  %% } \lyricsto "pedal" { \analysis }
>
  \new Lyrics \analysis

> >>
>   >>
> }
>
>


Re: Issue with durations and roman numeral analysis tool

2024-04-30 Thread Aaron Hill

On 2024-04-30 4:54 pm, Joseph Srednicki wrote:

Hello:
I am having difficulty with durations and the roman numeral analysis 
tool roman_numeral_analysis_tool.ily, which I downloaded from GitHub - 
lyp-packages/roman-numerals: LilyPond typesetter for Roman numeral 
harmonic analysis

See the tiny example below.
In this example, I have used beat durations in the analysis section of 
the source code. 
Based on the input, I expect the vi 6 4 to appear beneath the final 
sixteenth note of the second beat of the measure. However, the vi 6 4 
appears under the first note of the third beat in the measure.

Can anyone please help detect the error that I am making?
Thanks for your help.
Joe Srednicki
-
\version "2.24.0"\language "english"% Change the following line to the 
path of the roman numeral analysis tool on your computer\include 
"C:/docs/frescobaldi/roman_num/roman_numeral_analysis_tool.ily"

global = {  \key ef \major  \time 3/4}
right = \relative c'' {  \global   r4 r2}
leftOne = \relative c'' {  \global \clef treble  r4 g8. af16 f8.\prall 
e32 f  }
leftTwo = \relative c' {  \global  r4 bf8. c16 af8._\prall g32 af | % 
1}

pedal = \relative c {  \global  \clef bass  ef,4 ef' bf | % 1}
analysis = \lyricmode {  \override LyricText.self-alignment-X = #-0.6  
\offset StanzaNumber.X-offset #-3  \set stanza  = \markup{E \flat:}  
\skip 4 \markup \rN { I }8. \markup \rN { vi 6 4 }16 % 1}
\score {  <<    \new PianoStaff <<      \new Staff = "right" \right    
  \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }    >>  
  \context Staff = "pedal"    <<      \context Voice = pedal { << 
\pedal >> }      \new Lyrics \with {      } \lyricsto "pedal" { 
\analysis }    >>  >>}



It appears you are using \lyricsto which ignores the durations specified 
and instead associates each syllable with a note in the named voice.  
You should just reference the lyrics variable directly:  \new Lyrics { 
\analysis }



-- Aaron Hill



Issue with durations and roman numeral analysis tool

2024-04-30 Thread Joseph Srednicki
Hello:
I am having difficulty with durations and the roman numeral analysis tool 
roman_numeral_analysis_tool.ily, which I downloaded from GitHub - 
lyp-packages/roman-numerals: LilyPond typesetter for Roman numeral harmonic 
analysis
See the tiny example below.
In this example, I have used beat durations in the analysis section of the 
source code. 
Based on the input, I expect the vi 6 4 to appear beneath the final sixteenth 
note of the second beat of the measure. However, the vi 6 4 appears under the 
first note of the third beat in the measure.
Can anyone please help detect the error that I am making?
Thanks for your help.
Joe Srednicki
-
\version "2.24.0"\language "english"% Change the following line to the path of 
the roman numeral analysis tool on your computer\include 
"C:/docs/frescobaldi/roman_num/roman_numeral_analysis_tool.ily"
global = {  \key ef \major  \time 3/4}
right = \relative c'' {  \global   r4 r2}
leftOne = \relative c'' {  \global \clef treble  r4 g8. af16 f8.\prall e32 f  }
leftTwo = \relative c' {  \global  r4 bf8. c16 af8._\prall g32 af | % 1}
pedal = \relative c {  \global  \clef bass  ef,4 ef' bf | % 1}
analysis = \lyricmode {  \override LyricText.self-alignment-X = #-0.6  \offset 
StanzaNumber.X-offset #-3  \set stanza  = \markup{E \flat:}  \skip 4 \markup 
\rN { I }8. \markup \rN { vi 6 4 }16 % 1}
\score {  <<    \new PianoStaff <<      \new Staff = "right" \right      \new 
Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }    >>    \context 
Staff = "pedal"    <<      \context Voice = pedal { << \pedal >> }      \new 
Lyrics \with {      } \lyricsto "pedal" { \analysis }    >>  >>}




Re: Transparent box around notes

2024-04-30 Thread Paolo Prete
Ta

On Tue, Apr 30, 2024 at 8:04 PM K. Blum  wrote:

> Hi Paolo, hi everyone,
>
> > Yeah, it works if I just replace add-grob-definition with:
> >
> > #(define (add-grob-definition grob-name grob-entry)
> >(set! all-grob-descriptions
> >  (cons ((@@ (lily) completize-grob-entry)
> > (cons grob-name grob-entry))
> >all-grob-descriptions)))
> >
> > That said, the snippet is _very_ useful, and certainly much easier to
> > use than the lsr snippet. I strongly encourage the community to add it
> > to the repository, because the trial and error method is inaccurate
> > and time consuming.
> > That said, is there an easy way to adapt it so that it draws a colored
> > box (with transparency) instead of a rectangle with segments?
>
> if you read the further replies to the thread
> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html
> you will find that there was an attempt to combine David Nalesnik's
> engraver with the colored boxes from snippet 1000:
> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html
>
> I've applied your version of add-grob-definition from above to the
> latest working state of our attempts and came up with boxer3b.ly, see
> attached.
>

This is really great, thanks, I'm going to use it intensively!
fortunately you read and responded to my message, otherwise this feature
would have been swallowed up and obscured in the confusion of the mailing
list archive (and I would have wasted days reinventing the wheel).
After I've done more testing I'll post a new message proposing to remove
the current snippet from the LSR and replace it with yours and David's
implementation.

Cheers,
Paoo



>
> Hope to help,
> Klaus
>
>


RE: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Mark Stephen Mrotek
Paolo,

 

Thank you.

 

Mark

 

From: Paolo Prete  
Sent: Tuesday, April 30, 2024 1:08 PM
To: Mark Stephen Mrotek ; lilypond-user 

Subject: Re: Fw: Frescobaldi ... panic alternatives?

 

You'll find all you need at the main page:

 

https://github.com/paopre/Spontini

 

Cheers

 

On Tue, Apr 30, 2024 at 10:04 PM Mark Stephen Mrotek mailto:carsonm...@ca.rr.com> > wrote:

Paolo,

 

Installation instructions?
Learning/notation manual?

I want to try it.

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
  mailto:ca.rr@gnu.org> > On Behalf Of Paolo Prete
Sent: Tuesday, April 30, 2024 12:58 PM
To: Dirck Nagy mailto:dn...@uwlax.edu> >; lilypond-user 
mailto:lilypond-user@gnu.org> >
Subject: Re: Fw: Frescobaldi ... panic alternatives?

 

FYI I just made a new release of Spontini editor, with the most recent changes 
(most notably: support for recent Lilypond versions)

As mentioned before, I don't own a  MacOS, but the HUGE implemented CI/CD 
should avoid bad surprises. When I say "huge", I mean it.

I always hope that someone decides to host the application, so that it provides 
the same service that LilyBin previously offered.

Please note that you don't have to install anything. Nor the editor, nor 
LilyPond, and you can switch between multiple LilyPond versions.

Anyway, I'm currently the only developer and maintainer of the software, and I 
need collaboration (most notably for testing). Without it, I'm forced to mark 
my releases as "alfa"  (but it should work...)

 

https://github.com/paopre/Spontini/releases/tag/1.23_alfa

 

 

On Tue, Apr 30, 2024 at 12:56 PM Paolo Prete mailto:paolopr...@gmail.com> > wrote:

 

 

On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy mailto:dn...@uwlax.edu> > wrote:

Hi all

 

Reading that last thread about Frescobaldi and its possible disappearance from 
Mac is causing me to panic. Jean, I did not realize that you were the last 
person to seriously work on Frescobaldi / Mac.

 

I use Mac exclusively, and Frescobaldi / Lilypond is very important to me. 

 

FYI, what I like the most about Frescobaldi are:

 

*   Templates and wizards
*   Snippets
*   Point and Click selection
*   Syntax highlighting

 

If Frescobaldi for Mac does indeed vanish, what are my alternatives for a 
Lilypond editor?

 

 

Hi,

 

Although https://github.com/paopre/Spontini is focused on _very different_ 
tasks than Frescobaldi, it has the features you just mentioned (they are 
exposed in a somewhat different way, but they should work), including code 
completion

I could not extensively test it in the past months, nor I own a Mac, but thanks 
to CI/CD it should work on newer versions.

I'm planning to make a new release in the next few weeks.

Also, at the moment there are no active contributors for it. Therefore, any 
help is really appreciated...

 

 



Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Paolo Prete
You'll find all you need at the main page:

https://github.com/paopre/Spontini

Cheers

On Tue, Apr 30, 2024 at 10:04 PM Mark Stephen Mrotek 
wrote:

> Paolo,
>
>
>
> Installation instructions?
> Learning/notation manual?
>
> I want to try it.
>
>
>
> Mark
>
>
>
> *From:* lilypond-user-bounces+carsonmark=ca.rr@gnu.org
>  *On Behalf Of *Paolo
> Prete
> *Sent:* Tuesday, April 30, 2024 12:58 PM
> *To:* Dirck Nagy ; lilypond-user 
> *Subject:* Re: Fw: Frescobaldi ... panic alternatives?
>
>
>
> FYI I just made a new release of Spontini editor, with the most recent
> changes (most notably: support for recent Lilypond versions)
>
> As mentioned before, I don't own a  MacOS, but the HUGE implemented CI/CD
> should avoid bad surprises. When I say "huge", I mean it.
>
> I always hope that someone decides to host the application, so that it
> provides the same service that LilyBin previously offered.
>
> Please note that you don't have to install anything. Nor the editor, nor
> LilyPond, and you can switch between multiple LilyPond versions.
>
> Anyway, I'm currently the only developer and maintainer of the software,
> and I need collaboration (most notably for testing). Without it, I'm forced
> to mark my releases as "alfa"  (but it should work...)
>
>
>
> https://github.com/paopre/Spontini/releases/tag/1.23_alfa
>
>
>
>
>
> On Tue, Apr 30, 2024 at 12:56 PM Paolo Prete  wrote:
>
>
>
>
>
> On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy  wrote:
>
> Hi all
>
>
>
> Reading that last thread about Frescobaldi and its possible disappearance
> from Mac is causing me to panic. Jean, I did not realize that you were the
> last person to seriously work on Frescobaldi / Mac.
>
>
>
> I use Mac exclusively, and Frescobaldi / Lilypond is very important to me.
>
>
>
> FYI, what I like the most about Frescobaldi are:
>
>
>
>- Templates and wizards
>- Snippets
>- Point and Click selection
>- Syntax highlighting
>
>
>
> If Frescobaldi for Mac does indeed vanish, what are my alternatives for a
> Lilypond editor?
>
>
>
>
>
> Hi,
>
>
>
> Although https://github.com/paopre/Spontini is focused on _very
> different_ tasks than Frescobaldi, it has the features you just mentioned
> (they are exposed in a somewhat different way, but they should work),
> including code completion
>
> I could not extensively test it in the past months, nor I own a Mac, but
> thanks to CI/CD it should work on newer versions.
>
> I'm planning to make a new release in the next few weeks.
>
> Also, at the moment there are no active contributors for it. Therefore,
> any help is really appreciated...
>
>
>
>
>
>


RE: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Mark Stephen Mrotek
Paolo,

 

Installation instructions?
Learning/notation manual?

I want to try it.

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
 On Behalf Of Paolo Prete
Sent: Tuesday, April 30, 2024 12:58 PM
To: Dirck Nagy ; lilypond-user 
Subject: Re: Fw: Frescobaldi ... panic alternatives?

 

FYI I just made a new release of Spontini editor, with the most recent changes 
(most notably: support for recent Lilypond versions)

As mentioned before, I don't own a  MacOS, but the HUGE implemented CI/CD 
should avoid bad surprises. When I say "huge", I mean it.

I always hope that someone decides to host the application, so that it provides 
the same service that LilyBin previously offered.

Please note that you don't have to install anything. Nor the editor, nor 
LilyPond, and you can switch between multiple LilyPond versions.

Anyway, I'm currently the only developer and maintainer of the software, and I 
need collaboration (most notably for testing). Without it, I'm forced to mark 
my releases as "alfa"  (but it should work...)

 

https://github.com/paopre/Spontini/releases/tag/1.23_alfa

 

 

On Tue, Apr 30, 2024 at 12:56 PM Paolo Prete mailto:paolopr...@gmail.com> > wrote:

 

 

On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy mailto:dn...@uwlax.edu> > wrote:

Hi all

 

Reading that last thread about Frescobaldi and its possible disappearance from 
Mac is causing me to panic. Jean, I did not realize that you were the last 
person to seriously work on Frescobaldi / Mac.

 

I use Mac exclusively, and Frescobaldi / Lilypond is very important to me. 

 

FYI, what I like the most about Frescobaldi are:

 

*   Templates and wizards
*   Snippets
*   Point and Click selection
*   Syntax highlighting

 

If Frescobaldi for Mac does indeed vanish, what are my alternatives for a 
Lilypond editor?

 

 

Hi,

 

Although https://github.com/paopre/Spontini is focused on _very different_ 
tasks than Frescobaldi, it has the features you just mentioned (they are 
exposed in a somewhat different way, but they should work), including code 
completion

I could not extensively test it in the past months, nor I own a Mac, but thanks 
to CI/CD it should work on newer versions.

I'm planning to make a new release in the next few weeks.

Also, at the moment there are no active contributors for it. Therefore, any 
help is really appreciated...

 

 



Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Paolo Prete
FYI I just made a new release of Spontini editor, with the most recent
changes (most notably: support for recent Lilypond versions)
As mentioned before, I don't own a  MacOS, but the HUGE implemented CI/CD
should avoid bad surprises. When I say "huge", I mean it.
I always hope that someone decides to host the application, so that it
provides the same service that LilyBin previously offered.
Please note that you don't have to install anything. Nor the editor, nor
LilyPond, and you can switch between multiple LilyPond versions.
Anyway, I'm currently the only developer and maintainer of the software,
and I need collaboration (most notably for testing). Without it, I'm forced
to mark my releases as "alfa"  (but it should work...)

https://github.com/paopre/Spontini/releases/tag/1.23_alfa


On Tue, Apr 30, 2024 at 12:56 PM Paolo Prete  wrote:

>
>
> On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy  wrote:
>
>> Hi all
>>
>> Reading that last thread about Frescobaldi and its possible disappearance
>> from Mac is causing me to panic. Jean, I did not realize that you were the
>> last person to seriously work on Frescobaldi / Mac.
>>
>>
>> I use Mac exclusively, and Frescobaldi / Lilypond is very important to
>> me.
>>
>>
>> FYI, what I like the most about Frescobaldi are:
>>
>>
>>
>>-
>>
>>Templates and wizards
>>-
>>
>>Snippets
>>-
>>
>>Point and Click selection
>>-
>>
>>Syntax highlighting
>>
>>
>> If Frescobaldi for Mac does indeed vanish, what are my alternatives for a
>> Lilypond editor?
>>
>>
>>
> Hi,
>
> Although https://github.com/paopre/Spontini is focused on _very
> different_ tasks than Frescobaldi, it has the features you just mentioned
> (they are exposed in a somewhat different way, but they should work),
> including code completion
> I could not extensively test it in the past months, nor I own a Mac, but
> thanks to CI/CD it should work on newer versions.
> I'm planning to make a new release in the next few weeks.
> Also, at the moment there are no active contributors for it. Therefore,
> any help is really appreciated...
>
>
>


Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Aaron Hill

On 2024-04-30 10:05 am, Karlin High wrote:

On 4/30/2024 10:25 AM, Jennifer Doering wrote:
What happened to the Frescobaldi dev? Just doesn't have time to 
maintain it anymore?


Link to past discussion:



His software development activity appears reduced after a health crisis 
in 2021.



Can relate to that.  Had open heart surgery myself last year and still 
recovering, in and out of hospital.  Wishing all the best to him and his 
family.



-- Aaron Hill



Re: Transparent box around notes

2024-04-30 Thread K. Blum

Hi Paolo, hi everyone,


Yeah, it works if I just replace add-grob-definition with:

#(define (add-grob-definition grob-name grob-entry)
   (set! all-grob-descriptions
         (cons ((@@ (lily) completize-grob-entry)
                (cons grob-name grob-entry))
               all-grob-descriptions)))

That said, the snippet is _very_ useful, and certainly much easier to
use than the lsr snippet. I strongly encourage the community to add it
to the repository, because the trial and error method is inaccurate
and time consuming.
That said, is there an easy way to adapt it so that it draws a colored
box (with transparency) instead of a rectangle with segments?


if you read the further replies to the thread
https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html
you will find that there was an attempt to combine David Nalesnik's
engraver with the colored boxes from snippet 1000:
https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html

I've applied your version of add-grob-definition from above to the
latest working state of our attempts and came up with boxer3b.ly, see
attached.
Maybe this comes closer to what you are looking for.
(Note that I had to comment out two lines from David's
"define-grob-proberty" function that causes an error in newer LY
versions. I have no idea why because I don't understand such advanced
scheme magic... maybe someone with more knowledge can chime in here.)

Further attempts were discussed in a new thread:
https://lists.gnu.org/archive/html/lilypond-user/2015-04/msg8.html
I remember that someday I gave up trying to understand engravers... but
created snippet 1000 instead.
By the way: Together with Urs Liska a more advanced module for
openLilyLib was created:
https://github.com/openlilylib/analysis/blob/master/usage-examples/frames.pdf
It should be possible to get this working again for newer LY versions.

Hope to help,
Klaus

% \version "2.19.15"
\version "2.24.3"


\header {
  tagline = ##f
}

#(define-event-class 'music-boxer-event 'span-event)

#(define-event-class 'box-event 'music-event)

#(define (add-grob-definition grob-name grob-entry)
   (set! all-grob-descriptions
 (cons ((@@ (lily) completize-grob-entry)
(cons grob-name grob-entry))
   all-grob-descriptions)))

#(define (define-grob-property symbol type? description)
   ;(if (not (equal? (object-property symbol 'backend-doc) #f))
   ;(ly:error (_ "symbol ~S redefined") symbol))

   (set-object-property! symbol 'backend-type? type?)
   (set-object-property! symbol 'backend-doc description)
   symbol)

#(map
  (lambda (x)
(apply define-grob-property x))

  `(
 (filled ,boolean? "Should we fill in this box?")
 (fill-color ,color? "Background color for filling the rectangle")
 (acknowledge-finger-interface ,boolean? "Include fingerings in box?")
 (acknowledge-script-interface ,boolean? "Include scripts in box?")
 ; add more properties here
 ))

#(define (make-box thick padding filled fill-color open-on-left open-on-right xext yext)
   (let* ((xext (interval-widen xext padding))
  (yext (interval-widen yext padding)))
 (ly:stencil-add
  (if filled
  (ly:make-stencil (list 'color fill-color
 (list 'round-filled-box
   (- (- (car xext) thick)) (+ (cdr xext) thick)
   (- (car yext)) (cdr yext)
   0.0)
 xext yext))
  empty-stencil)
  (if (> thick 0)
  (make-filled-box-stencil
   (cons (- (car xext) thick) (+ (cdr xext) thick))
   (cons (- (car yext) thick) (car yext)))
  empty-stencil)
  (if (> thick 0)
  (make-filled-box-stencil
   (cons (- (car xext) thick) (+ (cdr xext) thick))
   (cons (cdr yext) (+ (cdr yext) thick)))
  empty-stencil)
  (if (and (not open-on-right) (> thick 0))
  (make-filled-box-stencil
   (cons (cdr xext) (+ (cdr xext) thick))
   yext)
  empty-stencil)
  (if (and (not open-on-left) (> thick 0))
  (make-filled-box-stencil
   (cons (- (car xext) thick) (car xext))
   yext)
  empty-stencil)
  )))

#(define (music-boxer-stencil grob)
   (let* ((elts (ly:grob-object grob 'elements))
  (refp-X (ly:grob-common-refpoint-of-array grob elts X))
  (X-ext (ly:relative-group-extent elts refp-X X))
  (refp-Y (ly:grob-common-refpoint-of-array grob elts Y))
  (Y-ext (ly:relative-group-extent elts refp-Y Y))
  (padding (ly:grob-property grob 'padding 0.3))
  (thick (ly:grob-property grob 'thickness 0.1))
  (filled (ly:grob-property grob 'filled #f))
  (fill-color (ly:grob-property grob 'fill-color grey))
  (offset (ly:grob-relative-coordinate grob refp-X X))
  ; (left-bound  (ly:spanner-bound grob LEFT))
  ; 

Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Karlin High

On 4/30/2024 10:25 AM, Jennifer Doering wrote:
What happened to the Frescobaldi dev? Just doesn't have time to maintain 
it anymore?


Link to past discussion:



His software development activity appears reduced after a health crisis 
in 2021.

--
Karlin High
Missouri, USA




Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Jennifer Doering
What happened to the Frescobaldi dev? Just doesn't have time to maintain it
anymore?


Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Hajo Baess
Hi all,

There are various alternatives around at least for Linux users, but
there will certainly be different ones available for the Mac users as
well. And who knows: maybe Frescobaldi will survive after all. And if
it may stop working one day, it is good to know that at least you are
not completely left in the wild. 

I have checked out the following ones for Linux:
1. Spontini (not so known maybe, but definitely worth a try)
2. Kate/Okular as a "team" with one-way point-and-click from Okular to
Kate
3. Visual Studio Code with its LilyPond plugins/extensions

All three are not exactly like Frescobaldi, but can certainly amply be
adapted to individual needs into a good workspace.

And then, of course, there is also lilypond-book, which I personally
find a bit complicated - at least when you come from Frescobaldi.
Steeper learning curve, but not impossible if you are determined and
open to something new.

So: don't panic (do not forget the towel either) and let us keep using
Frescobaldi and enjoy as long as it will exist...

Am Dienstag, dem 30.04.2024 um 12:56 +0200 schrieb Paolo Prete:
> On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy  wrote:
> 
> > Hi all
> > 
> > Reading that last thread about Frescobaldi and its possible
> > disappearance
> > from Mac is causing me to panic. Jean, I did not realize that you
> > were the
> > last person to seriously work on Frescobaldi / Mac.
> > 
> > 
> > I use Mac exclusively, and Frescobaldi / Lilypond is very important
> > to me.
> > 
> > 
> > FYI, what I like the most about Frescobaldi are:
> > 
> > 
> > 
> >    -
> > 
> >    Templates and wizards
> >    -
> > 
> >    Snippets
> >    -
> > 
> >    Point and Click selection
> >    -
> > 
> >    Syntax highlighting
> > 
> > 
> > If Frescobaldi for Mac does indeed vanish, what are my alternatives
> > for a
> > Lilypond editor?
> > 
> > 
> > 
> Hi,
> 
> Although https://github.com/paopre/Spontini is focused on _very
> different_
> tasks than Frescobaldi, it has the features you just mentioned (they
> are
> exposed in a somewhat different way, but they should work), including
> code
> completion
> I could not extensively test it in the past months, nor I own a Mac,
> but
> thanks to CI/CD it should work on newer versions.
> I'm planning to make a new release in the next few weeks.
> Also, at the moment there are no active contributors for it.
> Therefore, any
> help is really appreciated...




Re: Embedding music expression in lyrics

2024-04-30 Thread Mats Bengtsson



On 2024-04-30 15:33, Walt North wrote:


Hello,  I have a case where I'm putting together something will be 
mostly chordnames and lyrics with a few music expression hints needed 
here and there.


I've been able to get most of what I want using \markup.  The only 
issue I've come across is that the inserted markup seems to also add 
to the lyric duration and impacts the bar check. I've also found that 
the previous lyric duration impacts the music expression note 
duration.  So clearly the expression is not an independent piece.  
I've been able to work around this by accounting for the extra 
duration in the total for the measure. But is there a way to insert an 
expression that is only a hint and note actually part of the measure?  
Also is there a way to move the markup above the lyrics and would that 
take it out of the duration?  Attached below is some sample code and 
the resulting output.


Walt


\version "2.24.2"

myChords = \chordmode {
  c1 | f | g | c
}

myLyrics = \lyricmode {
  Here2 are4 some |
  \markup {\score { \relative c'' {c d e f }}} lyrics _ _ |
  to4 this song. _ |
}

\score {
  <<
    \new ChordNames
    \with {
  \override BarLine.bar-extent = #'(0 . 2)
  \consists "Bar_engraver"
    }
    \myChords
    \new Lyrics \myLyrics
  >>
}

It's a bit hard to guess what output you would like to see. One possible 
answer is to add it as an ossia stave, see 
https://lilypond.org/doc/v2.24/Documentation/notation/modifying-single-staves#ossia-staves


Another possibility would be to combine the music expression with a 
lyric syllable:


myLyrics = ...

   ... some \markup \column  { lyrics  \score {} } | ...

   /Mats




Embedding music expression in lyrics

2024-04-30 Thread Walt North
Hello,  I have a case where I'm putting together something will be 
mostly chordnames and lyrics with a few music expression hints needed 
here and there.


I've been able to get most of what I want using \markup.  The only issue 
I've come across is that the inserted markup seems to also add to the 
lyric duration and impacts the bar check. I've also found that the 
previous lyric duration impacts the music expression note duration.  So 
clearly the expression is not an independent piece.  I've been able to 
work around this by accounting for the extra duration in the total for 
the measure. But is there a way to insert an expression that is only a 
hint and note actually part of the measure?  Also is there a way to move 
the markup above the lyrics and would that take it out of the duration?  
Attached below is some sample code and the resulting output.


Walt


\version "2.24.2"

myChords = \chordmode {
  c1 | f | g | c
}

myLyrics = \lyricmode {
  Here2 are4 some |
  \markup {\score { \relative c'' {c d e f }}} lyrics _ _ |
  to4 this song. _ |
}

\score {
  <<
    \new ChordNames
    \with {
  \override BarLine.bar-extent = #'(0 . 2)
  \consists "Bar_engraver"
    }
    \myChords
    \new Lyrics \myLyrics
  >>
}



Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Paolo Prete
On Tue, Apr 30, 2024 at 6:45 AM Dirck Nagy  wrote:

> Hi all
>
> Reading that last thread about Frescobaldi and its possible disappearance
> from Mac is causing me to panic. Jean, I did not realize that you were the
> last person to seriously work on Frescobaldi / Mac.
>
>
> I use Mac exclusively, and Frescobaldi / Lilypond is very important to me.
>
>
> FYI, what I like the most about Frescobaldi are:
>
>
>
>-
>
>Templates and wizards
>-
>
>Snippets
>-
>
>Point and Click selection
>-
>
>Syntax highlighting
>
>
> If Frescobaldi for Mac does indeed vanish, what are my alternatives for a
> Lilypond editor?
>
>
>
Hi,

Although https://github.com/paopre/Spontini is focused on _very different_
tasks than Frescobaldi, it has the features you just mentioned (they are
exposed in a somewhat different way, but they should work), including code
completion
I could not extensively test it in the past months, nor I own a Mac, but
thanks to CI/CD it should work on newer versions.
I'm planning to make a new release in the next few weeks.
Also, at the moment there are no active contributors for it. Therefore, any
help is really appreciated...


Re: Transparent box around notes

2024-04-30 Thread Paolo Prete
On Tue, Apr 30, 2024 at 6:38 AM Werner LEMBERG  wrote:

>
> > [...] the snippet is _very_ useful, and certainly much easier to use
> > than the lsr snippet.
>
> Please submit the example as a new LSR snippet.
>
>
I submitted it (see: https://lsr.di.unimi.it/LSR/Item?u=1=1188 ) but the
second box is not correctly displayed (I tested it with LP 2.24.1 and it's
ok).
Should it be deleted?
Note also that it partially overlaps with
https://lsr.di.unimi.it/LSR/Item?id=1000 : it solves the non-automatic size
issue, but it doesn't provide colors and background.


> Note that we already have a (slightly different) issue for that:
>
>   https://gitlab.com/lilypond/lilypond/-/issues/833
>
>
I added a link to the previous message


> Are you willing to work on that?  It would need extensive tests (for
> example, to add other grobs like trill spanners to the box),
> documentation, and one or more regression tests.
>
>
Unfortunately I'm not that familiar with Scheme/Guile so to modify it with
the color/background feature in a reasonably short time.
And I don't even know if this modification is trivial or not...



>
> Werner
>


Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Robert Garrigos
VS Code also provide point and click. Snippets and wizards are tipical features 
for any other programming language in VS Code. It should not be too difficult 
to write them for lilypond.

I understand that it can be difficult to find the developers and mantainers to 
keep Frescobaldi runnig, but not so difficult to implement such features in VS 
Code, I believe. That would be my case, for instamve, and provably other it 
could be the same fornother people: I develope with VS Code and participate in 
other communities and I might help on developing the lilypond plugins, but I 
don't have enough knowledge to develope Frescobaldi.

⁣Robert

On 30 d’abr. de 2024, 8:11, at 8:11, Jean Abou Samra  wrote:
>
>> FYI, what I like the most about Frescobaldi are:
>>
>>  * Templates and wizards
>>  * Snippets
>>  * Point and Click selection
>>  * Syntax highlighting
>>
>> If Frescobaldi for Mac does indeed vanish, what are my alternatives
>for a
>> Lilypond editor?
>
>Syntax highlighting should be doable in Emacs, VS Code or such. Point
>and click
>can be arranged with various PDF viewers (see the LilyPond Usage
>manual).
>The other two only exist in Frescobaldi AFAIK.
>
>> Also, how can I help? (I'm not a programmer at all...) 
>
>
>Thanks, but you cannot really help in a way meaningful for the current
>issues without programming knowledge.
>
>Also, for the record, Frescobaldi needs developers, but perhaps
>even more importantly, it needs maintainers, i.e., people who will
>not just work on a technical problem because they were told
>it's important, but also proactively and autonomously respond
>to GitHub issues and support questions, update the website,
>figure out what parts of the code need regular maintenance like
>lists of LilyPond commands and maintain them, monitor the
>frescobaldi package in major Linux distros, and so on.
>Unfortunately, it can be really hard to find maintainers (even for
>projects that the entire world infrastructure relies on, cf. xz…).
>
>Best,
>Jean


2.25.15 segno repeat appearance: add text to coda sign

2024-04-30 Thread Paul Scott
How does one add text to the coda sign using Segno repeat structure, 
i.e. add "To coda" to the coda sign automatically created?


TIA,

Paul





Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Jean Abou Samra

> FYI, what I like the most about Frescobaldi are:
> 
>  * Templates and wizards
>  * Snippets
>  * Point and Click selection
>  * Syntax highlighting
> 
> If Frescobaldi for Mac does indeed vanish, what are my alternatives for a
> Lilypond editor?

Syntax highlighting should be doable in Emacs, VS Code or such. Point and click
can be arranged with various PDF viewers (see the LilyPond Usage manual).
The other two only exist in Frescobaldi AFAIK.

> Also, how can I help? (I'm not a programmer at all...) 


Thanks, but you cannot really help in a way meaningful for the current
issues without programming knowledge.

Also, for the record, Frescobaldi needs developers, but perhaps
even more importantly, it needs maintainers, i.e., people who will
not just work on a technical problem because they were told
it's important, but also proactively and autonomously respond
to GitHub issues and support questions, update the website,
figure out what parts of the code need regular maintenance like
lists of LilyPond commands and maintain them, monitor the
frescobaldi package in major Linux distros, and so on.
Unfortunately, it can be really hard to find maintainers (even for
projects that the entire world infrastructure relies on, cf. xz…).

Best,
Jean



signature.asc
Description: This is a digitally signed message part