Commit graph

14472 commits

Author SHA1 Message Date
Paul Davis
870625973e remove debug output 2018-06-21 15:27:58 -04:00
Paul Davis
8a18929d57 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.
2018-06-21 13:05:58 -04:00
Johannes Mueller
18511f851e 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
2018-06-20 22:57:41 +02:00
Johannes Mueller
0c64eacef5 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.
2018-06-20 22:23:54 +02:00
Johannes Mueller
65fed2fa89 Make makeup_gain smoothening of a-expander same as in a-comp 2018-06-20 22:10:54 +02:00
Len Ovens
4b37e248e1 OSC: fix pre gcc5 problem 2018-06-20 12:39:34 -07:00
Len Ovens
e34f006658 OSC: Add /select/vca/toggle 2018-06-20 12:39:34 -07:00
Johannes Mueller
1ad66cfb3c a-comp: makeup_gain needs to be smoothened after every sample ...
... not only once in every run
2018-06-20 21:06:16 +02:00
Johannes Mueller
a0a4db47a7 Add a control port to a-comp select which mode to display inline 2018-06-20 21:06:16 +02:00
Johannes Mueller
869d48c9a6 Make a-comp's meter show numerical values in "4.1f"
according to discussion in irc.
2018-06-20 21:06:16 +02:00
Johannes Mueller
89aa17fe00 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.
2018-06-20 21:06:16 +02:00
Johannes Mueller
6da18b32b5 Visualize the peak of the compressor state in a-comp 2018-06-20 21:06:16 +02:00
Johannes Mueller
619ba94f51 Drop LPF of input level visualization in a-comp 2018-06-20 21:06:16 +02:00
Johannes Mueller
c9bbb01d98 Show the input level in acomp's inline display rather than output level 2018-06-20 21:06:16 +02:00
Johannes Mueller
ef978d1b35 Inlevel output port to visualize the input level in the generic GUI 2018-06-20 21:06:16 +02:00
Johannes Mueller
87ea757a5d Improve level vizualisation in a-comp
* LPF in the signal visialization

* Lower minimum values
2018-06-20 21:06:16 +02:00
Johannes Mueller
3e124704b0 GR-based visualization in a-comp 2018-06-20 21:06:16 +02:00
Johannes Mueller
d29880da89 New attack and release behavior for a-comp
Details in http://tracker.ardour.org/view.php?id=7439
2018-06-20 21:06:16 +02:00
Johannes Mueller
112ac13b90 Don't use acomp->v_gainr outside LV2_EXTENDED ifdefs 2018-06-20 21:06:16 +02:00
Len Ovens
6edea6064e OSC: reworking of previous/next select 2018-06-19 09:46:29 -07:00
Len Ovens
2fa49c51b2 OSC: Feedback was not making it to surface 2018-06-19 09:46:29 -07:00
Len Ovens
5ce341c127 OSC group sharing should be cleared for VCAs 2018-06-19 09:46:29 -07:00
Len Ovens
0141700d4b OSC: added context based previous/next select 2018-06-19 09:46:29 -07:00
Len Ovens
641b8a1139 OSC: select should not show expand if invalid 2018-06-19 09:46:29 -07:00
Len Ovens
cc78d78390 OSC expand off should check current sellect 2018-06-19 09:46:29 -07:00
Len Ovens
fee23d8778 OSC: Allow expand to be global 2018-06-19 09:46:28 -07:00
Len Ovens
293326cd94 OSC do not recalc select if still valid 2018-06-19 09:46:28 -07:00
Robin Gareus
59a3b040a3 Hide designated LV2 freewheeling port. 2018-06-09 14:40:46 +02:00
Robin Gareus
1c3dbc7d9e Remove duplicate class-keys (amend d95df9164) 2018-06-06 15:07:08 +02:00
Paul Davis
28f8772c3a remove aeffectx.h; use vestige.h 2018-06-04 17:38:41 -04:00
Robin Gareus
d95df91642 Add Lua API to list all available plugins 2018-05-31 16:02:43 +02:00
John Emmas
07466440c4 Move a couple of #undef's
'pbd/timing.h' now includes a call to 'std::numeric_limits<>::max()'
2018-05-19 09:28:30 +01:00
Robin Gareus
cb51c4c5aa Collect plugin runtime profile statistics. 2018-05-17 22:15:07 +02:00
Robin Gareus
3534035091 Add a time-profiler with statistics 2018-05-17 22:15:07 +02:00
Johannes Mueller
9a9df5a10b Make the peak indication in the graph of a-expander green ...
... so that it has a different color than the expander curve
2018-05-12 19:49:18 +02:00
Johannes Mueller
46aa204eb8 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.
2018-05-12 19:49:18 +02:00
Johannes Mueller
40f12e1205 Visualize peak input in a-expander 2018-05-12 19:49:18 +02:00
Johannes Mueller
2dc96027d6 Add output control port to a-exp for input level 2018-05-12 19:49:18 +02:00
Johannes Mueller
8be06e6e63 Indicate input level in a-exp's inline display rather than output 2018-05-12 19:49:18 +02:00
Johannes Mueller
0eaf7b1e18 Increase the range of a-exp's ratio to make it usable like a gate 2018-05-12 19:49:18 +02:00
Johannes Mueller
0bc5a6f8e9 Make a-expander react probably on being disabled and enabled. 2018-05-12 19:49:18 +02:00
Johannes Mueller
2a5d56215c 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
}
2018-05-12 19:49:18 +02:00
Johannes Mueller
48c568187d Fixed wrong initialization. 2018-05-12 19:49:18 +02:00
Johannes Mueller
37d2a7bc95 Adjust default parameters of a-expander 2018-05-12 19:49:18 +02:00
Johannes Mueller
bce3497d2a Changed attack and release behavior 2018-05-12 19:49:18 +02:00
Johannes Mueller
3620122ad0 First draft of a-expander 2018-05-12 19:49:18 +02:00
Ben Loftis
7a52428538 Plugin Order: remove from instant.xml and save to: plugin_metadata/plugin_order 2018-05-08 13:26:08 -05:00
Ben Loftis
a156f00617 Make note of Gesture messages in VST; for later. 2018-05-08 13:26:08 -05:00
Paul Davis
81bff2edee fix more cut-n-paste coding errors 2018-05-04 18:36:53 -04:00
Paul Davis
a5e8a69dec add well known controls to list accessible via a MIDI binding map (or OSC?) 2018-05-04 09:40:28 -04:00