Robin Gareus
11c49ab8d1
cache shaded meter-background regardless of color
...
previously, shaded patterns were assumed to have different colors as well.
2013-08-08 15:26:01 -04:00
Robin Gareus
2bdd29d3ac
fix meter background redraw issue #5601
2013-08-08 15:26:01 -04:00
Robin Gareus
12c9055659
[re]implement horizontal meter
2013-08-08 15:26:01 -04:00
Robin Gareus
26c4ae14cb
Don't allow to deactivate meter.
...
before this change:
1) switch to 'custom' meter point,
2) deactivate meter processor.
-> meters does not run regardless of meter-point
-> meter can only be re-nabled in 'custom' mode
2013-08-08 15:25:40 -04:00
Robin Gareus
d327ab43cf
reset meters only when *really* necessary
...
..and continue to calculate fall-off in
audio-cycle (rather than UI thread)
TODO: check if this works properly when switching
between audio/midi meter modes on a midi-track.
One of the motivations to always reset meters when the
meter-point changes was to resolve peak-hold & fall-off
issues when a midi-meter replaces an audio-meter and vice
versa.
2013-08-08 15:25:40 -04:00
Robin Gareus
d39d296ff8
fix compiler warning
2013-08-08 15:25:40 -04:00
Robin Gareus
ba8742edd1
align gradient with meter-metrics
2013-08-08 15:25:40 -04:00
Robin Gareus
d10b712897
increase saturation of meter-shader
2013-08-08 15:24:49 -04:00
Robin Gareus
bc66985710
allow to en/disable shade and LED meter style
2013-08-08 15:24:49 -04:00
Robin Gareus
2c9484fe14
add "0VU = +8dBu" VU meter config
2013-08-08 15:24:15 -04:00
Robin Gareus
b713fceed0
change default VU mode to "0VU = +4dBu (standard)"
2013-08-08 15:24:15 -04:00
Robin Gareus
2faf401fea
implement meter-lineup and VU standard preferences
2013-08-08 15:24:15 -04:00
Robin Gareus
3ec7a620a3
use fixed fall-off time for k-meter
2013-08-08 15:24:15 -04:00
Colin Fletcher
1da655c2eb
Fix special handling of 'zoom vertical' scroll wheel modifier key.
...
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.
Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.
Partially fixes #5610 .
2013-08-08 15:24:15 -04:00
Robin Gareus
d31c0f759c
restore session backwards compatibility to 3.3
2013-08-08 15:24:15 -04:00
Robin Gareus
553d393d30
implement new meter types
2013-08-08 15:24:15 -04:00
Robin Gareus
bd2ddc09ab
Revert "Revert new meter types (postponed until after 3.3 release)"
...
This reverts commit d80f672e84 .
2013-08-08 15:23:11 -04:00
Robin Gareus
67c5652edb
reset meter when meter-point changes
2013-08-08 15:23:10 -04:00
Robin Gareus
dbe31bcf22
add a stripe-pattern to the meters
2013-08-08 15:23:10 -04:00
Robin Gareus
ec99830110
meter-state 17 and 49 + code-comment
2013-08-08 15:23:10 -04:00
Robin Gareus
a4edd1ed7a
possible fix for http://tracker.ardour.org/view.php?id=5586
2013-08-08 15:23:10 -04:00
Robin Gareus
b0a239d9f8
rework metering states 2, 6, 18 and 22
2013-08-08 15:23:10 -04:00
Robin Gareus
7157fc1bdd
revert functionality of f842e8af2 (meter display in DISK mode)
2013-08-08 15:23:10 -04:00
Paul Davis
b5da0c852f
Revert "C++11 Building - Use new style struct field inititializing" (this code
...
change breaks gcc on several platforms).
This reverts commit bf153e58a5 .
2013-08-08 15:23:10 -04:00
Robin Gareus
33ecb22e87
yet another meter+monitoring detail:
...
"explicit Monitor DISK" + "Transport Stop" + "not track rec-en"
-> meter is always zero
2013-08-08 15:23:10 -04:00
Robin Gareus
a3d5ba3397
fix metering states 34, 38, 49, 50, 53 and 54
...
for state descriptions see
http://www.oofus.co.uk/ardour/Ardour3MonitorModesV3.pdf
2013-08-08 15:23:10 -04:00
Robin Gareus
15aa2a224e
zero meters for inactive tracks
2013-08-08 15:23:10 -04:00
Robin Gareus
7b3968bf5f
RMS meter - reset after calculating new data
2013-08-08 15:23:10 -04:00
Robin Gareus
ae544dc6c7
fix "monitor mode 11"
...
see http://www.oofus.co.uk/ardour/Ardour3MonitorModesV2.pdf
the overall logic can probably be simplified somewhat
track-rec-enable on -> always monitor input
2013-08-08 15:23:10 -04:00
Robin Gareus
a29dcc5a47
fix input metering:
...
if meter==input, meter depends on In/Disk
see also 29108187ed
2013-08-08 15:23:10 -04:00
Michael R. Fisher
ea08feec48
Temporary OSX/Clang/C++11 workaround
...
- Adds a directive that includes <vector> upon specific conditions
- WIP
2013-08-08 15:23:10 -04:00
Michael R. Fisher
0c23314e3f
C++11 Building - Use new style struct field inititializing
...
- clang with std=c++11 enabled was failing here
2013-08-08 15:23:09 -04:00
Michael R. Fisher
5a97ae6bd6
Include evoral/Note.hpp before pbd/compose.h
...
- This workaround prevents a clang compiler error about template
visibility
2013-08-08 15:23:09 -04:00
Michael R. Fisher
8f33b7101f
Allow compiling with c++11 enabled
2013-08-08 15:23:09 -04:00
Michael R. Fisher
270edc18ad
Typo fixed: call class method instead of trying to use as a variable
2013-08-08 15:23:09 -04:00
Paul Davis
6602c6659e
finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful
2013-08-08 15:23:09 -04:00
Paul Davis
dc0ee761d2
more plugin state debugging
2013-08-08 15:23:09 -04:00
Paul Davis
25cbd8fb40
tweaks to NO_PLUGIN_STATE logic
2013-08-08 15:23:09 -04:00
Robin Gareus
e3978edabb
add option to disable cairo-RGBA overlays for meters.
2013-08-08 15:23:09 -04:00
Robin Gareus
233426a069
Revert new meter types (postponed until after 3.3 release)
...
This reverts commit ce621d1c8a .
This reverts commit 80aa257481 .
2013-08-08 15:23:09 -04:00
Robin Gareus
d2171c25eb
add new meter-type enums (amend 80aa2574)
2013-08-08 15:23:09 -04:00
Robin Gareus
d1f45e9b3d
add VU and IEC meter DSP (from jmeters)
2013-08-08 15:23:09 -04:00
Michael R. Fisher
02f5acbdc1
Housekeeping
2013-08-08 15:23:09 -04:00
Michael R. Fisher
65f970f0ca
set the flag true
2013-08-08 15:23:09 -04:00
Michael R. Fisher
04a1ebbf46
Lazily load bundled LV2 plugins in LV2PluginInfo::discover()
...
- Do this instead of finding them in the static ctor of LV2World
- Prevents usage of ARDOUR_DLL_PATH environment variable before
it is set in main(...)
2013-08-08 15:23:09 -04:00
Michael R. Fisher
a096461c5c
Formatting only.
2013-08-08 15:23:09 -04:00
Michael R. Fisher
bc4fe5e56a
Use a static string variable for dll path.
...
Making this consistent with all other funtions in this file.
2013-08-08 15:23:09 -04:00
Robin Gareus
a0ac0dca85
implement visual-sensitivity (gray out) for faders
...
Note: bar-controller sensitivity state is not yet set if
automation-mode changes to/from play, but the widget now
supports that.
2013-08-08 15:23:08 -04:00
Robin Gareus
443c0a2240
minor peak-meter performance tweak
...
* redraw only missing parts of the outside rectangle,
* don't redraw RMS meter if value has not changed
2013-08-08 15:23:08 -04:00
Robin Gareus
c209078c12
fix compiler warning
2013-08-08 15:23:08 -04:00