13
0
Commit Graph

28302 Commits

Author SHA1 Message Date
f1d614b15d
Show PluginScanDialog only if needed (cancel VST scan) 2019-10-26 01:12:05 +02:00
c398576e4a
Fix latency compensation race-condition
Remove need for explicit `initialize_latencies` call that used
to be called from GUI-thread post_engine_init(), as well as
Session::engine_running().

Further reduce calls, `graph_reordered` implies a latency-update
and fix ordering issue. update_latency_compensation() must be called
*after* resort_routes().
2019-10-26 01:06:04 +02:00
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
d51ca5d398 remove unintended leading space 2019-10-25 15:48:32 -06:00
7bb67d0402
Virtual-keyboard: fix text-entry in config widgets 2019-10-25 21:54:16 +02:00
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
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
61f32339ef
Continue C++ification of PianoKeyboard 2019-10-25 21:24:25 +02:00
6272678a90
Add gtk-pianokeyoard author to about 2019-10-25 21:24:25 +02:00
7672b1cb43
NO-OP: whitespace 2019-10-25 21:24:25 +02:00
683f7a0be7 better english 2019-10-25 12:21:16 -06:00
a53448846b make comment about discovering plugins in the main thread more accurate 2019-10-25 12:20:10 -06:00
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
12c81d9a67 add another DEBUG_TRACE line 2019-10-25 11:55:42 -06:00
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
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
eeb57bfef1 clean up use of startupFSM 2019-10-24 21:32:46 -06:00
f925611395 make ARDOUR_UI::gui_idle_handler() public and remove API that became part of PluginScanDialog 2019-10-24 21:32:46 -06:00
be12af293d remove now-unused member variable 2019-10-24 21:32:46 -06:00
0ea395b934 startupFSM is now responsible for attaching GUI to AudioEngine 2019-10-24 21:32:46 -06:00
bc0dcd3996 add new source file 2019-10-24 21:32:46 -06:00
616c82d16a use PluginScanDialog to initiate plugin manager refresh 2019-10-24 21:32:46 -06:00
fc5076f926 refactor plugin scan dialog into its own object 2019-10-24 21:32:46 -06:00
f40b859ff7 add startupFSM enums to enumwriter 2019-10-24 21:32:46 -06:00
b62091d7d2 add new DEBUG bit for GuiStartup 2019-10-24 21:32:46 -06:00
64af49f6c3 non-GUI startup should only use plugin cache and not discover new ones 2019-10-24 21:32:46 -06:00
015eb03bd5 remove debug output 2019-10-24 21:32:46 -06:00
a4723ab8d9 NOOP: newline removal; space injection 2019-10-24 21:32:46 -06:00
4abdfe19d1 don't inadvertently create a Splash when a dialog is shown 2019-10-24 21:32:46 -06:00
84b34f9df1 change rationale for deciding whether the "discover plugins" button appears in the new user wizard 2019-10-24 21:32:46 -06:00
362956dd7c do not scan (discover) (new) plugins when running without a GUI 2019-10-24 21:32:46 -06:00
58e8fb7aab alter ARDOUR::init() API to specify whether a GUI is in control or not 2019-10-24 21:32:46 -06:00
3f2f517291
Rough-in gtk-pianokeyboard C -> C++ 2019-10-24 19:59:22 +02:00
7664f8fd29
Require all terms of space-separated plugin search filter string 2019-10-24 19:47:32 +02:00
aaae93cae3
Return key-focus to piano-keyboard 2019-10-24 05:13:56 +02:00
406bd1bf07
Prepare key-binding display 2019-10-24 05:13:13 +02:00
7f11d13c8a
Fix prev commit, g_setenv() params 2019-10-23 23:59:59 +02:00
81ef802869
Update MacOS installer to directly run Ardour w/o script wrapper 2019-10-23 22:55:10 +02:00
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
7060ba4c1d
Fix strict-i/o override on session-load (amend 31847f88ef)
Plugins may override strict-i/o, and in order to know do this
the plugin needs to be instantiate first.
2019-10-23 01:36:33 +02:00
496e6f2a4c New implementation for single-fader mackie devices (reverts b96d8e) 2019-10-22 14:39:38 -05:00
f3e6f60242
Virtual-keyboard: add option to transpose 2019-10-21 19:31:25 +02:00
226cac95e7
NO-OP: whitespace 2019-10-21 16:08:28 +02:00
35647577e0
NO-OP: whitespace 2019-10-21 16:08:22 +02:00
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
08a9368adf
Allow calling Dropdown::set_active from a signal handler
This breaks a potential recursion when set_active() is called
from activate_item(). See also 88fc22610
2019-10-21 14:58:59 +02:00
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
b96d8e7ffa Add support for single-fader MCU devices: XTouch One and RuCo. (needs testing) 2019-10-20 22:24:32 -05:00
92173ca118
Virtual-Keyboard: Fix use of scrollwheel on dropdowns 2019-10-20 21:22:38 +02:00
88fc226107
Add API to set select item from ArdourDropdown
This fixes an issue with scroll-wheel control which uses `get_active()`.
It work around an issue with gtkmm:

 const MenuItem* get_active () const
 void set_active (guint index)

and MenuList::activate_item() not emitting activate_item().
2019-10-20 21:21:57 +02:00