Re: markup for circular bowing

2024-02-14 Thread Thomas Richter

Hi Orm,

maybe the smufl compliant ekmelos 
 font is useful for 
you. It also defines some Unicode glyphs like circle and arc arrows. The 
following (similar to Pierre's 
 
proposal) uses the path from ekmelos.svg of the Clockwise gapped circle 
arrow (U+27F3) which is maybe more appropriate than the 
stringsScrapeCircularClockwise glyph (U+EE88) in smufl.



\version "2.24.0"

#(define-markup-command (circular-bowing layout props) ()
  #:properties ((font-size 0))
  (let ((s (/ (magstep font-size) 256)))
    (interpret-markup layout props
 (markup
  (#:halign -0.5 #:scale (cons s s) #:stencil
   (make-path-stencil
 '(M 0 260
   c 0 138 112 250 250 250
   c 84 0 159 -41 204 -104
   c 3 -5 7 -10 10 -10
   c 16 0 16 85 38 101
   c 3 2 5 3 8 3
   c 6 0 10 -4 10 -9
   c 0 -7 -18 -82 -18 -131
   c 0 -35 10 -53 10 -62
   c 0 -4 -2 -8 -6 -8
   c -3 0 -6 1 -10 4
   c -37 29 -81 39 -174 54
   c -6 1 -10 5 -10 10
   c 0 11 13 14 26 14
   c 23 0 58 -8 76 -8
   c 8 0 12 1 12 6
   c 0 3 -1 8 -4 12
   c -38 53 -101 88 -172 88
   c -116 0 -210 -94 -210 -210
   c 0 -116 94 -210 210 -210
   c 84 0 158 49 192 120
   c 3 7 8 12 16 12
   c 10 0 20 -9 20 -20
   c 0 -3 -1 -8 -2 -10
   c -40 -80 -123 -142 -226 -142
   c -138 0 -250 112 -250 250
   z)
 0 1 1 #t))

{ c''^\markup \circular-bowing }



You can use esmuflily 
 to draw smufl 
glyphs in Lilypond as in the following sample. But in case of svg 
backend it embeds the codepoint of a smufl glyph, not the path. So you 
will not obtain a stand-alone svg file.



\version "2.24.0"
\include "esmufl.ily"

{ c''^\markup \halign #-0.5 \ekm-char ##x27F3 }


--
Thomas


Am 14.02.2024 um 10:59 schrieb Orm Finnendahl:

Hi,

  I'd like to make a sign for circular bowing like in the attached
png. The example was done using an epsfile, but unfortunately that
doesn't export to svg, which I need. So it should be done using
lilypond's builtin markup commands (or scheme code). Can someone point
me to examples to do circular arcs with attached arrows (can also be
scheme code)?

I couldn't find anything similar in the docs/internet.

--
Orm

Re: Frescobaldi: Keyboard shortcut for toggling between editor and music view?

2024-02-14 Thread Knute Snortum
On Wed, Feb 14, 2024 at 7:59 AM Hajo Baess  wrote:

> I have (just completely accidentally, with a little help from the
> Breeze theme color scheme) discovered a keyboard shortcut for switching
> back and forth between the editor and the Music View. I think that it
> is undocumented, and strange it is, too. Here it is:
>
>  * from editor to Music View: press CTRL+TAB 5 times or until the Music
>View scroll bar is not greyed out any more. In Breeze for example,
>it turns light blue. The editor scroll bar turns grey at the same
>time.
>  * from Music View to editor: press CTRL+Shift+TAB 5 times or until the
>editor's scroll bar is no longer greyed out, but Music View's is.
>
> This is a crazy thing, but it seems to work...
>
> No mouse needed.
>

It doesn't work for me on Ubuntu Linux.  I do see different widgets getting
focus but it never seems to go to the Music View.  Still, it's an
interesting find!


--
Knute Snortum


Re: markup for circular bowing

2024-02-14 Thread Orm Finnendahl
Hi Carl, Pierre, Aaron,

 thanks so much for all your help, amazing!

Am Mittwoch, den 14. Februar 2024 um 09:10:59 Uhr (-0700) schrieb Carl Sorensen:
> 
> Is this supposed to be the same thing as circular scrape in chop bowing?
> If so, SMUFL has a glyph defined:
> 
> https://w3c.github.io/smufl/latest/tables/chop-percussive-bowing-notation.html
> 
> I'd be willing to add such a glyph to LilyPond, if what you're after is the
> same intent as the SMUFL glyph.

These signs seem to indicate a scratching (noisy) sound in different
directions. All these signs actually are/would be very useful for
contemporary playing techniques and the circular bowing sign could be
used for "real" circular bowing as well, although it seems that in
this context it is intended to indicate a noisy sound (with very low
bow pressure). "Real" circular bowing actually is not noise-like but
can be performed with continuous "normal" sound always shifting
between sul tasto and sul ponticello (fewer or less overtones) and I
know it being indicated with the sign I sent in my previous mail.

It nevertheless would be quite handy to be able to use the signs from
SMUFL in lilypond as well and I'd be willing to sponsor or participate
in sponsoring it (would 50,- Euros be ok as a starting point?).

Best,
Orm
--
Prof. Orm Finnendahl
Komposition
Hochschule für Musik und Darstellende Kunst
Eschersheimer Landstr. 29-39
60322 Frankfurt am Main

https://www.youtube.com/watch?v=2rWha1HTfFE&list=PLiGfneJSWmNw6dTUvcTHbTkCYOOTiB_N6



Re: Frescobaldi: Keyboard shortcut for toggling between editor and music view?

2024-02-14 Thread Guy Stalnaker
That makes sense to me. The Frescobaldo keyboard shortcuts are all, for my
Linux version, Meta-Ctrl-?. If TAB moves around fields in dialog windows,
then it makes sense that Ctrl-Tab might shift between those dialogs, or in
this case the various Tool palettes, etc.

Your persistence is admirable.

Guy

-- “Happiness is the meaning and the purpose of life, the whole aim and end
of human existence.” ― Aristotle

On Wed, Feb 14, 2024, 9:59 AM Hajo Baess  wrote:

> I have (just completely accidentally, with a little help from the
> Breeze theme color scheme) discovered a keyboard shortcut for switching
> back and forth between the editor and the Music View. I think that it
> is undocumented, and strange it is, too. Here it is:
>
>  * from editor to Music View: press CTRL+TAB 5 times or until the Music
>View scroll bar is not greyed out any more. In Breeze for example,
>it turns light blue. The editor scroll bar turns grey at the same
>time.
>  * from Music View to editor: press CTRL+Shift+TAB 5 times or until the
>editor's scroll bar is no longer greyed out, but Music View's is.
>
> This is a crazy thing, but it seems to work...
>
> No mouse needed.
>
>
>
> Am Dienstag, dem 13.02.2024 um 13:24 -0600 schrieb Guy Stalnaker:
> > I do not see such a toggle or any system call in the Key Shortcuts
> > preferences that seems relevant. And perhaps that is not surprising -
> > Frescobaldi is after all a code editor; that it assumes (!) one would
> > always want the code visible makes sense to me.
> >
> > Regards
> >
> > On 2/12/24 15:36, Hajo Baess wrote:
> > > Hello all,
> > >
> > > Maybe I am missing it alltogether or it does not exist or it is to
> > > hard
> > > to find for me:
> > > I am looking for a keyboard shortcut in Frescobaldi enabling me to
> > > toggle between editor and music view, so I do not have to click
> > > with
> > > the mouse.
> > >
> > > I just can't find it. I have tried all kinds of possible candidates
> > > to
> > > no avail. Is someone here who happens to know?
> > >
> > > Thank you for pointing this out to me...
> > >
>
>


Re: markup for circular bowing

2024-02-14 Thread Carl Sorensen
On Wed, Feb 14, 2024 at 2:59 AM Orm Finnendahl <
orm.finnend...@selma.hfmdk-frankfurt.de> wrote:

> Hi,
>
>  I'd like to make a sign for circular bowing like in the attached
> png. The example was done using an epsfile, but unfortunately that
> doesn't export to svg, which I need. So it should be done using
> lilypond's builtin markup commands (or scheme code). Can someone point
> me to examples to do circular arcs with attached arrows (can also be
> scheme code)?


Is this supposed to be the same thing as circular scrape in chop bowing?
If so, SMUFL has a glyph defined:

https://w3c.github.io/smufl/latest/tables/chop-percussive-bowing-notation.html

I'd be willing to add such a glyph to LilyPond, if what you're after is the
same intent as the SMUFL glyph.

Carl


Re: Frescobaldi: Keyboard shortcut for toggling between editor and music view?

2024-02-14 Thread Hajo Baess
I have (just completely accidentally, with a little help from the
Breeze theme color scheme) discovered a keyboard shortcut for switching
back and forth between the editor and the Music View. I think that it
is undocumented, and strange it is, too. Here it is:

 * from editor to Music View: press CTRL+TAB 5 times or until the Music
   View scroll bar is not greyed out any more. In Breeze for example,
   it turns light blue. The editor scroll bar turns grey at the same
   time.
 * from Music View to editor: press CTRL+Shift+TAB 5 times or until the
   editor's scroll bar is no longer greyed out, but Music View's is.

This is a crazy thing, but it seems to work...

No mouse needed.



Am Dienstag, dem 13.02.2024 um 13:24 -0600 schrieb Guy Stalnaker:
> I do not see such a toggle or any system call in the Key Shortcuts 
> preferences that seems relevant. And perhaps that is not surprising -
> Frescobaldi is after all a code editor; that it assumes (!) one would
> always want the code visible makes sense to me.
> 
> Regards
> 
> On 2/12/24 15:36, Hajo Baess wrote:
> > Hello all,
> > 
> > Maybe I am missing it alltogether or it does not exist or it is to
> > hard
> > to find for me:
> > I am looking for a keyboard shortcut in Frescobaldi enabling me to
> > toggle between editor and music view, so I do not have to click
> > with
> > the mouse.
> > 
> > I just can't find it. I have tried all kinds of possible candidates
> > to
> > no avail. Is someone here who happens to know?
> > 
> > Thank you for pointing this out to me...
> > 




Re: markup for circular bowing

2024-02-14 Thread Pierre Perol-Schneider
Hi Aaron,
Nice!
Personally I never mix path drawings and graphical command since the result
is not consistant.
E.g.
{ \magnifyStaff #2 c''1^\circular-bow }
Cheers,
Pierre

Le mer. 14 févr. 2024 à 12:13, Aaron Hill  a
écrit :

> On 2024-02-14 1:59 am, Orm Finnendahl wrote:
> > Hi,
> >
> >  I'd like to make a sign for circular bowing like in the attached
> > png. The example was done using an epsfile, but unfortunately that
> > doesn't export to svg, which I need. So it should be done using
> > lilypond's builtin markup commands (or scheme code). Can someone point
> > me to examples to do circular arcs with attached arrows (can also be
> > scheme code)?
> >
> > I couldn't find anything similar in the docs/internet.
>
> Here's a pretty simple attempt:
>
> 
> \version "2.22.0"
>
> circular-bow =
> -\tweak parent-alignment-X #CENTER
> -\markup \overlay {
>\path #0.15
>#'((moveto 1 0)
>   (curveto 1 -0.55 0.55 -1 0 -1)
>   (curveto -0.55 -1 -1 -0.55 -1 0)
>   (curveto -1 0.55 -0.55 1 0 1)
>   (curveto 0.33 1 0.55 0.85 0.707 0.707)
>)
>
>\translate #'(0.707 . 0.707)
>\rotate #-45
>\fontsize #-5
>\general-align #X #0.2
>\arrow-head #X #RIGHT ##t
> }
>
> { c''1^\circular-bow }
> 
>
>
> -- Aaron Hill


Re: markup for circular bowing

2024-02-14 Thread Aaron Hill

On 2024-02-14 1:59 am, Orm Finnendahl wrote:

Hi,

 I'd like to make a sign for circular bowing like in the attached
png. The example was done using an epsfile, but unfortunately that
doesn't export to svg, which I need. So it should be done using
lilypond's builtin markup commands (or scheme code). Can someone point
me to examples to do circular arcs with attached arrows (can also be
scheme code)?

I couldn't find anything similar in the docs/internet.


Here's a pretty simple attempt:


\version "2.22.0"

circular-bow =
-\tweak parent-alignment-X #CENTER
-\markup \overlay {
  \path #0.15
  #'((moveto 1 0)
 (curveto 1 -0.55 0.55 -1 0 -1)
 (curveto -0.55 -1 -1 -0.55 -1 0)
 (curveto -1 0.55 -0.55 1 0 1)
 (curveto 0.33 1 0.55 0.85 0.707 0.707)
  )

  \translate #'(0.707 . 0.707)
  \rotate #-45
  \fontsize #-5
  \general-align #X #0.2
  \arrow-head #X #RIGHT ##t
}

{ c''1^\circular-bow }



-- Aaron Hill

Re: markup for circular bowing

2024-02-14 Thread Pierre Perol-Schneider
Hi Orm,
How about:

\version "2.25.10"

#(define-markup-command (circBow layout props)()
  (interpret-markup layout props
   (markup
(#:stencil
 (make-path-stencil
   '(M 0 3.188
C -0.012 5.133 1.613 6.133 2.996 6.199
C 4.379 6.27 4.547 5.891 5.242 5.43
C 5.242 5.43 5.301 5.504 5.32 5.559
C 5.34 5.609 5.297 5.812  5.355 5.746
C 5.504 5.582 5.836 4.82 6.008 4.41
C 5.5 4.574 5.18 4.762 4.629 4.988
C 4.465 5.055 4.77 5.035 4.82 5.078
C 4.875 5.121 4.895 5.227  4.895 5.227
C 4.332 5.598 4.211 5.82 3.066 5.812
C 1.922 5.809 0.375 4.699 0.398 3.168
C 0.422 1.633 1.449 0.465 2.969 0.41
C 4.488 0.355 5.789 1.523 5.871 3.223
C 5.871 3.223 6.023 3.305 6.07 3.305
C 6.117 3.305 6.234 3.199  6.234 3.199
C 6.16 0.969 4.605 -0.031 2.996 0
C 1.387 0.035 0.012 1.242 0 3.188
Z)
   .02 .35 .35 #t)

{ c''1 ^\markup\circBow }

HTH, cheers,
Pierre

Le mer. 14 févr. 2024 à 10:59, Orm Finnendahl <
orm.finnend...@selma.hfmdk-frankfurt.de> a écrit :

> Hi,
>
>  I'd like to make a sign for circular bowing like in the attached
> png. The example was done using an epsfile, but unfortunately that
> doesn't export to svg, which I need. So it should be done using
> lilypond's builtin markup commands (or scheme code). Can someone point
> me to examples to do circular arcs with attached arrows (can also be
> scheme code)?
>
> I couldn't find anything similar in the docs/internet.
>
> --
> Orm
>


Re: How to to a Lyrics extender line?

2024-02-14 Thread Michael Gerdau

> Why not
>
> verseC = \lyricmode { \repeat unfold 4 { \skip 8 } lu __ _
>\markup \null \repeat unfold 3 { \skip 8 } lu 
__ _ }


Thanks Kieren, that's kind of what I was looking for :)

Kind regards,
Michael
--
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver



Re: How to to a Lyrics extender line?

2024-02-14 Thread Kieren MacMillan
Hi Michael,

Why not

verseC = \lyricmode { \repeat unfold 4 { \skip 8 } lu __ _
  \markup \null \repeat unfold 3 { \skip 8 } lu __ _ }

?

Hope that helps!
Kieren
__

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.




Re: How to to a Lyrics extender line?

2024-02-14 Thread Michael Gerdau
I‘d read that. Different but hacky as well and ruins MIDI.

Thank you for pointing that out.

Kind regards,
Michael 
Mobil gesendet

> Am 14.02.2024 um 10:55 schrieb Hans Aikema :
> 
> 
> 
> 
>>> On 14 Feb 2024, at 10:17, Michael Gerdau  wrote:
>>> 
>> Hi list,
>> 
>> I often come across a problem like in the attached example where I want an 
>> extender line to stop (in the example upper system before bar 3).
>> 
>> I can achieve something like it by adding e.g. a "." to the Lyrics and 
>> change the colour to white or something similar (see example lower system 
>> bar 3) but that seems somewhat hacky and I'd like to have a better way.
>> 
>> Is there a better way?
> 
> Only a few days back there was a similar inquiry where I provided a way to do 
> it using a hidden scaled-duration note just before the barline
> 
> https://lists.gnu.org/archive/html/lilypond-user/2024-02/msg00033.html
> 
>> 
>> Kind regards,
>> Michael
>> --
>> Michael Gerdau   email: m...@qata.de
>> GPG-keys available on request or at public keyserver
>> 
>> 


markup for circular bowing

2024-02-14 Thread Orm Finnendahl
Hi,

 I'd like to make a sign for circular bowing like in the attached
png. The example was done using an epsfile, but unfortunately that
doesn't export to svg, which I need. So it should be done using
lilypond's builtin markup commands (or scheme code). Can someone point
me to examples to do circular arcs with attached arrows (can also be
scheme code)?

I couldn't find anything similar in the docs/internet.

--
Orm


Re: How to to a Lyrics extender line?

2024-02-14 Thread Hans Aikema


> On 14 Feb 2024, at 10:17, Michael Gerdau  wrote:
> 
> Hi list,
> 
> I often come across a problem like in the attached example where I want an 
> extender line to stop (in the example upper system before bar 3).
> 
> I can achieve something like it by adding e.g. a "." to the Lyrics and change 
> the colour to white or something similar (see example lower system bar 3) but 
> that seems somewhat hacky and I'd like to have a better way.
> 
> Is there a better way?

Only a few days back there was a similar inquiry where I provided a way to do 
it using a hidden scaled-duration note just before the barline

https://lists.gnu.org/archive/html/lilypond-user/2024-02/msg00033.html

> 
> Kind regards,
> Michael
> --
> Michael Gerdau   email: m...@qata.de
> GPG-keys available on request or at public keyserver
> 
> 


How to to a Lyrics extender line?

2024-02-14 Thread Michael Gerdau

Hi list,

I often come across a problem like in the attached example where I want 
an extender line to stop (in the example upper system before bar 3).


I can achieve something like it by adding e.g. a "." to the Lyrics and 
change the colour to white or something similar (see example lower 
system bar 3) but that seems somewhat hacky and I'd like to have a 
better way.


Is there a better way?

Kind regards,
Michael
--
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver\version "2.25.13"

musicA = { \repeat unfold 2 { c''4 c'' c'' c'' | c''2 c'' } }
musicB = { \repeat unfold 16 { c'4 } }

verseA = \lyricmode { \repeat unfold 4 { \skip 8 } lu __ _
  \repeat unfold 4 { \skip 8 } lu __ _ }
verseC = \lyricmode { \repeat unfold 4 { \skip 8 } lu __ _
  \once \override LyricText.color = #white "." \repeat 
unfold 3 { \skip 8 } lu __ _ }
verseB = \lyricmode { \repeat unfold 16 { la } }

\score {
  <<
\new Staff = "a" <<
  \new Voice = "a1" { \voiceOne \musicA }
  \new Voice = "a2" { \voiceTwo \musicB }
>>
\new Lyrics \with {
  alignAboveContext = "a"
} \lyricsto "a1" { \verseA }
\new Lyrics \lyricsto "a2" { \verseB }
\new Staff = "b" <<
  \new Voice = "b1" { \voiceOne \musicA }
  \new Voice = "b2" { \voiceTwo \musicB }
>>
\new Lyrics \with {
  alignAboveContext = "b"
} \lyricsto "b1" { \verseC }
\new Lyrics \lyricsto "b2" { \verseB }
  >>
  \layout {}
}

stop-lyrics-extender.pdf
Description: Adobe PDF document