ardour.git
6 years agodescription changes and stop jumping instructions if proc:isnil()
Nikolaus Gullotta [Wed, 14 Mar 2018 19:51:37 +0000 (14:51 -0500)]
description changes and stop jumping instructions if proc:isnil()

6 years agoExpose a few more PluginInsert methods to Lua
Robin Gareus [Fri, 16 Mar 2018 14:33:56 +0000 (15:33 +0100)]
Expose a few more PluginInsert methods to Lua

6 years agoGUI: create_vca() API change
Robin Gareus [Thu, 15 Mar 2018 19:25:14 +0000 (20:25 +0100)]
GUI: create_vca() API change

6 years agoVCA API-change: return created VCAs (handy for Lua scripts)
Robin Gareus [Thu, 15 Mar 2018 19:24:53 +0000 (20:24 +0100)]
VCA API-change: return created VCAs (handy for Lua scripts)

6 years agore-add plugin bypass state and move proc order writing closer to top
Nikolaus Gullotta [Wed, 14 Mar 2018 14:58:56 +0000 (09:58 -0500)]
re-add plugin bypass state and move proc order writing closer to top

6 years agoI said, LESS ugly, not more :)
Nikolaus Gullotta [Tue, 13 Mar 2018 19:51:47 +0000 (14:51 -0500)]
I said, LESS ugly, not more :)

6 years agoNow recalls plug-in ordering (also looks a bit less ugly hopefully?
Nikolaus Gullotta [Tue, 13 Mar 2018 19:26:27 +0000 (14:26 -0500)]
Now recalls plug-in ordering (also looks a bit less ugly hopefully?

6 years agoAdd Midnam for Roland TB-03
7890 [Sun, 4 Feb 2018 09:10:00 +0000 (10:10 +0100)]
Add Midnam for Roland TB-03

Named controllers according to MIDI implementation chart.
https://www.roland.com/global/support/by_product/tb-03/

6 years agoSort generic-midi bindings alphabetically
Robin Gareus [Tue, 13 Mar 2018 15:17:31 +0000 (16:17 +0100)]
Sort generic-midi bindings alphabetically

6 years agoNovation LaunchKey 49 bindings from Michael McLeod
Robin Gareus [Tue, 13 Mar 2018 14:55:33 +0000 (15:55 +0100)]
Novation LaunchKey 49 bindings from Michael McLeod

6 years agoSame for midi input enable button
Len Ovens [Tue, 13 Mar 2018 15:05:41 +0000 (08:05 -0700)]
Same for midi input enable button

6 years agoTrim and vca button should also be insensitive in strip aux mode
Len Ovens [Mon, 12 Mar 2018 23:02:45 +0000 (16:02 -0700)]
Trim and vca button should also be insensitive in strip aux mode

6 years agoOSC: group commands should feedback all off if no group
Len Ovens [Sat, 10 Mar 2018 21:58:31 +0000 (13:58 -0800)]
OSC: group commands should feedback all off if no group

6 years agoInitial checkin of mixer store script
Nikolaus Gullotta [Mon, 12 Mar 2018 20:31:33 +0000 (15:31 -0500)]
Initial checkin of mixer store script

6 years agoTweak logic in master-bus packing to make it clearer; will also minimize conflicts...
Ben Loftis [Sun, 11 Mar 2018 19:42:00 +0000 (14:42 -0500)]
Tweak logic in master-bus packing to make it clearer; will also minimize conflicts with Mixbus.

6 years agoOSC: fix /strip/hidden feedback excess
Len Ovens [Sat, 10 Mar 2018 21:06:17 +0000 (13:06 -0800)]
OSC: fix /strip/hidden feedback excess

6 years agoOSC: change group sharing to individual commands
Len Ovens [Sat, 10 Mar 2018 20:58:14 +0000 (12:58 -0800)]
OSC: change group sharing to individual commands
Send less feedback for group name and sharing

6 years agoOSC: set surface should reset custom mode
Len Ovens [Wed, 7 Mar 2018 20:36:56 +0000 (12:36 -0800)]
OSC: set surface should reset custom mode

6 years agoOSC: Display only strips controlled by selected VCA
Len Ovens [Wed, 7 Mar 2018 20:20:30 +0000 (12:20 -0800)]
OSC: Display only strips controlled by selected VCA

6 years agoOSC: add set VCA for slavable strip
Len Ovens [Wed, 7 Mar 2018 18:41:07 +0000 (10:41 -0800)]
OSC: add set VCA for slavable strip

6 years agoOSC: Added slaved feedback to select
Len Ovens [Wed, 7 Mar 2018 17:38:38 +0000 (09:38 -0800)]
OSC: Added slaved feedback to select

6 years agoAdd virtual slaved, slaved_to calls to stripable
Len Ovens [Wed, 7 Mar 2018 16:49:57 +0000 (08:49 -0800)]
Add virtual slaved, slaved_to calls to stripable

6 years agoOSC: check route exists
Len Ovens [Sun, 4 Mar 2018 23:46:09 +0000 (15:46 -0800)]
OSC: check route exists

6 years agoSafeguard against possibly invalid peak-requests
Robin Gareus [Wed, 7 Mar 2018 23:37:54 +0000 (00:37 +0100)]
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.

6 years agoAllow loadfile in non-rt scripts
Robin Gareus [Tue, 6 Mar 2018 20:46:35 +0000 (21:46 +0100)]
Allow loadfile in non-rt scripts

6 years agoInitial check in of EditorHook script transparent_regions.lua
Nikolaus Gullotta [Tue, 6 Mar 2018 16:45:55 +0000 (10:45 -0600)]
Initial check in of EditorHook script transparent_regions.lua

6 years agogeneric_midi: add proper handling of midi controll toggles
Jan Lentfer [Sat, 3 Mar 2018 13:04:12 +0000 (14:04 +0100)]
generic_midi: add proper handling of midi controll toggles

6 years agoUnrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set...
Ben Loftis [Fri, 2 Mar 2018 23:35:18 +0000 (17:35 -0600)]
Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set flag if the user actually edited it.

6 years agoAllow successive changes from the Gui to set tags.
Ben Loftis [Fri, 2 Mar 2018 21:57:58 +0000 (15:57 -0600)]
Allow successive changes from the Gui to set tags.

6 years agoRemove interpolation unit-test (fails to compile)
Robin Gareus [Fri, 2 Mar 2018 15:13:37 +0000 (16:13 +0100)]
Remove interpolation unit-test (fails to compile)

Ardour vari-speed does no longer use ARDOUR::CubicInterpolation
and LinearInterpolation was removed.
vari-speed is now using zita-resampler.

6 years agoFix gcc-4.2 OSX/PPC builds
Robin Gareus [Fri, 2 Mar 2018 15:11:21 +0000 (16:11 +0100)]
Fix gcc-4.2 OSX/PPC builds

ambiguity between
  reverse_iterator rend();
  const_reverse_iterator rend() const;

6 years agoTag_reset() should be FromPlug, not FromGui.
Ben Loftis [Fri, 2 Mar 2018 00:26:09 +0000 (18:26 -0600)]
Tag_reset() should be FromPlug, not FromGui.

6 years agoFix thinko in prior commit 7c5f1c.
Ben Loftis [Thu, 1 Mar 2018 15:09:50 +0000 (09:09 -0600)]
Fix thinko in prior commit 7c5f1c.

6 years agoPlugin-Tag improvements:
Ben Loftis [Thu, 1 Mar 2018 14:59:48 +0000 (08:59 -0600)]
Plugin-Tag improvements:
 Initialize LADSPA tags.
 Explicitly define behavior of tags provided by plugin, factory, or user.
 Store the plugin name in the tag-file, for easier user-submissions and bulk editing.

6 years agoYet another spelling mistake fix
Robin Gareus [Wed, 28 Feb 2018 19:48:49 +0000 (20:48 +0100)]
Yet another spelling mistake fix

6 years agoFix a typo in session-utils (thanks to IOhannes/debian for reporting)
Robin Gareus [Wed, 28 Feb 2018 19:02:13 +0000 (20:02 +0100)]
Fix a typo in session-utils (thanks to IOhannes/debian for reporting)

6 years agoFix a typo (thanks to IOhannes/debian for reporting)
Robin Gareus [Wed, 28 Feb 2018 19:02:01 +0000 (20:02 +0100)]
Fix a typo (thanks to IOhannes/debian for reporting)

6 years agoFix some GUI typos (thanks to IOhannes/debian for reporting)
Robin Gareus [Wed, 28 Feb 2018 19:01:11 +0000 (20:01 +0100)]
Fix some GUI typos (thanks to IOhannes/debian for reporting)

6 years agoOSC: add group sharing bit feedback
Len Ovens [Wed, 28 Feb 2018 04:55:30 +0000 (20:55 -0800)]
OSC: add group sharing bit feedback

6 years agoOSC: add group sharing bit setting
Len Ovens [Tue, 27 Feb 2018 19:55:49 +0000 (11:55 -0800)]
OSC: add group sharing bit setting

6 years agoOSC: display only strips in group.
Len Ovens [Tue, 27 Feb 2018 19:15:08 +0000 (11:15 -0800)]
OSC: display only strips in group.

6 years agoImplement grid line colors ( was: measure lines ). This restores measure lines to...
Ben Loftis [Tue, 27 Feb 2018 22:39:49 +0000 (16:39 -0600)]
Implement grid line colors ( was: measure lines ). This restores measure lines to a brighter color than beats.

6 years agoReinstate the ability to split regions while dragging playhead. I think this was...
Ben Loftis [Tue, 27 Feb 2018 19:08:40 +0000 (13:08 -0600)]
Reinstate the ability to split regions while dragging playhead.  I think this was unintentionally lost.

6 years agoRemove some redundant calls to snap_to(). get_preferred_edit_position() already...
Ben Loftis [Tue, 27 Feb 2018 14:55:17 +0000 (08:55 -0600)]
Remove some redundant calls to snap_to().  get_preferred_edit_position() already did it.

6 years agoShould be able to Split in range mode, with a selected track.
Ben Loftis [Tue, 27 Feb 2018 02:38:50 +0000 (20:38 -0600)]
Should be able to Split in range mode, with a selected track.

6 years agoFix bug: sequential pasting to the same time, but different tracks, would trigger...
Ben Loftis [Tue, 27 Feb 2018 01:40:24 +0000 (19:40 -0600)]
Fix bug: sequential pasting to the same time, but different tracks, would trigger paste offset.

6 years agoSwitch CDFrame grid to use MinSec ruler rather than Sample ruler.
Ben Loftis [Tue, 27 Feb 2018 00:52:28 +0000 (18:52 -0600)]
Switch CDFrame grid to use MinSec ruler rather than Sample ruler.

6 years agoRename SMPTE enum back to Timecode.
Ben Loftis [Tue, 27 Feb 2018 00:38:18 +0000 (18:38 -0600)]
Rename SMPTE enum back to Timecode.

6 years agoFix a rather large naming thinko: GridTypeSamples should be CDFrames.
Ben Loftis [Mon, 26 Feb 2018 23:02:24 +0000 (17:02 -0600)]
Fix a rather large naming thinko: GridTypeSamples should be CDFrames.

6 years agoAdd missing checkbox: Snap to Marker.
Ben Loftis [Mon, 26 Feb 2018 21:52:06 +0000 (15:52 -0600)]
Add missing checkbox: Snap to Marker.

6 years agoSnap-to-grid should not invalidate other snap options. This was a leftover behavior...
Ben Loftis [Sat, 24 Feb 2018 16:53:03 +0000 (10:53 -0600)]
Snap-to-grid should not invalidate other snap options. This was a leftover behavior from prior iterations of Snap+Grid.

6 years agoFixes for region_boundary_cache:
Ben Loftis [Sat, 24 Feb 2018 16:30:52 +0000 (10:30 -0600)]
Fixes for region_boundary_cache:
 If no region-snaps are defined, bail out before generating cache.
 Avoid potential overflow at max_samplepos+1
 Snap should continue to work beyond the End marker.

6 years agoNO-OP: whitespace
Robin Gareus [Sat, 24 Feb 2018 12:54:15 +0000 (13:54 +0100)]
NO-OP: whitespace

- remove trailing whitespace
- remove space after opening brackets and before closing brackets
- add space around operators
- do not use '//' for multi-line comments, do not use "//" on line-start
  to comment-out code breaking indenting (-Wmisleading-indent)
- do add a single space after comment-start /*{SPACE}... or //{SPACE}...
- reserve duplicate whitespace "  " for alignment, remove other duplicate
  whitespace
- use established "TODO" and "XXX" (highlighted keywords)
- remove equal-sign series "====" (those indicate merge conflicts)

6 years agoFix/amend a23a8ebcad7.
Robin Gareus [Sat, 24 Feb 2018 11:55:48 +0000 (12:55 +0100)]
Fix/amend a23a8ebcad7.

Updated condition to check for transport_rolling to include preroll and
count-in (speed is != 0 during pre-roll and count-in, but transport is not
actually rolling).

6 years agoTell the user why Insert/Remove Time failed, rather than fail silently.
Ben Loftis [Fri, 23 Feb 2018 20:37:32 +0000 (14:37 -0600)]
Tell the user why Insert/Remove Time failed, rather than fail silently.

6 years agoUse transport_stopped() instead of speed check.
Ben Loftis [Fri, 23 Feb 2018 19:59:46 +0000 (13:59 -0600)]
Use transport_stopped() instead of speed check.

6 years agocatch (incorrect) inclusion of non-MIDI related automation parameters in MidiSource...
Paul Davis [Fri, 23 Feb 2018 19:56:58 +0000 (14:56 -0500)]
catch (incorrect) inclusion of non-MIDI related automation parameters in MidiSource XML nodes

6 years agoDo not interpolate playhead when stopped.
Ben Loftis [Fri, 23 Feb 2018 19:48:29 +0000 (13:48 -0600)]
Do not interpolate playhead when stopped.
This fixes a bug where, for a few seconds after transport stops, the users zoom+panning would get hijacked by the follow_playhead behavior, because the playhead was still "hunting".

6 years agoRevert afedd2 and associated commits (method to generate initial tag file)
Ben Loftis [Fri, 23 Feb 2018 14:49:14 +0000 (08:49 -0600)]
Revert afedd2 and associated commits (method to generate initial tag file)

6 years agoStart versioning Mixbus keybindings files.
Ben Loftis [Fri, 23 Feb 2018 14:34:59 +0000 (08:34 -0600)]
Start versioning Mixbus keybindings files.

6 years agoAccommodate recently removed source(s) in our MSVC project (gtk2_ardour)
John Emmas [Thu, 22 Feb 2018 11:24:43 +0000 (11:24 +0000)]
Accommodate recently removed source(s) in our MSVC project (gtk2_ardour)

6 years agofix compilation on windows with VST support
Len Ovens [Thu, 22 Feb 2018 05:05:53 +0000 (21:05 -0800)]
fix compilation on windows with VST support

6 years agoOSC: fix compiler warning and catch possible errors
Len Ovens [Thu, 22 Feb 2018 03:24:18 +0000 (19:24 -0800)]
OSC: fix compiler warning and catch possible errors

6 years agofix compilation on linux with LXVST support
Paul Davis [Thu, 22 Feb 2018 04:20:53 +0000 (23:20 -0500)]
fix compilation on linux with LXVST support

6 years agoMethod to generate an initial tag file:
Ben Loftis [Thu, 22 Feb 2018 00:04:45 +0000 (18:04 -0600)]
Method to generate an initial tag file:
rm config/plugin_tags
touch config/init_plugin_tags

6 years agoOSC: Add session name change
Len Ovens [Tue, 20 Feb 2018 23:48:54 +0000 (15:48 -0800)]
OSC: Add session name change

6 years agouser-friendly hack/heuristic: if they edit a BBT non-duration clock to say zero beats...
Paul Davis [Tue, 20 Feb 2018 22:19:43 +0000 (17:19 -0500)]
user-friendly hack/heuristic: if they edit a BBT non-duration clock to say zero beats, act as if they had used 1

6 years agoRe-add fixed-color DSP-load indicator background
Robin Gareus [Tue, 20 Feb 2018 11:53:21 +0000 (12:53 +0100)]
Re-add fixed-color DSP-load indicator background

6 years agoRemove ArdourGauges -- since they're no longer actual Gauge widgets
Robin Gareus [Tue, 20 Feb 2018 11:22:11 +0000 (12:22 +0100)]
Remove ArdourGauges -- since they're no longer actual Gauge widgets

The Gauges devolved into Labels with dedicated formatting and UI-config
colors. Prevent ArdourButton to happen all over over again...

6 years agoUse standard Labels again.
Robin Gareus [Tue, 20 Feb 2018 11:15:29 +0000 (12:15 +0100)]
Use standard Labels again.

Since the Gauges become little more than text with colored background,
prepare their removal. If color is wanted, use named widget-style.

6 years agoKeep track of unacknowledged log-level (error-indicator)
Robin Gareus [Tue, 20 Feb 2018 10:06:37 +0000 (11:06 +0100)]
Keep track of unacknowledged log-level (error-indicator)

This code was incorrectly removed in 97fb3a5557b5.

6 years agoReplace missing widget-name that got lost.
Ben Loftis [Mon, 19 Feb 2018 15:50:30 +0000 (09:50 -0600)]
Replace missing widget-name that got lost.

6 years agoPrevent mixer-add buttons from getting focus.
Ben Loftis [Mon, 19 Feb 2018 14:15:18 +0000 (08:15 -0600)]
Prevent mixer-add buttons from getting focus.

6 years agoAdd drop-shadow decorators to menu bar and transport toolbar.
Ben Loftis [Mon, 19 Feb 2018 14:05:55 +0000 (08:05 -0600)]
Add drop-shadow decorators to menu bar and transport toolbar.
 Allow status bar to fill available width.

6 years agoAdd flag for corners, where top+left shadows are both required.
Ben Loftis [Mon, 19 Feb 2018 14:01:27 +0000 (08:01 -0600)]
Add flag for corners, where top+left shadows are both required.

6 years agoRemove unused widget.
Ben Loftis [Sun, 18 Feb 2018 18:39:35 +0000 (12:39 -0600)]
Remove unused widget.

6 years agoAccommodate newly added/renamed source(s) in our MSVC project (gtk2_ardour)
John Emmas [Mon, 19 Feb 2018 11:16:49 +0000 (11:16 +0000)]
Accommodate newly added/renamed source(s) in our MSVC project (gtk2_ardour)

6 years agoOSC: allow setting of marker name
Len Ovens [Sun, 18 Feb 2018 17:15:35 +0000 (09:15 -0800)]
OSC: allow setting of marker name

6 years agoOSC: select comment should feedback when comment changed
Len Ovens [Sat, 17 Feb 2018 15:26:23 +0000 (07:26 -0800)]
OSC: select comment should feedback when comment changed

6 years agoOSC: Allow surface to change route comment.
Len Ovens [Sat, 17 Feb 2018 15:11:20 +0000 (07:11 -0800)]
OSC: Allow surface to change route comment.

6 years agoDrop-shadow spacer; for theming.
Ben Loftis [Sun, 18 Feb 2018 04:25:39 +0000 (22:25 -0600)]
Drop-shadow spacer;  for theming.

6 years agoFix long-standing bug in spacer expose+render.
Ben Loftis [Sat, 17 Feb 2018 22:46:04 +0000 (16:46 -0600)]
Fix long-standing bug in spacer expose+render.

6 years agoTweak the text of 2 snap options.
Ben Loftis [Sat, 17 Feb 2018 18:18:53 +0000 (12:18 -0600)]
Tweak the text of 2 snap options.

6 years agoAvoid disk-buffer error on startup. (again)
Ben Loftis [Sat, 17 Feb 2018 18:14:56 +0000 (12:14 -0600)]
Avoid disk-buffer error on startup.  (again)

6 years agoRevert some theme tweaks. Left-justify gauge text.
Ben Loftis [Fri, 16 Feb 2018 22:50:49 +0000 (16:50 -0600)]
Revert some theme tweaks.  Left-justify gauge text.

6 years agoAvoid error message on startup.
Ben Loftis [Fri, 16 Feb 2018 23:16:04 +0000 (17:16 -0600)]
Avoid error message on startup.

6 years agoShuffle order of items in status bar; change behavior per oofus on irc.
Ben Loftis [Fri, 16 Feb 2018 21:09:28 +0000 (15:09 -0600)]
Shuffle order of items in status bar; change behavior per oofus on irc.
 ( note: this essentially reverts ed459a )

6 years agoTweak packing to line-up button edges with transport toolbar.
Ben Loftis [Fri, 16 Feb 2018 20:48:26 +0000 (14:48 -0600)]
Tweak packing to line-up button edges with transport toolbar.

6 years agoMaybe gauges should only be colored when there is something to report: WARN or CRIT.
Ben Loftis [Fri, 16 Feb 2018 15:43:05 +0000 (09:43 -0600)]
Maybe gauges should only be colored when there is something to report: WARN or CRIT.

6 years agoConsistently use Gauge to avoid the overloaded term Indicator.
Ben Loftis [Fri, 16 Feb 2018 15:35:44 +0000 (09:35 -0600)]
Consistently use Gauge to avoid the overloaded term Indicator.

6 years agoRemove unused status labels. (using gauges instead)
Ben Loftis [Fri, 16 Feb 2018 15:19:45 +0000 (09:19 -0600)]
Remove unused status labels.  (using gauges instead)

6 years agoAdd Disk IO gauge.
Ben Loftis [Fri, 16 Feb 2018 15:03:57 +0000 (09:03 -0600)]
Add Disk IO gauge.

6 years agoReverse the drawing of DSP indicator to match other displays.
Ben Loftis [Fri, 16 Feb 2018 14:34:32 +0000 (08:34 -0600)]
Reverse the drawing of DSP indicator to match other displays.
 (note: this gets reverted in 76b7d1)

6 years agoMove cpu and disk gauges into the status bar at top.
Ben Loftis [Thu, 15 Feb 2018 23:31:37 +0000 (17:31 -0600)]
Move cpu and disk gauges into the status bar at top.

6 years agoGTKOSX is not a valid check. Use __APPLE__
Ben Loftis [Thu, 15 Feb 2018 22:32:37 +0000 (16:32 -0600)]
GTKOSX is not a valid check.  Use __APPLE__

6 years agoFix a few warnings
Ben Loftis [Thu, 15 Feb 2018 22:06:19 +0000 (16:06 -0600)]
Fix a few warnings

6 years agoMacOS: Move status info to top, just like win+linux. (but no menu up there of course.)
Ben Loftis [Wed, 14 Feb 2018 21:42:36 +0000 (15:42 -0600)]
MacOS: Move status info to top, just like win+linux.  (but no menu up there of course.)

6 years agoRemove display_message(); No more scary log message popups on osx.
Ben Loftis [Wed, 14 Feb 2018 21:32:43 +0000 (15:32 -0600)]
Remove display_message(); No more scary log message popups on osx.

6 years agoOSC: Select should be able to rename as well.
Len Ovens [Sat, 17 Feb 2018 06:54:16 +0000 (22:54 -0800)]
OSC: Select should be able to rename as well.

6 years agoOSC: added group join, switch, remove function
Len Ovens [Fri, 16 Feb 2018 21:08:09 +0000 (13:08 -0800)]
OSC: added group join, switch, remove function