QSampler already supports device management quite well. The only minor thing that's missing is support for "multiplicity" type device parameters. These kind of parameter types not only allow to apply a single scalar value, but also allow to apply a list of values (i.e. for parameter "ALSA_SEQ_BINDINGS" of LS's ALSA MIDI driver, which allows to make arbitrary amount of MIDI connections). http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html#GET%20MIDI_INPUT_DRIVER_PARAMETER%20INFO