13
0
Commit Graph

12852 Commits

Author SHA1 Message Date
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
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
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
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
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
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
92173ca118
Virtual-Keyboard: Fix use of scrollwheel on dropdowns 2019-10-20 21:22:38 +02:00
20daca9290
Virtual-Keyboard: save/restore state 2019-10-20 20:53:40 +02:00
9c00d6216a
Virtual-keyboard: add a pitch-bender 2019-10-20 18:29:23 +02:00
e63c2133e5
Virtual-keyboard: add CCs, bank/patch selector 2019-10-20 02:44:16 +02:00
ce13979175
Increase black key length 2019-10-20 02:44:16 +02:00
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
148a9682be
Remove redundant port-owner check
Ports owned by Ardour are already filtered out by
PortManager::get_known_midi_ports() ->
PortManager::fill_midi_port_info_locked()

This change is in preparation for allowing to expose Ardour's
"Virtual MIDI Keyboard" keyboard (which is owned by Ardour).
2019-10-18 22:56:46 +02:00
f0d2327af0
Use AsyncMIDIPort API 2019-10-18 22:56:46 +02:00
0d86819a2b fix two thinkos with startup sequence
1) audio/MIDI setup was being shown unnecessarily
2) could crash if entire startup sequence passed without any dialogs being necessary
2019-10-18 00:07:31 -06:00
ebb89ba805
Super basic Virtual-Keyboard UI 2019-10-18 03:50:52 +02:00
6da5f96cf6
NO-OP: whitespace 2019-10-15 22:47:57 +02:00
4bf079810f
Fix crash for range-export and cleanup code
ExportTimespanSelectorMultiple has one extra column at the start:
"selected". There are a total of 6 columns (0..5).

However ExportTimespanSelectorSingle lacks that column.
Selection is not needed and there are only 5 columns.

This lead to a copy/paste off-by one issue for
set_sort_column() w/ range_view.get_column(5) == NULL
when exporting ranges with a single range
2019-10-15 22:45:28 +02:00
4eef9c20b8
Remve unused header includes 2019-10-15 15:30:33 +02:00
7f4af33305
Use less-or-equal for configurable I/O chancount 2019-10-15 15:29:18 +02:00