lilypond-user
[Top][All Lists]

## Re: Accordion notation: registers, stradella / ask for existing symbol m

 From: Ledocq-Boccart Subject: Re: Accordion notation: registers, stradella / ask for existing symbol modification Date: Sun, 30 Mar 2008 18:16:08 +0200 User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

```Hi Reinhold,

I had missed that part of the documentation ...oups!
```
I tried the following which I believe answering the post of George about the bass registers. In the following dots positions have still to be adjusted (adjusting raise or translate argument) according to desired register combination.
```
%snippet circle with 1 line
accFB =
_\markup
\combine
\musicglyph #"accordion.accFreebase"        \combine
\raise #0.5 \musicglyph #"accordion.accDot"
\raise #1.5 \musicglyph #"accordion.accDot"
% end snippet

%snippet circle with 3 lines
accFB =
_\markup
\combine
\musicglyph #"accordion.accStdbase"
\combine
\raise #0.5 \musicglyph #"accordion.accDot"
\combine
\raise #2.5 \musicglyph #"accordion.accDot"
\combine
\raise #1.5 \musicglyph #"accordion.accDot"
\combine
```
\translate #(cons 1 0) \raise #1.5 \musicglyph #"accordion.accDot" \translate #(cons -1 0) \raise #1.5 \musicglyph #"accordion.accDot" % end snippet
```
best regards

Charlie

#####################

Reinhold Kainhofer a écrit :
```
```-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 30. März 2008 schrieb Ledocq-Boccart:
```
```The existing
\musicglyph #"accordion.accDiscant"
symbol is sufficient for an accordion featured with max 3 voices on each
keyboard (lets us say treeble, medium and bass)
```
```
```
I suppose you noticed that you are always talking about a "music glyph" with a given name. This hints at it being a glyph in Lilypond's Feta font. And indeed: You'll find a glyph called accordion.accDiscant in the Feta font (see the appendix of the user manual):
```http://lilypond.org/doc/v2.11/Documentation/user/lilypond/The-Feta-font

```
Not surprisingly, there is also accordion.accFreebase (with only one line) and accordion.addStdbase with three lines... Also, the dot is just a glyph, which is shifted to the correct position with #raise. So, in summary, to generate a registration mark with the Stdbase glyph, simply replace the glyph name in your accFB definition and shift the dots to the desired position...
```
Cheers,
Reinhold

```
- -- - ------------------------------------------------------------------
```Reinhold Kainhofer, Vienna University of Technology, Austria
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH73p7TqjEwhXvPN0RAkmJAJ9kocOXmyXS/HUNxbgS1YE/vaNQXACdEGiz
8Vr3XTfUN3i+/VXSwWSSIJ0=
=ItIK
-----END PGP SIGNATURE-----

_______________________________________________
lilypond-user mailing list
```