Am 27.09.19 um 02:33 schrieb Francesco Petrogalli:
I understand that the correct way of doing this is first write the notes in the tonality of the instrument, and _then_ use \transposition to get the correct pitches in the midi, but I already have the notes in the ly file with the orchestral pitch and I would like to avoid rewriting the whole part.
If you write everything “in C” you can use it for the score directly (I guess that’s what you call “orchestral pitch”?).
You are right: For the transposed parts with midi in C you need \transposition. But you don’t have to rewrite everything, just use \transpose too:
%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.19.83" altosax = \relative { \key c \major c d e f g a b c } horn = \relative { \key c \major c d e f g a b c } trombone = \relative { \clef bass \key c \major c d e f g a b c } \score { \new StaffGroup << \new Staff \altosax \new Staff \horn \new Staff \trombone >> \layout { } \midi { } } \score { { \transposition es \transpose es c' \altosax } \layout { } \midi { } } \score { { \transposition f \transpose f c' \horn } \layout { } \midi { } } \score { \trombone \layout { } \midi { } } %%%%%%%%%%%%%%%%%%%%%%%%% _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user