Re: "Slash" in figured bass

2023-08-17 Thread Lukas-Fabian Moser



Am 17.08.23 um 13:05 schrieb Jean Abou Samra:

Le jeudi 17 août 2023 à 12:28 +0200, Lukas-Fabian Moser a écrit :

(The even friendlier syntax variant  would require changing the
lexer/parser, I think.)

Why don't you just do

   <"/">

?


Two reasons:

- I wasn't aware that figures support " " without a \markup
- To me, <_/> and in particular  feel closer to having semantic input.

But thanks, in particular for the nice design using \beam! :-)

Lukas




Re: "Slash" in figured bass

2023-08-17 Thread Lukas-Fabian Moser




The slash is pronounced the best of several possibilites by
C. Ph. E. Bach [...]

Thanks.  Please open an issue for SMuFL at

   https://github.com/w3c/smufl/issues

so that this slash symbol gets added to the figured bass glyphs.

https://github.com/w3c/smufl/issues/279



Re: "Slash" in figured bass

2023-08-17 Thread Werner LEMBERG


>> In particular, there is no fitting glyph in the SMuFL specification
>> (AFAICS).  Consequently, a simple `\markup` solution is probably
>> the way to go.
> 
> The slash is pronounced the best of several possibilites by
> C. Ph. E. Bach [...]

Thanks.  Please open an issue for SMuFL at

  https://github.com/w3c/smufl/issues

so that this slash symbol gets added to the figured bass glyphs.


Werner



Re: "Slash" in figured bass

2023-08-17 Thread Jean Abou Samra
Le jeudi 17 août 2023 à 12:28 +0200, Lukas-Fabian Moser a écrit :
> (The even friendlier syntax variant  would require changing the 
> lexer/parser, I think.)

Why don't you just do

  <"/">

?



Obviously, you can customize it with


\version "2.25.7"

slashMarkup =
\markup
\beam #0.5 #2.0 #0.3

\layout {
  \override Score.BassFigure.stencil =
  #(grob-transformer
'stencil
(lambda (grob orig)
  (if (equal? "/" (ly:grob-property grob 'text))
  (grob-interpret-markup grob slashMarkup)
  orig)))
}

<<
   \new FiguredBass \figuremode {
 <"/"> <6> <"/"> <6>
   }
   \new Staff \with { \clef bass } {
 f4 e d c
   }
 >>
 


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


Re: "Slash" in figured bass

2023-08-16 Thread Werner LEMBERG

> From Förster's book:
> https://www.digitale-sammlungen.de/view/bsb10527178?page=64 ex. 141
> I also attach an example from his "Practische Beyspiele", in which a
> slightly different layout is being used in which the slash and the
> figure are put separately over their respective notes.
> 
> Of course it wouldn't be hard to cook up a solution (using \markup
> in figures) for both styles, but I'd like to do it "the right way":
> Do we already have a suitable slash symbol? If not, how should it be
> designed?  Has anybody of you already used this symbol?

I haven't seen this before, and I believe this is an ad-hoc invention
of Förster for pedagogical purposes.  In particular, there is no
fitting glyph in the SMuFL specification (AFAICS).  Consequently, a
simple `\markup` solution is probably the way to go.


Werner


"Slash" in figured bass

2023-08-16 Thread Lukas-Fabian Moser

Folks (& especially: Dear Werner),

in his "Anleitung zum Generalbasse" (and the accompanying "Practische 
Beyspiele") from the early 1800s, E. A. Förster uses a "slash" symbol in 
figured bass to denote a chord that is being described relative not to 
the current but to the next bass note.


From Förster's book: 
https://www.digitale-sammlungen.de/view/bsb10527178?page=64 ex. 141
I also attach an example from his "Practische Beyspiele", in which a 
slightly different layout is being used in which the slash and the 
figure are put separately over their respective notes.


Of course it wouldn't be hard to cook up a solution (using \markup in 
figures) for both styles, but I'd like to do it "the right way": Do we 
already have a suitable slash symbol? If not, how should it be designed? 
Has anybody of you already used this symbol?


Lukas

PS. Let me take this opportunity to say huge thanks again to Werner for 
his massive recent improvements in figured bass: With the new proper 
glyphs for slashed and plussed figures LilyPond can finally be used for 
scientifically accurate figured bass engraving.