These editing shortcuts help with guitar tremolo and tuplets: # tuptrems.sed # tuplets and guitar type tremolo (1st note is different) # change "tp3 note note note" into: "\times 2/3 {note[ note note]}" # change "tp5 note note note note note" into: # "\times 4/5 {note[ note note note note]}" # tremolo "tr3|4|5" versions take first and second notes only. /tp3 /{ s/tp3 *\([^ ]*\) *\([^ ]*\) *\([^ ]*\)/\\times 2\/3 { \1[ \2 \3]}/g } /tr3 /{ s/tr3 *\([^ *\) *\([^ ]*\) *\([^ ]*\)/\\times 2\/3 { \1[ \2 \2]}/g } /tr4 /{ s/tr4 *\([^ ]*\) *\([^ ]*\)/ \1[ \2 \2 \2]/g } /tp5 /{ s/tp5 *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\)/\\times 4\/5 { \1[ \2 \3 \4 \5]}/g } /tr5 /{ s/tr5 *\([^ ]*\) *\([^ ]*\)/\\times 4\/5 { \1[ \2 \2 \2 \2]}/g }
Here is an example input: tr3 e, e' tr3 e, e' tr3 e, e' tr3 e, e' tr4 e, e' tr4 e, e' tr5 e, e' tr5 e, e' tp3 e, e' e' tp3 e, e' e' tp5 e, e f g a tp5 e, e f g a Here is the output: \times 2/3 { e,[ e' e']} \times 2/3 { e,[ e' e']} \times 2/3 { e,[ e' e']} \times 2/3 { e,[ e' e']} e,[ e' e' e'] e,[ e' e' e'] \times 4/5 { e,[ e' e' e' e']} \times 4/5 { e,[ e' e' e' e']} \times 2/3 { e,[ e' e']} \times 2/3 { e,[ e' e']} \times 4/5 { e,[ e f g a]} \times 4/5 { e,[ e f g a]} Also, many many thanks to Jose' Luis Cruz for these settings. convert-ly updated them with no problem. See the result at http://www.openguitar.com/files/alegriasrose.pdf I couldn't figure out the last one, but I didn't need it. Except for that, these are the numbers actually used. This sort of bracket has been used in the Philippines for a long time. It is a big improvement to notation IMO. --------------used convert-ly from 1.4.2: \version "2.4.0" \override TupletBracket #'bracket-visibility = ##t \override TupletBracket #'bracket-flare = #'(0.5 . 0.5) \override TupletBracket #'thickness = #2.0 %\override TupletBracket #'shorten-pair = #'(-2.5 . -2.5) I had quite a bit of difficulty with the <G>, golpe, which is a fairly standard markup in flamenco guitar music. I was not able to get the <> part bold. Here's how I got what I got: r4^\markup{\center-align <"<G>">} As always, many thanks to Han-Wen and all the developers for their hard work and manifest accomplishments. daveA -- Practice pie charts, plans and schedules are good. Practice logs, diaries and records are good. When they fail, and they will, do another. How else can repeated failure be a recipe for success? The only technical exercises for all guitarists worth a lifetime of practice: "Dynamic Guitar Technique". Nothing else is close. Free download: http://www.openguitar.com/dynamic.html daveA David Raleigh Arnold dra..at..openguitar.com _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user