I would like to transpose a motif (using \modalTranspose) to a _set_ of
different pitches. At the moment this is what I do:

scale = {c d e f g a b}
motif = {c' e' g' c'}
{
  \modalTranspose c e \scale \motif
  \modalTranspose c g \scale \motif
  \modalTranspose c a \scale \motif
}

How can I do something similar to this:

toPitchSet = {e g a}
scale = {c d e f g a b}
motif = {c' e' g' c'}
{
  \modalTranspose c \toPitchSet \scale \motif
}

Many thanks, S.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to