Unfortunately, \transposition can only be used when the notes are written in « instrument » pitch, not concert pitch. BTW, it could be better named as something like \transposingInstrument, it seems.
I started by writing the code to obtain the same score as the manuscript I’m using, where the first staff is written for a viola, hence my notes are in concert pitch. Then I added \transpose to have it printed for an oboe d’amore. But then I can no longer proof it by ear without changing the MIDI output too, which I don’t know how to do. I’d prefer to keep the notes unchanged, in concert pitch, instead of modifying them - hence my post. JM > Le 30 avr. 2019 à 11:20, David Kastrup <[email protected] <mailto:[email protected]>> a > écrit : > > David Kastrup <[email protected] <mailto:[email protected]>> writes: > >> Jacques Menu <[email protected] <mailto:[email protected]>> writes: >> >>> Thanks Lukas and Aaron for your help. >>> >>> In fact, my use case is merely to listen to the MIDI file from within >>> Frescobaldi, to ear-proof the score. I don’t have any MIDI equipment, >>> and organ sound is fine for that purpose. >>> >>> I got the surprise that transposing a voice for the oboe d’amore in A, >>> in Lully’s « Dormez beaux yeux » for the needs of our oboes band, lead >>> to quite modern music being heard... >>> >>> What would best suit my need is a way to counter-balance the effect of >>> \transpose in the \midi block. This way, one would get both the >>> printed score and the MIDI pitches alright, even for instruments >>> unknown to standard MIDI. >>> >>> Can that be done? >> >> That's what \transposition is for. Look it up in the manual. > > Note: as opposed to \transpose (completely different thing in both > semantics and syntax though looking rather similar). > > -- > David Kastrup
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
