A singer sung without metronome at her place and passed me a wav file. I built a whole arrangement on her voice, just spending half an hour to contruct first a good tempo map, by aligning the first measure of audio in the voice and then progressing with the "set measure/beat at now time" command. First I guessed the overall tempo (128 bpm) then captured all the slight variations (127.3, 126.6, 127.9, 128.3 etc) every 2-3 measures.
It worked brilliantly

. I recorded the first MIDI instruments with a Sonar metronome following the sliding tempo, then all audio records, and this original little shift really gives breath to the piece.
Now I need to export a midi part, but when dragged to the desktop I see it does not retain the tempo variation information, which is stored in the tempo view within the Sonar project. How can i tell Sonar to keep this "sliding tempo info" in the exported MIDI file?
Alternatively, can I set an overall timing info in the midi file (128 bpm) at the beginning, and then write a midi file that goes out of the tempo grid, but stays in time when replayed at that bpm?
Please help. I'm working with Sonar since almost 10 years daily and I'm amazed I still get stuck with MIDI!