Updates:
Labels: -Type-Defect Type-Enhancement
Comment #12 on issue 1735 by [email protected]: modifying default
behaviour of tremolo slashes
http://code.google.com/p/lilypond/issues/detail?id=1735
2011/7/24 pkx166h:
Is this jus a new-look or 'slightly altered' tremelo patch?
Umm, i don't understand...
http://lilypond.org/doc/v2.14/Documentation/notation/short-repeats#index-tremolo-1
What else needs to be documented. If you can describe what is 'new' in
this
patch for a user I can formulate some notes in the document. If this is
just
a case of a new 'setting' by using an override or tweak then we can add it
as a snippet. I'm not clear what is really different about this other than
slope angles. Apologies for my ignorance
There's nothing to apology for!
The current version of the patch doesn't change anything in default
LilyPond behaviour. It will add an option, so that users will have more
choices. As far as i know, internals won't (and can't) have detailed
enough description, so it should be mentioned in the docs - where exactly
is up to you.
So, let me describe how tremolo looks will be controlled *after* applying
my patch:
There'll be two basic "knobs" for controlling slashes' behaviour:
- slope (this specifies tangent of the slashes),
- shape (this determines whether slashes are rotated rectangles or
parallelograms).
These two "knobs" are not enough because we want to choose different values
for each property depending on the situation. For example in the default
behaviour some slashes should be rectangular, while other ones should be
parallelograms. That's why the 'style' property is used: it's kind of a
shortcut pointing to a function which calculates what slope and shape
should be used, depending on situation. Currently there are two built-in
styles: 'default' and 'constant' (and this patch is all about
adding "constant" style). Their behaviour is demonstrated in the attached
file.
I hope this is clear.
thanks,
Janek
Attachments:
tremolo.ly 406 bytes
tremolo.pdf 40.2 KB
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond