[PATCH] Re: Tremolo with more than two notes
Am Dienstag, 6. Juli 2010, 19:45:34 schrieb Helge Kruse: I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. I have now created a patch that extends the current tremolo repeat functionality to also work with three or more notes: http://codereview.appspot.com/1786041 An example file is attached, showing this new functionality. As soon as that patch is approved by the other lilypond developers, it will be available in the next development version of LilyPond. Cheers, Reinhold -- -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org \version 2.13.28 \header { texidoc = A tremolo can have more then two notes. } \paper { ragged-right = ##t } \score { \new Staff \relative c' { \time 3/4 \repeat tremolo 16 { a64 c e } | \repeat tremolo 8 { a,64 c e } \repeat tremolo 4 { a,64 c e } \repeat tremolo 2 { a,32 c e } | } } repeat-tremolo-three-notes.pdf Description: Adobe PDF document ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
Am Dienstag, 6. Juli 2010, 19:45:34 schrieb Helge Kruse: Hello, Since the documentation explicitly states that tremolo only works with \tremolo 2, I think this is a feature request. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. Actually, it would not be that hard to implement: 1) make-repeat in scm/music-functions.scm needs to be extended to properly scale the durations 2) chord-tremolo-engraver.ly needs to be fixed not to stop the beam after the second note 3) The check in chord-tremolo-iterator.cc needs to be removed (the rest is already generic) Cheers, Reinhold -- -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
Am 06.07.2010 19:45, schrieb Helge Kruse: Hello, Since the documentation explicitly states that tremolo only works with \tremolo 2, I think this is a feature request. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. As already written on lilypond-user: the n in \repeat tremolo n { x y } isn't related to your feature request. n indicates how often the portion inside the curly brackets are to be repeated. n can take any value resulting in a reasonable overall length (i.e. something that can be expressed in a single - regular or dotted - note). You can repeat a group of two 32rds (for example) one, two, three, four or six times, but not five (for example). HTH Urs Minimal example (doesn't work): \score { \new Staff { \time 3/4 \repeat tremolo 2 { b8. c' } \repeat tremolo 3 { b8. c' d } } } The attached scan is from a piece with \time 3/4. Regards, Helge ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
Helge Kruse helge.kruse-nos...@gmx.net wrote in message news:loom.20100706t155232-...@post.gmane.org... Since the documentation says that only two notes tremolos I think this is a feature request and not a bug. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. How can I achieve such notation? Minimal example: \score { \new Staff { \time 3/4 \repeat tremolo 2 { b8. c' } \repeat tremolo 3 { b8. c' d } } } Helge, Please post this question to lilypond-user where there are likely to be more people able to help. -- Phil Holmes Bug Squad ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
On 2010-07-06 18:01, Phil Holmes wrote: Helge Kruse helge.kruse-nos...@gmx.net wrote in message news:loom.20100706t155232-...@post.gmane.org... Since the documentation says that only two notes tremolos I think this is a feature request and not a bug. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. How can I achieve such notation? Minimal example: \score { \new Staff { \time 3/4 \repeat tremolo 2 { b8. c' } \repeat tremolo 3 { b8. c' d } } } Helge, Please post this question to lilypond-user where there are likely to be more people able to help. Hi, this actually has been forked from -user and should be regarded as a feature request: Support for tremoli of more than two notes. A workaround is given on -user, but it's just cheating by tweaking the appearance of note heads. Cheers, Alexander ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
Alexander Kobel n...@a-kobel.de wrote in message news:4c336025.9070...@a-kobel.de... On 2010-07-06 18:01, Phil Holmes wrote: Helge Kruse helge.kruse-nos...@gmx.net wrote in message news:loom.20100706t155232-...@post.gmane.org... Since the documentation says that only two notes tremolos I think this is a feature request and not a bug. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. How can I achieve such notation? Minimal example: \score { \new Staff { \time 3/4 \repeat tremolo 2 { b8. c' } \repeat tremolo 3 { b8. c' d } } } Helge, Please post this question to lilypond-user where there are likely to be more people able to help. Hi, this actually has been forked from -user and should be regarded as a feature request: Support for tremoli of more than two notes. A workaround is given on -user, but it's just cheating by tweaking the appearance of note heads. Cheers, Alexander Thanks, Alexander. I did actually read it on user, but didn't connect the 2... It should get added by the on duty bug squadder. -- Phil Holmes Bug Squad ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Tremolo with more than two notes
On 06.07.2010, at 18:56, Alexander Kobel wrote: On 2010-07-06 18:01, Phil Holmes wrote: Helge Kruse helge.kruse-nos...@gmx.net wrote in message news:loom.20100706t155232-...@post.gmane.org... Since the documentation says that only two notes tremolos I think this is a feature request and not a bug. I need to write a piece with a tremolo like fast repetition. But since there are three notes in this repetition, the \repeat tremolo n { x y } doesn't work. How can I achieve such notation? Minimal example: \score { \new Staff { \time 3/4 \repeat tremolo 2 { b8. c' } \repeat tremolo 3 { b8. c' d } } } Helge, Please post this question to lilypond-user where there are likely to be more people able to help. Hi, this actually has been forked from -user and should be regarded as a feature request: Support for tremoli of more than two notes. A workaround is given on -user, but it's just cheating by tweaking the appearance of note heads. Cheers, Alexander Added as issue 1176 ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond