Commit graph

23837 commits

Author SHA1 Message Date
Robin Gareus
1dab4f08de LV2 UI: use controllable API, don't access plugin directly
For modulated controls the custom UI shows un-modulated baseline.
This is likely inconsistent with VST and AU custom UI, which may
grab the current modulated value (as if it was automated)
2017-02-26 15:36:24 +01:00
Robin Gareus
62d5b41768 Add simple UI to set+edit modulation scripts per plugin 2017-02-26 15:36:24 +01:00
Robin Gareus
6ecb3b1d82 Example script to load a modulation-script 2017-02-26 15:36:24 +01:00
Robin Gareus
b8bfa55864 Add a convenience API to modulate plugin parameters from Lua 2017-02-26 15:36:24 +01:00
Robin Gareus
998d8c150b Add some simple Envelope Follower DSP 2017-02-26 15:36:24 +01:00
Robin Gareus
f3ffd4c127 Implement plugin modulation by Lua-script 2017-02-26 15:36:24 +01:00
Robin Gareus
6ec5730276 Allow PluginControl to modulate plugin parameters
The concept here is

 PluginControl [not-yet-a SlavableAutomationControl] is-a AutomationControl

The AutomationControl base-class sets the baseline parameter-value.
This is also the value used for generic-control-UIs and Automation-Lane.
The PluginControl can modify this value when setting the actual
plugin control-parameter.

The Ardour-UI is not aware of the modulation and will have to explicitly
ask for the modulated value.
To custom plugin-UIs it will look as if the value is being automated.

The modulation value is to be set before running the plugin-instance
in connect_and_run().
2017-02-26 15:36:24 +01:00
Robin Gareus
02cf331403 upcoming codenames 2017-02-26 15:35:40 +01:00
Robin Gareus
54fd56de75 Fix yet another oversight for the windows icon file update 2017-02-26 14:40:22 +01:00
Robin Gareus
96ec230c32 Fix windows builds, rename icons following 4e96285ba5 2017-02-26 14:26:13 +01:00
Robin Gareus
4e96285ba5 Windows installer: use upper-case for program-name 2017-02-25 20:03:52 +01:00
Robin Gareus
a5c2dc0525 Don't use upper-case in options (only headings) 2017-02-25 20:03:52 +01:00
Paul Davis
f1e6cc50b0 Revert "libs: debug output for faderport/editor mixer strip sync"
This reverts commit 6fb91b1ac2.
2017-02-25 19:56:51 +01:00
Paul Davis
123fcf3cff fix potential crash bug in RouteProcessorSelection 2017-02-25 19:55:39 +01:00
Paul Davis
8c1e06a5e9 prevent double-emission of PresentationInfo::Change when making mixer-view selection set changes 2017-02-25 19:55:39 +01:00
Robin Gareus
7d08584415 Add some missing luabridge::ClassInfo<>::getClassKey() - fix windows builds 2017-02-25 18:38:27 +01:00
Len Ovens
df52c8c748 OSC: correct busses spelling in GUI 2017-02-25 08:49:18 -08:00
Robin Gareus
18ec1840e7 Tweak preferences text 2017-02-25 17:44:08 +01:00
Robin Gareus
b37d3776d2 Tweak metering prefs: clarify default type behavior 2017-02-25 04:46:49 +01:00
Robin Gareus
841b15c453 NO-OP, re-arrange code 2017-02-25 04:46:46 +01:00
Robin Gareus
5b4f5c477d Snap-back fader on release (follow-up to e8cebac6a3)
When dragging a fader out-of-bounds (VCA slave constraint), move it back
on release.
2017-02-24 23:55:55 +01:00
Robin Gareus
6bb2416df7 Add some Lua-script icon. 2017-02-24 23:41:22 +01:00
Robin Gareus
4afa3aa65e Group-override for faders
Tentative solution. Eventually the gain_adjustment should be moved
into the PixFader or SliderController and a dedicated API
should replace  gain_adjustment.signal_value_changed()
2017-02-24 23:41:22 +01:00
Robin Gareus
a1a2e088a5 Allow to switch master-meter type in the toolbar-meter 2017-02-24 23:41:22 +01:00
Robin Gareus
d0286d3df1 NO-OP resolve an ambiguity, just because.
Due to  LevelMeterVBox : public LevelMeterBase, public Gtk::VBox;

LevelMeterBase::get_type() overloads Gtk::Widget::get_type(),
Glib::Object::get_type(), Atk::Implementor::get_type() etc..

Besides Ardour-style prefers not to use  get_...()
2017-02-24 23:41:21 +01:00
Paul Davis
437ec10b31 gui: debug output for faderport/editor mixer strip sync 2017-02-24 23:10:09 +01:00
Paul Davis
6fb91b1ac2 libs: debug output for faderport/editor mixer strip sync 2017-02-24 23:10:03 +01:00
Paul Davis
2b9525c991 try to make sure faderport shows the same strip as the editor mixer strip 2017-02-24 22:54:25 +01:00
Paul Davis
74548604be no-op: move method order in file 2017-02-24 22:54:25 +01:00
Robin Gareus
cd609fb9d8 add a missing class-key 2017-02-24 17:53:06 +01:00
Robin Gareus
b83ea5bd49 Save Lua script file origin (for later updates) -- GUI+Session plugin 2017-02-24 16:10:14 +01:00
Robin Gareus
24f070610c Save Lua script origin (for later updates) -- DSP plugin 2017-02-24 16:10:14 +01:00
Robin Gareus
81a0bdcc40 Add static class-keys for windows 2017-02-24 16:10:14 +01:00
Robin Gareus
1e8af6535f add an example script to show/hide TAVs 2017-02-24 16:10:14 +01:00
Robin Gareus
9e543beb56 Add some convenient public editor methods (for lua-bindings)
and s/get// in the old API for consistency.
2017-02-24 16:10:14 +01:00
Robin Gareus
89c02f4fd7 the daily dose of const'ness 2017-02-24 16:10:14 +01:00
Robin Gareus
3780a9526e re-order inheritance
LuaBridge only allows one parent class, others need explicit casts.
Allowing RoutUI to be passed as Selectable argument is handy.
2017-02-24 16:10:14 +01:00
Paul Davis
febd1d5c88 remove misleading/incorrect comment
The previously-commented code is precisely what gets invoked
when solo state changes, and had nothing to do with actually
changing solo state in any way.
2017-02-24 10:18:57 +01:00
Len Ovens
6fbdfa353b OSC: remove invalid feedback for solo and pan az. 2017-02-23 15:45:28 -08:00
Paul Davis
d3c43b88ae fix solo + mute controls when slaved
clamp/scale by masters only applies to non-boolean controls
2017-02-23 22:57:23 +01:00
Robin Gareus
d6ad3b3c08 Add static Class-Keys for Windows build 2017-02-23 22:32:32 +01:00
Robin Gareus
1e4e97019d Lua bindings to access editor selection + region selection bindings 2017-02-23 22:32:32 +01:00
Robin Gareus
71fd94b422 LuaBridge: Dedicated type for pointer-lists and const version
"class C*" cannot be defined nor resolved, so STL containers
to class instance pointers need to be special-cased.
2017-02-23 22:32:32 +01:00
Robin Gareus
37dc93b40a luaBridge support const references to class-instance pointers
Support passing "T*" as as "const T* &"  argument
e.g. std::list<T*>::push_back ( const T* & )
2017-02-23 22:32:32 +01:00
Robin Gareus
e8cebac6a3 Constrain VCA slave value to controllable range
This prevents overshoot e.g. when writing automation (and related oddities)
2017-02-23 18:33:10 +01:00
Robin Gareus
5d8a3ea2f0 remove explicit line-break (rely on wrap) 2017-02-23 17:40:33 +01:00
Robin Gareus
ac40945ff9 Do not bundle default system_config (prefer built-in defaults)
Inside the bundle, those files are read-only, anyway.
This alleviates us from generating/updating the files with whenever
the built-in default changes and also makes architecture dependent
default-config (compile time #defines) work.
2017-02-23 16:26:17 +01:00
Robin Gareus
f484e8a923 Clarify prefs 2017-02-23 15:54:30 +01:00
nick_m
62cef7feff also fix flying percussive hits while copy-dragging. 2017-02-24 01:11:56 +11:00
nick_m
ae3c50c495 hotfix for flying percussive hits while dragging.
- Hit::position still may not be set correctly,
	  but this patch eliminates the error for now.
2017-02-24 00:36:58 +11:00