changed numberMIDIDevices from a metric to a dimension