ardour.git
5 years agoset up core stuff for velocity display option
Paul Davis [Tue, 3 Jul 2018 18:06:25 +0000 (14:06 -0400)]
set up core stuff for velocity display option

5 years agoenum convert for VelocityDisplayOption
Paul Davis [Tue, 3 Jul 2018 18:06:09 +0000 (14:06 -0400)]
enum convert for VelocityDisplayOption

5 years agoadd VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly
Paul Davis [Tue, 3 Jul 2018 18:05:16 +0000 (14:05 -0400)]
add VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly

5 years agofix rectangle computation, and re-use alex' color computation
Paul Davis [Tue, 3 Jul 2018 16:39:56 +0000 (12:39 -0400)]
fix rectangle computation, and re-use alex' color computation

5 years agoadd a guess at appropriate color management for note velocity display
Paul Davis [Tue, 3 Jul 2018 15:43:42 +0000 (11:43 -0400)]
add a guess at appropriate color management for note velocity display

I think that HSV::opposite() is probably too strong here. HSV::darker() might be better. Experimentation needed.

5 years agocall Note::set_velocity() at an appropriate time
Paul Davis [Tue, 3 Jul 2018 15:28:01 +0000 (11:28 -0400)]
call Note::set_velocity() at an appropriate time

5 years agouse new Canvas::Note object for (sustained) note display
Paul Davis [Tue, 3 Jul 2018 15:21:53 +0000 (11:21 -0400)]
use new Canvas::Note object for (sustained) note display

5 years agoinitial implementation of a more specialized canvas item for (sustained) notes
Paul Davis [Tue, 3 Jul 2018 15:21:25 +0000 (11:21 -0400)]
initial implementation of a more specialized canvas item for (sustained) notes

5 years agominor code optimization for Rectangle::render()
Paul Davis [Tue, 3 Jul 2018 13:22:18 +0000 (09:22 -0400)]
minor code optimization for Rectangle::render()

5 years agoOSC: Make sure group name for select gets updated
Len Ovens [Mon, 2 Jul 2018 15:18:42 +0000 (08:18 -0700)]
OSC: Make sure group name for select gets updated

5 years agoOSC: bugfix, select/next\previous sometimes resets to old strip
Len Ovens [Sun, 1 Jul 2018 01:59:37 +0000 (18:59 -0700)]
OSC: bugfix, select/next\previous sometimes resets to old strip

5 years agoOSC: Add collect of groups or subgroups
Len Ovens [Fri, 29 Jun 2018 21:47:34 +0000 (14:47 -0700)]
OSC: Add collect of groups or subgroups

5 years agoAdd method to find subgroup_bus
Len Ovens [Sat, 30 Jun 2018 22:23:37 +0000 (15:23 -0700)]
Add method to find subgroup_bus

5 years agoFix code style
Len Ovens [Sat, 30 Jun 2018 21:14:31 +0000 (14:14 -0700)]
Fix code style

5 years agowhen creating a route from a template, use correct call to setup XML state so that...
Paul Davis [Thu, 28 Jun 2018 23:14:37 +0000 (19:14 -0400)]
when creating a route from a template, use correct call to setup XML state so that name/ports are unique

5 years agocall IO::prepare_for_reset() on BOTH IO nodes of a PortInsert's XML state, not just...
Paul Davis [Thu, 28 Jun 2018 23:03:59 +0000 (19:03 -0400)]
call IO::prepare_for_reset() on BOTH IO nodes of a PortInsert's XML state, not just one of them.

Allows drag-n-drop of port inserts to work

5 years agofix mixing scope brace
Paul Davis [Mon, 25 Jun 2018 14:06:44 +0000 (10:06 -0400)]
fix mixing scope brace

5 years agoAccommodate recently removed source(s) in our MSVC project (libardour)
John Emmas [Mon, 25 Jun 2018 11:11:10 +0000 (12:11 +0100)]
Accommodate recently removed source(s) in our MSVC project (libardour)

(this also needs ardour_genericmidi to link to both evoral and boost-regex)

5 years agoOSC: make select logic more sensible
Len Ovens [Mon, 25 Jun 2018 03:04:22 +0000 (20:04 -0700)]
OSC: make select logic more sensible

5 years agoadd Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to...
Paul Davis [Fri, 22 Jun 2018 02:28:11 +0000 (22:28 -0400)]
add Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to a toggled controllable.

No intent to change Ctl_Momentary or Ctl_Toggle behaviour, plus I tried to document what they are intended to support

5 years agoremove debug output
Paul Davis [Thu, 21 Jun 2018 19:27:58 +0000 (15:27 -0400)]
remove debug output

5 years agoremove Session::controllable_by_descriptor() and move code into GenericMIDI code...
Paul Davis [Thu, 21 Jun 2018 17:05:37 +0000 (13:05 -0400)]
remove Session::controllable_by_descriptor() and move code into GenericMIDI code (the only user).

This also removes enums introduced to describe well-known parameters for Mixbus. Lookup now involves string
parsing every time, but this is not likely to be a notable cost.

5 years agoAdd script to normalize all tracks
Robin Gareus [Wed, 20 Jun 2018 21:35:28 +0000 (23:35 +0200)]
Add script to normalize all tracks

5 years agoPut duplicate code of a-comp and a-expander into one file ...
Johannes Mueller [Sun, 17 Jun 2018 09:42:49 +0000 (11:42 +0200)]
Put duplicate code of a-comp and a-expander into one file ...

... for better maintainability

consolidated duplicate code:
  * drawing the dB-grid of a-comp's and a-expander's full display
  * drawing the gain reduction bar of a-comp's and a-expander's full display
  * the entire only-bars display

5 years agoConsolidated a-comp/a-exp run_mono() and run_stereo() to one run()
Johannes Mueller [Thu, 14 Jun 2018 20:29:13 +0000 (22:29 +0200)]
Consolidated a-comp/a-exp run_mono() and run_stereo() to one run()

Up to now we had in a-comp and a-exp one run_mono() and one run_stero()
function which where almost identical except that run_stereo() treated two
in/outs and run_mono() only one. Now we store the number of channels
acomp->n_channels according to the URI and in run() we loop over an array of
pointers to the in/out buffers.

5 years agoMake makeup_gain smoothening of a-expander same as in a-comp
Johannes Mueller [Sat, 9 Jun 2018 16:50:43 +0000 (18:50 +0200)]
Make makeup_gain smoothening of a-expander same as in a-comp

5 years agoOSC: fix pre gcc5 problem
Len Ovens [Wed, 20 Jun 2018 19:34:15 +0000 (12:34 -0700)]
OSC: fix pre gcc5 problem

5 years agoOSC: Add /select/vca/toggle
Len Ovens [Wed, 20 Jun 2018 19:30:08 +0000 (12:30 -0700)]
OSC: Add /select/vca/toggle

5 years agocheck-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman
Nikolaus Gullotta [Wed, 20 Jun 2018 19:15:11 +0000 (14:15 -0500)]
check-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman

5 years agoa-comp: makeup_gain needs to be smoothened after every sample ...
Johannes Mueller [Sat, 9 Jun 2018 16:02:05 +0000 (18:02 +0200)]
a-comp: makeup_gain needs to be smoothened after every sample ...

... not only once in every run

5 years agoAdd a control port to a-comp select which mode to display inline
Johannes Mueller [Tue, 15 Aug 2017 19:23:44 +0000 (21:23 +0200)]
Add a control port to a-comp select which mode to display inline

5 years agoAllow plugin inline displays to shrink
Johannes Mueller [Tue, 15 Aug 2017 19:05:13 +0000 (21:05 +0200)]
Allow plugin inline displays to shrink

Plugin inline displays were forbidden to shrink as this might cause a deadlock
when the shrinkage causes the scrollbar to disappear.

display shrink → scrollbar unneeded → scrollbar disappears →
more horizontal space -> display grows -> scrollbar appears →
less horizontal space -> display shrink and so forth

This was formerly avoided by not allowing display shrinkage.

The solution proposed here sets the maximum height of the display to the
current height, if a scrollbar is present during resizing and has not been
present during the last resizing. So if this scrollbar disappears (after
resizing it might no longer be needed), the display would have the possibility
to grow, but it does not grow vertically as the maximum height is limited to
the current height.

5 years agoMake a-comp's meter show numerical values in "4.1f"
Johannes Mueller [Mon, 14 Aug 2017 18:41:37 +0000 (20:41 +0200)]
Make a-comp's meter show numerical values in "4.1f"

according to discussion in irc.

5 years agoPut input level meter before output level meter in the generic gui
Johannes Mueller [Mon, 14 Aug 2017 18:22:05 +0000 (20:22 +0200)]
Put input level meter before output level meter in the generic gui

This is done by relying on the fact that the generic gui orders the meters
according to their port indices.

5 years agoVisualize the peak of the compressor state in a-comp
Johannes Mueller [Mon, 7 Aug 2017 11:26:47 +0000 (13:26 +0200)]
Visualize the peak of the compressor state in a-comp

5 years agoDrop LPF of input level visualization in a-comp
Johannes Mueller [Mon, 7 Aug 2017 11:23:31 +0000 (13:23 +0200)]
Drop LPF of input level visualization in a-comp

5 years agoShow the input level in acomp's inline display rather than output level
Johannes Mueller [Fri, 4 Aug 2017 13:03:50 +0000 (15:03 +0200)]
Show the input level in acomp's inline display rather than output level

5 years agoInlevel output port to visualize the input level in the generic GUI
Johannes Mueller [Fri, 4 Aug 2017 12:07:01 +0000 (14:07 +0200)]
Inlevel output port to visualize the input level in the generic GUI

5 years agoImprove level vizualisation in a-comp
Johannes Mueller [Fri, 4 Aug 2017 12:05:16 +0000 (14:05 +0200)]
Improve level vizualisation in a-comp

* LPF in the signal visialization

* Lower minimum values

5 years agoGR-based visualization in a-comp
Johannes Mueller [Fri, 4 Aug 2017 09:07:33 +0000 (11:07 +0200)]
GR-based visualization in a-comp

5 years agoNew attack and release behavior for a-comp
Johannes Mueller [Thu, 3 Aug 2017 10:05:46 +0000 (12:05 +0200)]
New attack and release behavior for a-comp

Details in http://tracker.ardour.org/view.php?id=7439

5 years agoDon't use acomp->v_gainr outside LV2_EXTENDED ifdefs
Johannes Mueller [Mon, 7 Aug 2017 09:10:54 +0000 (11:10 +0200)]
Don't use acomp->v_gainr outside LV2_EXTENDED ifdefs

5 years agosr = 0, not rate
Nikolaus Gullotta [Tue, 19 Jun 2018 18:56:42 +0000 (13:56 -0500)]
sr = 0, not rate

5 years agocap redrawing at 15 times /s
Nikolaus Gullotta [Tue, 19 Jun 2018 18:53:55 +0000 (13:53 -0500)]
cap redrawing at 15 times /s

5 years agoRevert frame -> sample changes where it's a frame as in Gtk::Frame
Johannes Mueller [Sat, 9 Jun 2018 17:08:15 +0000 (19:08 +0200)]
Revert frame -> sample changes where it's a frame as in Gtk::Frame

5 years agoOSC: reworking of previous/next select
Len Ovens [Tue, 19 Jun 2018 16:45:20 +0000 (09:45 -0700)]
OSC: reworking of previous/next select

5 years agoOSC: Feedback was not making it to surface
Len Ovens [Tue, 17 Apr 2018 20:10:59 +0000 (13:10 -0700)]
OSC: Feedback was not making it to surface

5 years agoOSC group sharing should be cleared for VCAs
Len Ovens [Mon, 16 Apr 2018 17:48:48 +0000 (10:48 -0700)]
OSC group sharing should be cleared for VCAs

5 years agoOSC: added context based previous/next select
Len Ovens [Mon, 16 Apr 2018 16:51:59 +0000 (09:51 -0700)]
OSC: added context based previous/next select

5 years agoOSC: select should not show expand if invalid
Len Ovens [Wed, 11 Apr 2018 17:48:24 +0000 (10:48 -0700)]
OSC: select should not show expand if invalid

5 years agoOSC expand off should check current sellect
Len Ovens [Wed, 11 Apr 2018 16:35:51 +0000 (09:35 -0700)]
OSC expand off should check current sellect

5 years agoOSC: Allow expand to be global
Len Ovens [Wed, 11 Apr 2018 16:24:21 +0000 (09:24 -0700)]
OSC: Allow expand to be global

5 years agoOSC do not recalc select if still valid
Len Ovens [Sat, 7 Apr 2018 17:42:11 +0000 (10:42 -0700)]
OSC do not recalc select if still valid

5 years agocontext menus should have accelerators
Paul Davis [Thu, 14 Jun 2018 21:29:58 +0000 (17:29 -0400)]
context menus should have accelerators

5 years agoHide designated LV2 freewheeling port.
Robin Gareus [Sat, 9 Jun 2018 12:40:46 +0000 (14:40 +0200)]
Hide designated LV2 freewheeling port.

5 years agoAllow snapping to the start of the video timeline. (should work, but needs testing...
Ben Loftis [Fri, 8 Jun 2018 21:12:35 +0000 (16:12 -0500)]
Allow snapping to the start of the video timeline.  (should work, but needs testing on a machine with harvid).

5 years agoRemove duplicate class-keys (amend d95df9164)
Robin Gareus [Wed, 6 Jun 2018 13:07:08 +0000 (15:07 +0200)]
Remove duplicate class-keys (amend d95df9164)

5 years agoremove aeffectx.h; use vestige.h
Paul Davis [Mon, 4 Jun 2018 21:38:32 +0000 (17:38 -0400)]
remove aeffectx.h; use vestige.h

5 years agoNO-OP: Modify a #include (purely for consistency)
John Emmas [Mon, 4 Jun 2018 09:43:19 +0000 (10:43 +0100)]
NO-OP: Modify a #include (purely for consistency)

5 years agono error logging for CURL HTTP requests; future callers can request it if necessary
Paul Davis [Sat, 2 Jun 2018 17:24:17 +0000 (13:24 -0400)]
no error logging for CURL HTTP requests; future callers can request it if necessary

5 years agoforgot else in selected-tracks check.
Nikolaus Gullotta [Fri, 1 Jun 2018 16:25:46 +0000 (11:25 -0500)]
forgot else in selected-tracks check.

5 years agomoving singen and noisegen from mixbus repo to ardour + change singen display and...
Nikolaus Gullotta [Fri, 6 Apr 2018 17:54:41 +0000 (12:54 -0500)]
moving singen and noisegen from mixbus repo to ardour + change singen display and add noisegen display

5 years agoadd Gtk::ColorButton widget to LuaDialog and add ability to change multiple route...
Nikolaus Gullotta [Tue, 3 Apr 2018 20:38:54 +0000 (15:38 -0500)]
add Gtk::ColorButton widget to LuaDialog and add ability to change multiple route colors at a time

5 years agoCheck-in of set_meter_point() utility/example
Nikolaus Gullotta [Fri, 1 Jun 2018 14:51:52 +0000 (09:51 -0500)]
Check-in of set_meter_point() utility/example

5 years agoExample snippet to list plugins (and their presets)
Robin Gareus [Thu, 31 May 2018 14:01:52 +0000 (16:01 +0200)]
Example snippet to list plugins (and their presets)

5 years agoAdd Lua API to list all available plugins
Robin Gareus [Thu, 31 May 2018 14:01:35 +0000 (16:01 +0200)]
Add Lua API to list all available plugins

5 years agono actual error messages when curl requests fail
Paul Davis [Thu, 24 May 2018 03:08:13 +0000 (23:08 -0400)]
no actual error messages when curl requests fail

6 years agoMove a couple of #undef's
John Emmas [Sat, 19 May 2018 08:28:30 +0000 (09:28 +0100)]
Move a couple of #undef's

'pbd/timing.h' now includes a call to 'std::numeric_limits<>::max()'

6 years agoDisplay profile-data in generic plugin-UI.
Robin Gareus [Thu, 17 May 2018 20:14:08 +0000 (22:14 +0200)]
Display profile-data in generic plugin-UI.

6 years agoCollect plugin runtime profile statistics.
Robin Gareus [Thu, 17 May 2018 20:09:33 +0000 (22:09 +0200)]
Collect plugin runtime profile statistics.

6 years agoAdd a time-profiler with statistics
Robin Gareus [Thu, 17 May 2018 20:00:27 +0000 (22:00 +0200)]
Add a time-profiler with statistics

6 years agoPlayhead to Grid: handle case where PH is rolling, and we are prevented from skipping...
Ben Loftis [Thu, 17 May 2018 20:00:50 +0000 (15:00 -0500)]
Playhead to Grid: handle case where PH is rolling, and we are prevented from skipping backwards sensibly.

6 years agoQuantize Dialog: Use same grid names as the main grid. (1/16 Note instead of Beats/4)
Ben Loftis [Tue, 15 May 2018 14:52:40 +0000 (09:52 -0500)]
Quantize Dialog: Use same grid names as the main grid. (1/16 Note instead of Beats/4)

6 years agoQuantize Dialog: Fix quantize-to-main-grid selection. Was checking against incorrect...
Ben Loftis [Tue, 15 May 2018 14:36:50 +0000 (09:36 -0500)]
Quantize Dialog: Fix quantize-to-main-grid selection.  Was checking against incorrect menu entry string.

6 years agoMake the peak indication in the graph of a-expander green ...
Johannes Mueller [Mon, 7 Aug 2017 12:58:59 +0000 (14:58 +0200)]
Make the peak indication in the graph of a-expander green ...

... so that it has a different color than the expander curve

6 years agoLimit gain reduction of a-expander to 160 dB in order to ...
Johannes Mueller [Mon, 7 Aug 2017 12:02:33 +0000 (14:02 +0200)]
Limit gain reduction of a-expander to 160 dB in order to ...

improve release behavior.

This slows down the release after events like single snare hits as, the gain
reduction only releases to 160 dB rather than to inf.

6 years agoVisualize peak input in a-expander
Johannes Mueller [Mon, 7 Aug 2017 12:02:21 +0000 (14:02 +0200)]
Visualize peak input in a-expander

6 years agoAdd output control port to a-exp for input level
Johannes Mueller [Fri, 4 Aug 2017 15:10:42 +0000 (17:10 +0200)]
Add output control port to a-exp for input level

6 years agoIndicate input level in a-exp's inline display rather than output
Johannes Mueller [Fri, 4 Aug 2017 13:52:44 +0000 (15:52 +0200)]
Indicate input level in a-exp's inline display rather than output

6 years agoIncrease the range of a-exp's ratio to make it usable like a gate
Johannes Mueller [Thu, 3 Aug 2017 19:22:09 +0000 (21:22 +0200)]
Increase the range of a-exp's ratio to make it usable like a gate

6 years agoMake a-expander react probably on being disabled and enabled.
Johannes Mueller [Thu, 3 Aug 2017 19:14:56 +0000 (21:14 +0200)]
Make a-expander react probably on being disabled and enabled.

6 years agoNew visualization of the compressor state in graph view
Johannes Mueller [Thu, 3 Aug 2017 15:10:59 +0000 (17:10 +0200)]
New visualization of the compressor state in graph view

To properly visualize attack and release we calculate the input level out of
the gain reduction the output level threshold and ratio.

if (output_level >= threshold) { // no expansion
        input_level = output_level
} else {
        input_level = (gain_reduction - threshold * (1-ratio)) / ratio
}

6 years agoFixed wrong initialization.
Johannes Mueller [Thu, 3 Aug 2017 11:45:58 +0000 (13:45 +0200)]
Fixed wrong initialization.

6 years agoAdjust default parameters of a-expander
Johannes Mueller [Thu, 3 Aug 2017 11:18:42 +0000 (13:18 +0200)]
Adjust default parameters of a-expander

6 years agoChanged attack and release behavior
Johannes Mueller [Thu, 3 Aug 2017 09:39:55 +0000 (11:39 +0200)]
Changed attack and release behavior

6 years agoFirst draft of a-expander
Johannes Mueller [Wed, 2 Aug 2017 20:26:08 +0000 (22:26 +0200)]
First draft of a-expander

6 years agoPlugin Ordering: PluginStatusChanged signal went missing. This fixes breakage in...
Ben Loftis [Tue, 8 May 2018 21:12:15 +0000 (16:12 -0500)]
Plugin Ordering:  PluginStatusChanged signal went missing.  This fixes breakage in drag+drop and live status-updates from the Plugin Manager window.

6 years agoRemove debug printout.
Ben Loftis [Tue, 8 May 2018 18:27:01 +0000 (13:27 -0500)]
Remove debug printout.

6 years agoPlugin Order: Use the new plugin_manager function to save plugin order.
Ben Loftis [Tue, 8 May 2018 18:25:54 +0000 (13:25 -0500)]
Plugin Order:  Use the new plugin_manager function to save plugin order.

6 years agoPlugin Order: remove from instant.xml and save to: plugin_metadata/plugin_order
Ben Loftis [Tue, 8 May 2018 18:00:27 +0000 (13:00 -0500)]
Plugin Order:  remove from instant.xml and save to:  plugin_metadata/plugin_order

6 years agoMake note of Gesture messages in VST; for later.
Ben Loftis [Mon, 7 May 2018 17:51:39 +0000 (12:51 -0500)]
Make note of Gesture messages in VST; for later.

6 years agoplayhead_X_to_grid: Handle the case of GridTypeNone
Ben Loftis [Tue, 8 May 2018 14:03:20 +0000 (09:03 -0500)]
playhead_X_to_grid:  Handle the case of GridTypeNone

6 years agoArrow keys (playhead_x_to_grid()) should move the view along with it. This is more...
Ben Loftis [Tue, 8 May 2018 13:42:57 +0000 (08:42 -0500)]
Arrow keys  (playhead_x_to_grid()) should move the view along with it.  This is more consistent with jog-wheel operation, which has proven to work nicely.

6 years agoReplace the check for SnapPref, which went missing. Some functions (like playhead_to...
Ben Loftis [Wed, 2 May 2018 21:37:14 +0000 (16:37 -0500)]
Replace the check for SnapPref, which went missing.  Some functions (like playhead_to_next_grid) can request GridOnly.

6 years agofix more cut-n-paste coding errors
Paul Davis [Fri, 4 May 2018 22:36:53 +0000 (18:36 -0400)]
fix more cut-n-paste coding errors

6 years agoadd well known controls to list accessible via a MIDI binding map (or OSC?)
Paul Davis [Fri, 4 May 2018 13:40:28 +0000 (09:40 -0400)]
add well known controls to list accessible via a MIDI binding map (or OSC?)

6 years agointernally, ControllableDescriptors (used by MIDI binding maps) should use enums...
Paul Davis [Fri, 4 May 2018 12:24:07 +0000 (08:24 -0400)]
internally, ControllableDescriptors (used by MIDI binding maps) should use enums for automation types, rather than something custom

6 years agoavoid compiler warning (timestamp is unsigned and is thus always >= 0
Paul Davis [Fri, 4 May 2018 12:23:29 +0000 (08:23 -0400)]
avoid compiler warning (timestamp is unsigned and is thus always >= 0

6 years agoavoid compiler warning on at least some linux versions
Paul Davis [Fri, 4 May 2018 12:23:01 +0000 (08:23 -0400)]
avoid compiler warning on at least some linux versions

6 years agoAdd option to disable plotting collected signal in analysis.
Robin Gareus [Mon, 30 Apr 2018 20:24:35 +0000 (22:24 +0200)]
Add option to disable plotting collected signal in analysis.