As far as I know, the midi functions in the free SDK do not currently work. I think gamepark were supposed to bring out an updated version of the SDK which fixes this, but they never did. On the other hand, one of the latest versions of GPdoom has midi support, so maybe who ever added that in...