13
0
Commit Graph

26853 Commits

Author SHA1 Message Date
b6711383f3 enum convert for VelocityDisplayOption 2018-07-03 14:06:09 -04:00
e3cb6dd603 add VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly 2018-07-03 14:05:16 -04:00
c190581552 fix rectangle computation, and re-use alex' color computation 2018-07-03 12:39:56 -04:00
21582828b7 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.
2018-07-03 11:43:42 -04:00
a1df752095 call Note::set_velocity() at an appropriate time 2018-07-03 11:28:01 -04:00
644a05f60b use new Canvas::Note object for (sustained) note display 2018-07-03 11:21:53 -04:00
ed24e01658 initial implementation of a more specialized canvas item for (sustained) notes 2018-07-03 11:21:25 -04:00
5102d8fae1 minor code optimization for Rectangle::render() 2018-07-03 09:22:32 -04:00
9d99cc8b01 OSC: Make sure group name for select gets updated 2018-07-02 08:18:42 -07:00
f30add4c0e OSC: bugfix, select/next\previous sometimes resets to old strip 2018-06-30 18:59:37 -07:00
6e082b16b2 OSC: Add collect of groups or subgroups 2018-06-30 15:25:17 -07:00
baa00942a2 Add method to find subgroup_bus 2018-06-30 15:23:37 -07:00
88c82aeb56 Fix code style 2018-06-30 14:14:31 -07:00
cd0f5e06a9 when creating a route from a template, use correct call to setup XML state so that name/ports are unique 2018-06-28 19:14:37 -04:00
9336bddee2 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
2018-06-28 19:03:59 -04:00
ff03eeab04 fix mixing scope brace 2018-06-25 10:06:57 -04:00
d7ac5792b8 Accommodate recently removed source(s) in our MSVC project (libardour)
(this also needs ardour_genericmidi to link to both evoral and boost-regex)
2018-06-25 12:11:10 +01:00
87bab9c0f7 OSC: make select logic more sensible 2018-06-24 20:04:54 -07:00
8725ed5bd1 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
2018-06-21 22:28:11 -04:00
870625973e remove debug output 2018-06-21 15:27:58 -04:00
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
637e70749c Add script to normalize all tracks 2018-06-20 23:35:55 +02: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
4b37e248e1 OSC: fix pre gcc5 problem 2018-06-20 12:39:34 -07:00
e34f006658 OSC: Add /select/vca/toggle 2018-06-20 12:39:34 -07:00
Nikolaus Gullotta
57ce573796 check-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman 2018-06-20 14:15:18 -05: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
f647ac7dae 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.
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
Nikolaus Gullotta
00fe5a86b1 sr = 0, not rate 2018-06-19 13:56:42 -05:00
Nikolaus Gullotta
c2d162c33e cap redrawing at 15 times /s 2018-06-19 13:54:16 -05:00
Johannes Mueller
e6a6778466 Revert frame -> sample changes where it's a frame as in Gtk::Frame 2018-06-19 20:17:40 +02:00
6edea6064e OSC: reworking of previous/next select 2018-06-19 09:46:29 -07:00
2fa49c51b2 OSC: Feedback was not making it to surface 2018-06-19 09:46:29 -07:00
5ce341c127 OSC group sharing should be cleared for VCAs 2018-06-19 09:46:29 -07:00
0141700d4b OSC: added context based previous/next select 2018-06-19 09:46:29 -07:00
641b8a1139 OSC: select should not show expand if invalid 2018-06-19 09:46:29 -07:00
cc78d78390 OSC expand off should check current sellect 2018-06-19 09:46:29 -07:00