statically allocate midi-options

fixes possible segfault when the data in the vector
goes out of scope due to RVO.