lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing fret-diagram muted string symbol


From: Carl Sorensen
Subject: Re: Changing fret-diagram muted string symbol
Date: Wed, 21 Mar 2007 14:34:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

José Luis Cruz <joseluisjazz <at> gmail.com> writes:

> 
> Hello,
> 
> I've searched in manual and in the list archive, but i've been able to
> find a way for substituting the 'x' symbol that denotes a muted string
> in a fret-diagram.
> 
> I want to be able to use another symbol, like a blank space, or
> ideally a markup (for changing font's size and attributes).
> 
> If someone is so smart for figuring a way, maybe we're lucky and it
> can be applied also to substitute any dot inside the fret-diagram for
> another symbol? 
> 
> cheers.
> 

As the code currently stands, the "X" for muted string and "O" for open string
are hardcoded, but are easy to change (see line 218 of
LilyPond/usr/share/lilypond/scm/fretdiagrams.scm).  

It would be trivial to add a property containing the character for mute and the
character for open strings to the fret-diagram.  There is already a property
governing the font size (xo-font-mag), but Han-Wen didn't want to have it
because it polluted the namespace.

If you want to change font size, you can uncomment line 212 of fretdiagrams.scm,
and comment line 213.  Then you will have a property (xo-font-mag) that can be
used to change the size of the mute and open indicators.

I will look into changing those indicators into markups.  That should probably
be doable, but I've been away from markups long enough that I'm not sure what it
will take.

As far as changing dots into markups, that's also doable if I can get the
previous step done.  The biggest challenge I see is the interface -- at present
there is no interface to individual dots, and I don't know how to put it in.  Do
you want to have individual dots have different symbols, or would you be happy
with all the dots having the same symbol, but different from the current circle?

Please take this discussion over to the devel list, so that we can have some
discussion about implementation features.


Carl Sorensen







reply via email to

[Prev in Thread] Current Thread [Next in Thread]