13
0
Commit Graph

26413 Commits

Author SHA1 Message Date
Nikolaus Gullotta
9ca094d9f6 Fixed issue in plugin id invalidator caused by commit d5d5c0c 2018-03-19 13:30:19 -05:00
Nikolaus Gullotta
d5d5c0c026 cleanup, fix in-on-change issue. 2018-03-19 12:25:21 -05:00
3ee2c3d632 Lua is not an acronym 2018-03-19 18:18:35 +01:00
efbfbb8330 Speed up plugin-selector refill.
* Detach model from treeview and disable sorting during refill.
* Prevent multiple re-fills due to sensitivity updates of ComboBoxes:
  gtk_widget_set_sensitive() -> CairoWidget::on_state_changed ()
  -> CairoWidget::set_visual_state () ->  StateChanged Signal
2018-03-19 18:13:37 +01:00
ecb6e7fcfe Fix "Shortcut" special-case in the script-selector.
The Script-selector is used in various places, not just for
Action-scripts.

Also add a "--" prefix for the separator to avoid name conflicts with
actual script names.
2018-03-19 15:43:07 +01:00
2fa6314fb4 Lua: Lock bindings into memory for rt-scripts
Empirically this decreases gc-spike duration (worst-case) by a factor of
two and speeds up the average gc-run by a factor of over 4 (depending
on the amount of memory used by the plugin).
2018-03-19 02:43:03 +01:00
f2ca0c144b Customize Lua GC, add object-memory-lock API.
Add custom API to prevent Lua Objects from being garbage collected.
This is intended to for Ardour LuaBridge bindings (~1MB Objects:
tables, functions and userdata).
The bindings are persistent and the gc can skip them in mark & sweep
phases. This is a significant performance improvement for garbage
collection.

Note. The next version of Lua (5.4) will come with a generational-gc
rather than an incremental, so extending the API at this point in time
is acceptable.
2018-03-19 02:23:09 +01:00
2092934721 Example Lua script to perform action at specific wallclock time 2018-03-18 15:56:28 +01:00
5e2d5db6c7 Fix midi track mapping on pt import 2018-03-18 11:41:54 +11:00
1231a0805a Remove calls to deprecated Lua bitlib 2018-03-17 21:13:06 +01:00
c2ed125b8d Remove another C++11 construct (local struct) from UI code 2018-03-17 20:00:08 +01:00
1de8bc3617 Remove C++11isms (libptformat) 2018-03-17 19:59:38 +01:00
37e5b705e7 Fix wrong "_nth_" replacement in ba202cc09 2018-03-17 18:17:25 +01:00
ba202cc095 Don't alter, use and rely on selection for PT import 2018-03-17 17:32:29 +01:00
a36901a0d9 NO-OP: C++ify code
* remove typdef for struct
* Remove {} struct initializer, use a dedicated c'tor
* scope variables
2018-03-17 17:21:21 +01:00
9777baae00 NO-OP: whitespace
* distinguish comments and commented-out-code
* add space after function, before bracket
2018-03-17 17:15:44 +01:00
8b925fc395 PT import: Use multitrack MIDI import support based on ptformat update 2018-03-17 22:41:44 +11:00
cce575eb72 ptformat: Update to upstream master 4e653041
- Better MIDI support
2018-03-17 22:40:16 +11:00
f33cd95047 Startup Dialog: A change to the monitor selection should trigger a write to config. 2018-03-16 16:34:23 -05:00
Nikolaus Gullotta
3e103dbfcb add support to reinstantiate deleted plugins 2018-03-16 11:12:09 -05:00
Nikolaus Gullotta
8ec3aa1eec NO-OP: Convert Spaces to Tabs 2018-03-16 11:12:09 -05:00
Nikolaus Gullotta
a09111447f description changes and stop jumping instructions if proc:isnil() 2018-03-16 11:12:09 -05:00
d52967aa62 Expose a few more PluginInsert methods to Lua 2018-03-16 15:33:56 +01:00
7b597055ee GUI: create_vca() API change 2018-03-15 20:25:27 +01:00
c656aaab3c VCA API-change: return created VCAs (handy for Lua scripts) 2018-03-15 20:25:27 +01:00
Nikolaus Gullotta
51a0a2f74c re-add plugin bypass state and move proc order writing closer to top 2018-03-14 14:44:58 -05:00
Nikolaus Gullotta
fff345d48a I said, LESS ugly, not more :) 2018-03-13 14:51:47 -05:00
Nikolaus Gullotta
8c0c7260aa Now recalls plug-in ordering (also looks a bit less ugly hopefully? 2018-03-13 14:26:27 -05:00
7890
00e1e12baa Add Midnam for Roland TB-03
Named controllers according to MIDI implementation chart.
https://www.roland.com/global/support/by_product/tb-03/
2018-03-13 16:18:23 +01:00
3cd79cd80f Sort generic-midi bindings alphabetically 2018-03-13 16:18:03 +01:00
3d0bf90868 Novation LaunchKey 49 bindings from Michael McLeod 2018-03-13 16:18:03 +01:00
269b0ebcd8 Same for midi input enable button 2018-03-13 08:05:41 -07:00
b8856076c2 Trim and vca button should also be insensitive in strip aux mode 2018-03-12 16:03:53 -07:00
74c4e4a6d8 OSC: group commands should feedback all off if no group 2018-03-12 16:03:53 -07:00
Nikolaus Gullotta
899641dfc5 Initial checkin of mixer store script 2018-03-12 15:31:33 -05:00
c4208411db Tweak logic in master-bus packing to make it clearer; will also minimize conflicts with Mixbus. 2018-03-11 14:42:10 -05:00
98d6fe9c91 OSC: fix /strip/hidden feedback excess 2018-03-10 13:07:13 -08:00
b2259e11d0 OSC: change group sharing to individual commands
Send less feedback for group name and sharing
2018-03-10 13:07:13 -08:00
ed04660940 OSC: set surface should reset custom mode 2018-03-10 13:07:13 -08:00
f1dc45c7f2 OSC: Display only strips controlled by selected VCA 2018-03-10 13:07:13 -08:00
e4da386eb5 OSC: add set VCA for slavable strip 2018-03-10 13:07:13 -08:00
30533cd43a OSC: Added slaved feedback to select 2018-03-10 13:07:13 -08:00
5fe704e8c3 Add virtual slaved, slaved_to calls to stripable 2018-03-10 13:07:13 -08:00
d1290e82db OSC: check route exists 2018-03-10 13:07:13 -08:00
52ed40656b Safeguard against possibly invalid peak-requests
It may happen that WaveView requests a range that is larger than
the data on disk.

If start > _length, cnt becomes negative and the function will throw
or segfault.
2018-03-08 00:37:54 +01:00
89f0604d89 Allow loadfile in non-rt scripts 2018-03-06 21:47:30 +01:00
Nikolaus Gullotta
ee132c93ac Initial check in of EditorHook script transparent_regions.lua 2018-03-06 10:45:55 -06:00
Jan Lentfer
a2af019c95 generic_midi: add proper handling of midi controll toggles 2018-03-03 14:04:12 +01:00
7e5a488d81 Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set flag if the user actually edited it. 2018-03-02 17:35:18 -06:00
4734fc23f5 Allow successive changes from the Gui to set tags. 2018-03-02 15:57:58 -06:00