Robin Gareus
36ea069722
Fix use of std::map<> in const methods
...
Prefer iterators, instead of C++11 `at() const`.
This should also fix MSVC error C2663
2019-10-28 15:37:13 +01:00
Robin Gareus
474a3c5f69
Virtual-keyboard: allow octave switches while hand-pedaling
2019-10-27 13:54:47 +01:00
Robin Gareus
b53431a089
Virtual-keyboard: consolidate options
...
Remove use options for annotations, force them "always on",
and request space to draw them.
Add option to pick single-line octave bindings
2019-10-27 00:06:14 +02:00
Robin Gareus
9fd0813d16
Add support for single-octave "asdfg.." key-bindings
2019-10-26 23:49:57 +02:00
Robin Gareus
f1d614b15d
Show PluginScanDialog only if needed (cancel VST scan)
2019-10-26 01:12:05 +02:00
Robin Gareus
35788fbaaa
Virtual-keyboard: prefer dropdown for channel & transpose
...
This addresses issue with text-entry and input focus
2019-10-25 23:53:23 +02:00
Paul Davis
d51ca5d398
remove unintended leading space
2019-10-25 15:48:32 -06:00
Robin Gareus
7bb67d0402
Virtual-keyboard: fix text-entry in config widgets
2019-10-25 21:54:16 +02:00
Robin Gareus
12d4d6daa7
Virtual-keyboard: never-ending details
...
- Fix key-bindings (first propagate to piano, ignore global bindings)
- Allow to switch octaves with left/right arrow key
- Tweak font-sizes used for annotations
2019-10-25 21:24:25 +02:00
Robin Gareus
c0c1fd8b60
Rename PianoKeyboard class, avoid ambiguities
...
A C++ class "PianoKeyboard" in the global namespace may cause
issues with some plugins that export and use an identically
named symbol.
2019-10-25 21:24:25 +02:00
Robin Gareus
61f32339ef
Continue C++ification of PianoKeyboard
2019-10-25 21:24:25 +02:00
Robin Gareus
6272678a90
Add gtk-pianokeyoard author to about
2019-10-25 21:24:25 +02:00
Robin Gareus
7672b1cb43
NO-OP: whitespace
2019-10-25 21:24:25 +02:00
Paul Davis
683f7a0be7
better english
2019-10-25 12:21:16 -06:00
Paul Davis
a53448846b
make comment about discovering plugins in the main thread more accurate
2019-10-25 12:20:10 -06:00
Paul Davis
c6b8fc78c8
make logic for creation of startup plugin scan a little clearer
...
Also, do not actually show dialog unless it's a new user or the user explicitly
asks for VST scan at startup
2019-10-25 11:55:55 -06:00
Paul Davis
12c81d9a67
add another DEBUG_TRACE line
2019-10-25 11:55:42 -06:00
Paul Davis
faeaf14e3b
fix deletion/pointer error
...
Not sure why the now deleted hack was ever necessary for the compiler
2019-10-25 08:00:22 -06:00
Paul Davis
48161d7f51
somewhat substantial changes to StartupFSM to try to get relationships betweem various dialogs, plugin scanning and splash screen correct
...
Added extensive comments to try to explain the nightmare of plugin discovery
2019-10-24 21:32:46 -06:00
Paul Davis
eeb57bfef1
clean up use of startupFSM
2019-10-24 21:32:46 -06:00
Paul Davis
f925611395
make ARDOUR_UI::gui_idle_handler() public and remove API that became part of PluginScanDialog
2019-10-24 21:32:46 -06:00
Paul Davis
be12af293d
remove now-unused member variable
2019-10-24 21:32:46 -06:00
Paul Davis
0ea395b934
startupFSM is now responsible for attaching GUI to AudioEngine
2019-10-24 21:32:46 -06:00
Paul Davis
bc0dcd3996
add new source file
2019-10-24 21:32:46 -06:00
Paul Davis
616c82d16a
use PluginScanDialog to initiate plugin manager refresh
2019-10-24 21:32:46 -06:00
Paul Davis
fc5076f926
refactor plugin scan dialog into its own object
2019-10-24 21:32:46 -06:00
Paul Davis
f40b859ff7
add startupFSM enums to enumwriter
2019-10-24 21:32:46 -06:00
Paul Davis
b62091d7d2
add new DEBUG bit for GuiStartup
2019-10-24 21:32:46 -06:00
Paul Davis
015eb03bd5
remove debug output
2019-10-24 21:32:46 -06:00
Paul Davis
a4723ab8d9
NOOP: newline removal; space injection
2019-10-24 21:32:46 -06:00
Paul Davis
4abdfe19d1
don't inadvertently create a Splash when a dialog is shown
2019-10-24 21:32:46 -06:00
Paul Davis
84b34f9df1
change rationale for deciding whether the "discover plugins" button appears in the new user wizard
2019-10-24 21:32:46 -06:00
Paul Davis
58e8fb7aab
alter ARDOUR::init() API to specify whether a GUI is in control or not
2019-10-24 21:32:46 -06:00
Robin Gareus
3f2f517291
Rough-in gtk-pianokeyboard C -> C++
2019-10-24 19:59:22 +02:00
Robin Gareus
7664f8fd29
Require all terms of space-separated plugin search filter string
2019-10-24 19:47:32 +02:00
Robin Gareus
aaae93cae3
Return key-focus to piano-keyboard
2019-10-24 05:13:56 +02:00
Robin Gareus
406bd1bf07
Prepare key-binding display
2019-10-24 05:13:13 +02:00
Robin Gareus
7f11d13c8a
Fix prev commit, g_setenv() params
2019-10-23 23:59:59 +02:00
Robin Gareus
9cae196a04
Allow to run Ardour without start-script on MacOS
...
This might break JACK, since the previous environment
is no longer re-set before calling JackConnection::open(), then
again, no Ardour does not un/set any critical env variables on MacOS.
2019-10-23 22:54:19 +02:00
Robin Gareus
f3e6f60242
Virtual-keyboard: add option to transpose
2019-10-21 19:31:25 +02:00
Robin Gareus
226cac95e7
NO-OP: whitespace
2019-10-21 16:08:28 +02:00
Robin Gareus
35647577e0
NO-OP: whitespace
2019-10-21 16:08:22 +02:00
Robin Gareus
3daf16dc3a
Virtual-keyboard: cont'd initial development:
...
* Reset default note range to 0..127 for step-entry and other users
* Allow to print label "C-<n>" on keyboard
* Fix 6 octave note range
* Save/load user settings in virtual-keyboard window
2019-10-21 16:07:12 +02:00
Robin Gareus
b523583bb4
Virtual-Keyboard significant overhaul:
...
* fix key-range off-by-one 0..127
* allow to shift octave
* allow to configure note range
* highlight grand-piano range and keyboard-shortcut range
* proper piano layout (black key offsets)
* add support for DVORAK keyboard layout
(still incomplete: settings are not yet saved/restored,
_piano_key_velocity should become a HSliderController, ...)
2019-10-21 05:42:05 +02:00
Robin Gareus
92173ca118
Virtual-Keyboard: Fix use of scrollwheel on dropdowns
2019-10-20 21:22:38 +02:00
Robin Gareus
20daca9290
Virtual-Keyboard: save/restore state
2019-10-20 20:53:40 +02:00
Robin Gareus
9c00d6216a
Virtual-keyboard: add a pitch-bender
2019-10-20 18:29:23 +02:00
Robin Gareus
e63c2133e5
Virtual-keyboard: add CCs, bank/patch selector
2019-10-20 02:44:16 +02:00
Robin Gareus
ce13979175
Increase black key length
2019-10-20 02:44:16 +02:00
Robin Gareus
19e4f47b4b
Cont'd work on Virtual-keyboard
...
* allow gtk_pianokeyboard to respond to y-axis click position
and include MIDI velocity with note-on signal
* add configuration settings to virual-keyboard
min/max velocity, keyboard-layout
* add a CC7 controller knob
2019-10-18 22:56:46 +02:00