delay incoming midi

Hi,
Does anyone know if it is possible to delay incoming midi notes. The ASIO delay compensation works well, but the problem is that when you use Vienna Ensemble Pro you have additional layers of latency that are added into the system which that the ASIO delay feature doesn’t compensate for. Anyway to delay the midi note upon input by a set amount?

Thanks!
Matt