ardour.git
6 years agoFix Route-template file suffix
Robin Gareus [Wed, 23 Aug 2017 19:32:53 +0000 (21:32 +0200)]
Fix Route-template file suffix

6 years agoExample Stereo to 2 x Mono track Lua script
Robin Gareus [Wed, 23 Aug 2017 17:39:23 +0000 (19:39 +0200)]
Example Stereo to 2 x Mono track Lua script

6 years agoUse new separate_by_channel API
Robin Gareus [Wed, 23 Aug 2017 17:38:43 +0000 (19:38 +0200)]
Use new separate_by_channel API

6 years agoUpdate "separate_by_channel" API & add Lua bindings
Robin Gareus [Wed, 23 Aug 2017 17:37:45 +0000 (19:37 +0200)]
Update "separate_by_channel" API & add Lua bindings

This breaks compilation (GUI)

6 years agoTrack Templates: remove uninteresting script.
Ben Loftis [Wed, 23 Aug 2017 17:13:40 +0000 (12:13 -0500)]
Track Templates: remove uninteresting script.

6 years agoUse literal for compatibility
Robin Gareus [Wed, 23 Aug 2017 10:43:48 +0000 (12:43 +0200)]
Use literal for compatibility

6 years agobackends: jack: display playback only devices
Stefan Müller-Klieser [Mon, 21 Aug 2017 18:44:16 +0000 (20:44 +0200)]
backends: jack: display playback only devices

When starting ardour using the jack backend, playback only devices
currently do not get displayed. Mixing and Mastering only workspaces
with e.g. a single USB Dac should be a common use case. Take this use
case into account by adding them to the device list. Tested on Linux
with jack-alsa.

6 years agoTrack Templates: Add verbose descriptions for the built-in track types.
Ben Loftis [Tue, 22 Aug 2017 21:20:26 +0000 (16:20 -0500)]
Track Templates: Add verbose descriptions for the built-in track types.

6 years agoTrack templates: clean-up widget sensitivity based on selection.
Ben Loftis [Tue, 22 Aug 2017 19:35:50 +0000 (14:35 -0500)]
Track templates:  clean-up widget sensitivity based on selection.

6 years agoRouteDialog: implicit "Add (+close)" on <enter> or double-click
Robin Gareus [Tue, 22 Aug 2017 15:28:08 +0000 (17:28 +0200)]
RouteDialog: implicit "Add (+close)" on <enter> or double-click

6 years agoReset RouteDialog: name edited by-user
Robin Gareus [Tue, 22 Aug 2017 15:07:42 +0000 (17:07 +0200)]
Reset RouteDialog: name edited by-user

* after each "Add" operation
* when cleaning the name field

6 years agoTweak RouteDialog bottom area
Robin Gareus [Tue, 22 Aug 2017 14:45:14 +0000 (16:45 +0200)]
Tweak RouteDialog bottom area

6 years agoTrack Templates: yet another layout tweak.
Ben Loftis [Tue, 22 Aug 2017 14:19:02 +0000 (09:19 -0500)]
Track Templates:  yet another layout tweak.

6 years agoRemove cruft
Robin Gareus [Tue, 22 Aug 2017 13:06:21 +0000 (15:06 +0200)]
Remove cruft

6 years agoOSC cue button up events should not be errors, fixed
Len Ovens [Tue, 22 Aug 2017 03:06:44 +0000 (20:06 -0700)]
OSC cue button up events should not be errors, fixed

6 years agoMark session dirty after applying MIDI transform
Robin Gareus [Tue, 22 Aug 2017 02:12:18 +0000 (04:12 +0200)]
Mark session dirty after applying MIDI transform

6 years agoMIDI Transform channel-count 1..16 (not 0..15)
Robin Gareus [Tue, 22 Aug 2017 02:09:19 +0000 (04:09 +0200)]
MIDI Transform channel-count 1..16 (not 0..15)

6 years agoAdd Lua bindings for ArdourUI's translate_order()
Robin Gareus [Tue, 22 Aug 2017 01:12:07 +0000 (03:12 +0200)]
Add Lua bindings for ArdourUI's translate_order()

e.g. calculate the route insert position:
print (ArdourUI.translate_order (ArdourUI.InsertAt.BeforeSelection))

6 years agoRouteDialog: retain prior type selection
Robin Gareus [Tue, 22 Aug 2017 00:17:22 +0000 (02:17 +0200)]
RouteDialog: retain prior type selection

6 years agoremove debug output
Robin Gareus [Tue, 22 Aug 2017 00:11:56 +0000 (02:11 +0200)]
remove debug output

6 years agoRouteDialog: Move built-in types into template list experiment
Robin Gareus [Tue, 22 Aug 2017 00:03:47 +0000 (02:03 +0200)]
RouteDialog: Move built-in types into template list experiment

6 years agoOSC: /cue/enable feedback not changing fixed
Len Ovens [Mon, 21 Aug 2017 19:09:48 +0000 (12:09 -0700)]
OSC: /cue/enable feedback not changing fixed

6 years agoFix spacing in french usage strings
Julien "_FrnchFrgg_" RIVAUD [Mon, 21 Aug 2017 17:44:41 +0000 (19:44 +0200)]
Fix spacing in french usage strings

6 years agoOSC: aux bus detection fixed for mixbus
Len Ovens [Mon, 21 Aug 2017 15:40:22 +0000 (08:40 -0700)]
OSC: aux bus detection fixed for mixbus

6 years agoCatch Lua exception when scanning scripts
Robin Gareus [Mon, 21 Aug 2017 15:07:54 +0000 (17:07 +0200)]
Catch Lua exception when scanning scripts

6 years agoprh: Small fix to /cue/send/enable feedback string
Paul Hedderly [Mon, 21 Aug 2017 14:08:22 +0000 (15:08 +0100)]
prh: Small fix to /cue/send/enable feedback string

6 years agoAddRouteDialog: Indicate Type: template
Robin Gareus [Mon, 21 Aug 2017 14:10:20 +0000 (16:10 +0200)]
AddRouteDialog: Indicate Type: template

6 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Mon, 21 Aug 2017 08:22:44 +0000 (09:22 +0100)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

6 years agoFix some GUI side XML node mem-leaks
Robin Gareus [Sun, 20 Aug 2017 20:26:54 +0000 (22:26 +0200)]
Fix some GUI side XML node mem-leaks

6 years agoFix a tiny memory leak
Robin Gareus [Sun, 20 Aug 2017 20:23:10 +0000 (22:23 +0200)]
Fix a tiny memory leak

6 years agoStrip trailing whitespace in template descriptions
Johannes Mueller [Sun, 20 Aug 2017 17:53:42 +0000 (19:53 +0200)]
Strip trailing whitespace in template descriptions

6 years agoTemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"
Johannes Mueller [Sun, 20 Aug 2017 17:10:50 +0000 (19:10 +0200)]
TemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"

Labeling it "Ok" would imply that by clicking it, descriptions would be saved
without further interaction. If we did so, we would also need to add a
cancel-button or handle simple closing of the dialog window appropriately.

6 years agoTemplateDialog tweaks
Johannes Mueller [Sun, 20 Aug 2017 12:35:29 +0000 (14:35 +0200)]
TemplateDialog tweaks

* don't ask whether to save the description when renaming the template

* sane behavior when a template is deleted

6 years agoClear and deactivate description editor widget when nothing is selected
Johannes Mueller [Sat, 19 Aug 2017 23:36:11 +0000 (01:36 +0200)]
Clear and deactivate description editor widget when nothing is selected

6 years agoTemplateDialog: keep private things private and header files simple
Johannes Mueller [Sat, 19 Aug 2017 22:54:19 +0000 (00:54 +0200)]
TemplateDialog: keep private things private and header files simple

6 years agoMake literals in libs/ardour/template_utils.cc translatable
Johannes Mueller [Sat, 19 Aug 2017 22:39:50 +0000 (00:39 +0200)]
Make literals in libs/ardour/template_utils.cc translatable

6 years agoAsk user whether to save or discard unsaved template descriptions
Johannes Mueller [Sat, 19 Aug 2017 22:29:46 +0000 (00:29 +0200)]
Ask user whether to save or discard unsaved template descriptions

6 years agoRemove the template description XMLNode before saving the template
Johannes Mueller [Sat, 19 Aug 2017 17:45:08 +0000 (19:45 +0200)]
Remove the template description XMLNode before saving the template

... to avoid that the new template description is concatenated to the old one.

6 years agoExtract the route template descriptions
Johannes Mueller [Sat, 19 Aug 2017 17:42:38 +0000 (19:42 +0200)]
Extract the route template descriptions

... and put them into the template info list.

6 years agoPass session description or route comment as default description
Johannes Mueller [Sat, 19 Aug 2017 12:52:38 +0000 (14:52 +0200)]
Pass session description or route comment as default description

... to SaveTemplateDialog

6 years agoUse const wherever you can
Johannes Mueller [Sat, 19 Aug 2017 12:52:14 +0000 (14:52 +0200)]
Use const wherever you can

6 years agoName tweak (more consistent with other code)
Johannes Mueller [Sat, 19 Aug 2017 12:51:14 +0000 (14:51 +0200)]
Name tweak (more consistent with other code)

6 years agoLet user add a route template description on saving route templates
Johannes Mueller [Sat, 19 Aug 2017 11:49:33 +0000 (13:49 +0200)]
Let user add a route template description on saving route templates

6 years agoLet the user add a template description on saving session templates
Johannes Mueller [Fri, 18 Aug 2017 17:53:46 +0000 (19:53 +0200)]
Let the user add a template description on saving session templates

6 years agoSave template description at toplevel rather than in <Metadata/>
Johannes Mueller [Fri, 18 Aug 2017 22:04:07 +0000 (00:04 +0200)]
Save template description at toplevel rather than in <Metadata/>

6 years agoMake template descriptions editable in template manager
Johannes Mueller [Thu, 17 Aug 2017 19:42:32 +0000 (21:42 +0200)]
Make template descriptions editable in template manager

6 years agoTweak generic audio-track template
Robin Gareus [Sun, 20 Aug 2017 17:15:37 +0000 (19:15 +0200)]
Tweak generic audio-track template

* Demo Factory method producing different functions
* Allow to run interactively as Action script

6 years agoDon't use references for constant c-types
Robin Gareus [Sun, 20 Aug 2017 17:02:17 +0000 (19:02 +0200)]
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.

6 years agoTweak route-dialog layout & sensitivity
Robin Gareus [Sun, 20 Aug 2017 01:46:36 +0000 (03:46 +0200)]
Tweak route-dialog layout & sensitivity

6 years agoCont'd work on route-templates
Robin Gareus [Sat, 19 Aug 2017 22:18:58 +0000 (00:18 +0200)]
Cont'd work on route-templates

6 years agoFix "Track Wizard" script
Robin Gareus [Sat, 19 Aug 2017 21:32:09 +0000 (23:32 +0200)]
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

6 years agoMore template re-naming
Robin Gareus [Sat, 19 Aug 2017 20:52:45 +0000 (22:52 +0200)]
More template re-naming

Unify "track-band" & "session-band" setup scripts

6 years agoremove unused header (fixes OSX builds)
Robin Gareus [Sat, 19 Aug 2017 20:30:00 +0000 (22:30 +0200)]
remove unused header (fixes OSX builds)

cocoacarbon.mm -> ardour_ui.h -> LuaBridge.h
Apple's  "Nil" vs Lua "Nil"

6 years agounify session-template names
Robin Gareus [Sat, 19 Aug 2017 20:28:25 +0000 (22:28 +0200)]
unify session-template names

6 years agoBackwards compatible LuaDialog layout (+new colspan option)
Robin Gareus [Sat, 19 Aug 2017 01:12:28 +0000 (03:12 +0200)]
Backwards compatible LuaDialog layout (+new colspan option)

6 years agoFix copy/paste typo in e0a83a7
Robin Gareus [Sat, 19 Aug 2017 00:36:36 +0000 (02:36 +0200)]
Fix copy/paste typo in e0a83a7

6 years agoNO-OP: whitespace & style
Robin Gareus [Fri, 18 Aug 2017 23:39:43 +0000 (01:39 +0200)]
NO-OP: whitespace & style

6 years agoRevert non "aesthetic tweaks" from f614d10994
Robin Gareus [Fri, 18 Aug 2017 23:32:28 +0000 (01:32 +0200)]
Revert non "aesthetic tweaks" from f614d10994

6 years agoNO-OP: whitespace
Robin Gareus [Fri, 18 Aug 2017 23:29:27 +0000 (01:29 +0200)]
NO-OP: whitespace

6 years agoLua may call C++ functions with throw. Catch them
Robin Gareus [Fri, 18 Aug 2017 23:05:08 +0000 (01:05 +0200)]
Lua may call C++ functions with throw. Catch them

6 years agoLua may call C++ functions with throw. Catch them
Robin Gareus [Fri, 18 Aug 2017 23:05:18 +0000 (01:05 +0200)]
Lua may call C++ functions with throw. Catch them

6 years agoTemplates: Mostly working tabular script.
Ben Loftis [Fri, 18 Aug 2017 21:40:06 +0000 (16:40 -0500)]
Templates: Mostly working tabular script.

6 years agoTemplates: basic support for columns in the script dialog.
Ben Loftis [Fri, 18 Aug 2017 20:29:34 +0000 (15:29 -0500)]
Templates:  basic support for columns in the script dialog.

6 years agoTemplates: first stab at a dialog with tabular layout.
Ben Loftis [Fri, 18 Aug 2017 20:28:46 +0000 (15:28 -0500)]
Templates: first stab at a dialog with tabular layout.

6 years agoTemplates: aesthetic tweaks.
Ben Loftis [Fri, 18 Aug 2017 13:37:09 +0000 (08:37 -0500)]
Templates: aesthetic tweaks.

6 years agoprh: Added version 1b of my Mixbus Mix controller.
Paul Hedderly [Fri, 18 Aug 2017 20:36:27 +0000 (21:36 +0100)]
prh: Added version 1b of my Mixbus Mix controller.
- Much of it is directly applicable to Ardour obviously, but some parts
  wont do anything

6 years agoUpdate Route-template example script & documentation
Robin Gareus [Fri, 18 Aug 2017 20:45:47 +0000 (22:45 +0200)]
Update Route-template example script & documentation

6 years agoAdd Lua binding to un/assign VCAs
Robin Gareus [Fri, 18 Aug 2017 20:00:24 +0000 (22:00 +0200)]
Add Lua binding to un/assign VCAs

6 years agoRemove old destructive API (non layered is a dynamic mode) 2/2
Robin Gareus [Fri, 18 Aug 2017 19:12:45 +0000 (21:12 +0200)]
Remove old destructive API (non layered is a dynamic mode) 2/2

6 years agoRemove old destructive API (non layered is a dynamic mode) 1/2
Robin Gareus [Fri, 18 Aug 2017 18:59:52 +0000 (20:59 +0200)]
Remove old destructive API (non layered is a dynamic mode) 1/2

6 years agoamend e0a83a75 RouteDialog + script details
Robin Gareus [Fri, 18 Aug 2017 18:56:30 +0000 (20:56 +0200)]
amend e0a83a75 RouteDialog + script details

6 years agoRedesign Session+Route Template Meta Script API
Robin Gareus [Fri, 18 Aug 2017 18:41:35 +0000 (20:41 +0200)]
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.

6 years agoAdd luaRef is Boolean
Robin Gareus [Fri, 18 Aug 2017 18:41:53 +0000 (20:41 +0200)]
Add luaRef is Boolean

6 years agoNO-OP: whitespace
Paul Davis [Fri, 18 Aug 2017 13:41:57 +0000 (09:41 -0400)]
NO-OP: whitespace

6 years agostrip <Actions>/ from displayed path when printing bindings to HTML
Paul Davis [Fri, 18 Aug 2017 13:41:45 +0000 (09:41 -0400)]
strip <Actions>/ from displayed path when printing bindings to HTML

6 years agoFix quantization end-grid size.
Robin Gareus [Fri, 18 Aug 2017 10:49:34 +0000 (12:49 +0200)]
Fix quantization end-grid size.

6 years agoFix MIDI Quantization for internationalized Ardour.
Robin Gareus [Fri, 18 Aug 2017 10:49:06 +0000 (12:49 +0200)]
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.

6 years agoPush user track-templates to the template list
Robin Gareus [Thu, 17 Aug 2017 23:51:02 +0000 (01:51 +0200)]
Push user track-templates to the template list

6 years agoFix typo in 952b8e1d74
Robin Gareus [Thu, 17 Aug 2017 23:12:05 +0000 (01:12 +0200)]
Fix typo in 952b8e1d74

6 years agoInitialize an uninitialized variable
Robin Gareus [Thu, 17 Aug 2017 22:18:59 +0000 (00:18 +0200)]
Initialize an uninitialized variable

6 years agoNO-OP: whitespace & scope
Robin Gareus [Thu, 17 Aug 2017 22:18:18 +0000 (00:18 +0200)]
NO-OP: whitespace & scope

6 years agoNO-OP: whitespace
Robin Gareus [Thu, 17 Aug 2017 22:09:10 +0000 (00:09 +0200)]
NO-OP: whitespace

6 years agoExpose Lua bindings to create/delete VCAs
Robin Gareus [Thu, 17 Aug 2017 21:50:34 +0000 (23:50 +0200)]
Expose Lua bindings to create/delete VCAs

6 years agoConsolidate add/track/route/bus wrappers -- step one.
Robin Gareus [Thu, 17 Aug 2017 21:41:22 +0000 (23:41 +0200)]
Consolidate add/track/route/bus wrappers -- step one.

6 years agoTrack Templates: shorten some of the track names.
Ben Loftis [Thu, 17 Aug 2017 21:44:52 +0000 (16:44 -0500)]
Track Templates: shorten some of the track names.

6 years agoSome initial track templates.
Ben Loftis [Thu, 17 Aug 2017 21:17:12 +0000 (16:17 -0500)]
Some initial track templates.

6 years agoTrack templates: add some (unfinished) template files. Hide Created-With column...
Ben Loftis [Thu, 17 Aug 2017 20:31:17 +0000 (15:31 -0500)]
Track templates: add some (unfinished) template files.  Hide Created-With column in Ardour.

6 years agoAdd an example script for prototyping
Robin Gareus [Thu, 17 Aug 2017 19:12:29 +0000 (21:12 +0200)]
Add an example script for prototyping

6 years agoNO-OP: whitespace & scope
Robin Gareus [Thu, 17 Aug 2017 18:52:16 +0000 (20:52 +0200)]
NO-OP: whitespace & scope

6 years agoFix merge error.
Ben Loftis [Thu, 17 Aug 2017 18:49:41 +0000 (13:49 -0500)]
Fix merge error.

6 years agoTrack Templates: redesign of Add Track dialog.
Ben Loftis [Thu, 17 Aug 2017 18:24:49 +0000 (13:24 -0500)]
Track Templates: redesign of Add Track dialog.

6 years agoTrack Templates: initial lua backend support.
Ben Loftis [Wed, 16 Aug 2017 23:04:45 +0000 (18:04 -0500)]
Track Templates: initial lua backend support.

6 years agoTemplates: fix unintended commit from debugging
Ben Loftis [Wed, 16 Aug 2017 15:25:53 +0000 (10:25 -0500)]
Templates:  fix unintended commit from debugging

6 years agoTemplates: dialog tweaks.
Ben Loftis [Wed, 16 Aug 2017 15:17:30 +0000 (10:17 -0500)]
Templates:  dialog tweaks.

6 years agoTemplates: Dim the border around template description text.
Ben Loftis [Thu, 17 Aug 2017 18:28:41 +0000 (13:28 -0500)]
Templates: Dim the border around template description text.

6 years agoCatch some exceptions during session loading.
Robin Gareus [Thu, 17 Aug 2017 17:28:14 +0000 (19:28 +0200)]
Catch some exceptions during session loading.

6 years agoUpdate GUI, session-format notifications, skip unusable in recent list
Robin Gareus [Thu, 17 Aug 2017 16:52:07 +0000 (18:52 +0200)]
Update GUI, session-format notifications, skip unusable in recent list

6 years agoCheck major session file format version.
Robin Gareus [Thu, 17 Aug 2017 16:32:49 +0000 (18:32 +0200)]
Check major session file format version.

Don't allow to load sessions created with a newer version of Ardour
with an old one (no forward compatibility).

6 years agoSessionDialog: hide created-with column in Ardour, use a tooltip.
Robin Gareus [Thu, 17 Aug 2017 14:47:27 +0000 (16:47 +0200)]
SessionDialog: hide created-with column in Ardour, use a tooltip.

6 years agoExpose enums used in RCConfig and other missing classes to Lua.
Robin Gareus [Wed, 16 Aug 2017 23:13:28 +0000 (01:13 +0200)]
Expose enums used in RCConfig and other missing classes to Lua.