Sorry, misunderstood the question. For playback of a MIDI file which is transposed within the song, Ian has it right
Eddie