.
....QUOTE  A couple of years ago, I tested a product but don't remember the brand name. I selected the feature that plays the midi file and then determines the chords....The chords that it determined were really bad....>>>.UNQUOTE
Band in a Box will do what you describe.  The first dozen times I tried it I get bad results.  The chords just werent right.   After a while I learned that I had to tell BIAB where the bass part was, what measure to start on, and other info.  Once I knew how to use the program right, I got nearly perfect results nearly all the time.
Go ahead and buy it.  Band in a Box is a program every musician needs.
.