add the number of midi ports.

Interium.