flup2 <phili...@philmassart.net> writes:

> These days, I have to input a lot of octaves in some music scores (a typical
> figure in orchestral reductions :( ). I usually write <c c'> but, with lots
> of those, I hope it would be possible to write a snippet in Frescobaldi to
> accelerate to entry process.
>
> I looked at the "tuplet" snippet and tried < $SELECTION $SELECTION' > but it
> gives me < c ' >. I suppose it's because once the selection is used the
> first time, it replaced the selected note; there isn't any remaining
> selection for the remain of the script.
>
> Anyway, my wish would be to be able to select a large portion of notes like
> {a b c d e f g a} and turn that scale into   * <c c'> <d d'> etc.
>
> Does anyone how to achieve that?

What about something like

myoctavate =
#(define-music-function (parser location music) (ly:music?)
  #{ \context Bottom << $music \transpose c c' $music >> #})

\myoctavate \relative { a b c d e f g a }

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to