Hi again, I noticed, that all the synthesizer plugins allow use of computer keyboard as "substitute" for real keyboard - but if one wants to use his MIDI keyboard, there's always a need to click "Enable MIDI input" dialog, and then to select the desired keyboard from drop-down menu. On longer run, this can be somewhat annoying.
Why not add another configuration option: "Default MIDI keyboard"? If such keyboard wouldn't be connected at configuration time, of course the dialog in respective section would say: "no MIDI keyboard detected", and the selection button would be "grayed out". Assuming that we've got configured such default keyboard, it should be automatically enabled in all plugins to enter notes, in parallel to computer's keys. In case, such keyboard has been entered into the setup, but not found during program startup, a dialog could appear, asking a question: "MIDI keyboard xyz not found (maybe not connected). Do you want polling for its presence, or it won' t be used?". Now, if user selects "Give up", there will be "by default" only computer keyboard used, like it is presently. But by selecting "polling" - and 1 second seems to be sane value, it's fast enough for human connecting the keyboard, and slow enough to not take too much CPU time - there could be a check performed by each of the plugins: "have he connected this keyboard at last?", then switch the desired setting by automatic back to use MIDI-keyboard, when it has been detected. Such polling could be also default behaviour (without any disturbing messages "lost keyboard, what now" etc.) when keyboard was present during program startup, but disconnected later, when still working with program - we know, the user has the hardware, and it can be reconnected anytime. -- regards, Zbigniew ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
