For an Indian classical music performance's audio-analysis task I am working on, first a .wav or .mp3 file is converted to .mid or midifile, with help of Bear audio tool available online. To make it more human friendly to analyse, I'm converting the midi file to csv file with help of Fourmilab's midicsv program. The resulting csv file shows musical note's midi equivalent note number quite well.
However, somewhere in the process, I am loosing the pitch tuning information of the note that was played by an instrument or sung in vocal performance. As people who know Indian classical music may be aware of, this information is one of the vital part in this kind of muscal performance. I'd like to know how this can be corrected. ie How can one obtain the precise pitch tuning or frequency information of the note that was played/sung in audio, from the resulting midi file in this process?