When generating the MIDI files for the two Lilypond files below, and then generating the WAV audio files with Timidity (timidity --output-24bit -A120 f.midi -Ow -o f.wav), I can hear no differences between the two outputs, even if the two scores were in different keys.
Is it a MIDI problem (but MIDI does support key signature) or a synthesis one? Cause the generated scores (PDF files) look different.
File 1:
\score {
\new Staff <<
\new Voice {
\set midiInstrument = #"acoustic grand"
\voiceOne
\key c \minor
\time 4/4
c'' d'' e'' f'' g'' a'' b'' c'''
}
>>
\layout { }
\midi {
\context {
\Staff
\remove "Staff_performer"
}
\context {
\Voice
\consists "Staff_performer"
}
\tempo 2 = 72
}
}
File 2:
\score {
\new Staff <<
\new Voice {
\set midiInstrument = #"acoustic grand"
\voiceOne
\key g \major
\time 4/4
c'' d'' e'' f'' g'' a'' b'' c'''
}
>>
\layout { }
\midi {
\context {
\Staff
\remove "Staff_performer"
}
\context {
\Voice
\consists "Staff_performer"
}
\tempo 2 = 72
}
}