Commit graph

25508 commits

Author SHA1 Message Date
Robin Gareus
7a05ccb484 Tweak generic audio-track template
* Demo Factory method producing different functions
* Allow to run interactively as Action script
2017-08-20 19:15:37 +02:00
Robin Gareus
c399954148 Don't use references for constant c-types
This fixes various Lua-scripts: There are no explicit bindings to
turn int64_t, uint64_t into a const reference.

Besides it doesn't make sense to use a reference for constant _t that can
be directly loaded in CPU register or on the stack.
2017-08-20 19:02:17 +02:00
Robin Gareus
7bd4a41cdb Tweak route-dialog layout & sensitivity 2017-08-20 03:46:36 +02:00
Robin Gareus
1a70a2f977 Cont'd work on route-templates 2017-08-20 00:18:58 +02:00
Robin Gareus
9f1350a833 Fix "Track Wizard" script
* do check if plugins are available
* only instantiate plugins if they're used (no dangling references)
* check if plugin instantiation worked, before adding them
* fix typos for stereo setup of drum-room & overhead
* add channel-count warning
2017-08-19 23:32:09 +02:00
Robin Gareus
f62629f30f More template re-naming
Unify "track-band" & "session-band" setup scripts
2017-08-19 22:52:45 +02:00
Robin Gareus
c44979566d remove unused header (fixes OSX builds)
cocoacarbon.mm -> ardour_ui.h -> LuaBridge.h
Apple's  "Nil" vs Lua "Nil"
2017-08-19 22:30:00 +02:00
Robin Gareus
92521b7d74 unify session-template names 2017-08-19 22:28:25 +02:00
Robin Gareus
91a2cf7901 Backwards compatible LuaDialog layout (+new colspan option) 2017-08-19 03:12:28 +02:00
Robin Gareus
d3b341d5c2 Fix copy/paste typo in e0a83a7 2017-08-19 02:36:36 +02:00
Robin Gareus
e3475f8ae8 NO-OP: whitespace & style 2017-08-19 01:39:43 +02:00
Robin Gareus
722ac7575a Revert non "aesthetic tweaks" from f614d10994 2017-08-19 01:34:27 +02:00
Robin Gareus
a07465ceaa NO-OP: whitespace 2017-08-19 01:29:27 +02:00
Robin Gareus
2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
Robin Gareus
fb745cc5a8 Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
Ben Loftis
2a9bf034bb Templates: Mostly working tabular script. 2017-08-18 16:40:14 -05:00
Ben Loftis
d7cd457bdf Templates: basic support for columns in the script dialog. 2017-08-18 16:40:14 -05:00
Ben Loftis
ba5c19be4c Templates: first stab at a dialog with tabular layout. 2017-08-18 16:40:14 -05:00
Ben Loftis
f614d10994 Templates: aesthetic tweaks. 2017-08-18 16:40:14 -05:00
Paul Hedderly
0f00b1a28e prh: Added version 1b of my Mixbus Mix controller.
- Much of it is directly applicable to Ardour obviously, but some parts
  wont do anything
2017-08-18 23:03:58 +02:00
Robin Gareus
6edb3f8f9e Update Route-template example script & documentation 2017-08-18 22:45:47 +02:00
Robin Gareus
be6abce398 Add Lua binding to un/assign VCAs 2017-08-18 22:00:24 +02:00
Robin Gareus
08c1300718 Remove old destructive API (non layered is a dynamic mode) 2/2 2017-08-18 21:12:45 +02:00
Robin Gareus
af103cf3c2 Remove old destructive API (non layered is a dynamic mode) 1/2 2017-08-18 20:59:52 +02:00
Robin Gareus
b98712ff5b amend e0a83a75 RouteDialog + script details 2017-08-18 20:56:30 +02:00
Robin Gareus
e0a83a758e Redesign Session+Route Template Meta Script API
Remove special-cased script types. Allow Action-Scripts to be re-used
for session-setup or route-templates.
2017-08-18 20:42:55 +02:00
Robin Gareus
e951e68780 Add luaRef is Boolean 2017-08-18 20:42:55 +02:00
Paul Davis
3421c6e814 NO-OP: whitespace 2017-08-18 09:42:04 -04:00
Paul Davis
f84bebbb30 strip <Actions>/ from displayed path when printing bindings to HTML 2017-08-18 09:42:04 -04:00
Robin Gareus
91dcccb12b Fix quantization end-grid size. 2017-08-18 12:49:34 +02:00
Robin Gareus
013e3e84be Fix MIDI Quantization for internationalized Ardour.
Grid-settings are translatable, parsing a number from a translated string
e.g. "Quart de temps" for "Beats/4" failed.
2017-08-18 12:49:06 +02:00
Robin Gareus
f85c320759 Push user track-templates to the template list 2017-08-18 02:38:25 +02:00
Robin Gareus
bfee5a65d2 Fix typo in 952b8e1d74 2017-08-18 01:12:05 +02:00
Robin Gareus
952b8e1d74 Initialize an uninitialized variable 2017-08-18 00:18:59 +02:00
Robin Gareus
44657d8fc6 NO-OP: whitespace & scope 2017-08-18 00:18:18 +02:00
Robin Gareus
5ed68fd2f8 NO-OP: whitespace 2017-08-18 00:11:55 +02:00
Robin Gareus
38a029c069 Expose Lua bindings to create/delete VCAs 2017-08-18 00:11:55 +02:00
Robin Gareus
d2ad0a6c5f Consolidate add/track/route/bus wrappers -- step one. 2017-08-18 00:11:54 +02:00
Ben Loftis
41b4d089e5 Track Templates: shorten some of the track names. 2017-08-17 16:44:52 -05:00
Ben Loftis
9a7bd07e8f Some initial track templates. 2017-08-17 16:17:12 -05:00
Ben Loftis
4914b7feea Track templates: add some (unfinished) template files. Hide Created-With column in Ardour. 2017-08-17 15:31:30 -05:00
Robin Gareus
39ffe6d95e Add an example script for prototyping 2017-08-17 21:12:29 +02:00
Robin Gareus
6042c60b05 NO-OP: whitespace & scope 2017-08-17 21:00:46 +02:00
Ben Loftis
a02d8d254a Fix merge error. 2017-08-17 13:49:41 -05:00
Ben Loftis
ed8b8ffc71 Track Templates: redesign of Add Track dialog. 2017-08-17 13:32:01 -05:00
Ben Loftis
6c49d9555a Track Templates: initial lua backend support. 2017-08-17 13:31:45 -05:00
Ben Loftis
91e684ceeb Templates: fix unintended commit from debugging 2017-08-17 13:31:32 -05:00
Ben Loftis
0ac2ea51a5 Templates: dialog tweaks. 2017-08-17 13:31:02 -05:00
Ben Loftis
e59b28de09 Templates: Dim the border around template description text. 2017-08-17 13:28:41 -05:00
Robin Gareus
5f0279ab06 Catch some exceptions during session loading. 2017-08-17 19:28:14 +02:00