ardour.git
10 years agoRMS meter - reset after calculating new data
Robin Gareus [Tue, 16 Jul 2013 14:25:27 +0000 (16:25 +0200)]
RMS meter - reset after calculating new data

10 years agofix "monitor mode 11"
Robin Gareus [Tue, 16 Jul 2013 14:04:41 +0000 (16:04 +0200)]
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

10 years agofix input metering:
Robin Gareus [Tue, 16 Jul 2013 13:11:50 +0000 (15:11 +0200)]
fix input metering:

if meter==input, meter depends on In/Disk
see also 29108187ed

10 years agoAdd c++11 enablement options in wscript
Michael R. Fisher [Mon, 15 Jul 2013 22:27:21 +0000 (17:27 -0500)]
Add c++11 enablement options in wscript
- adds "--cxx11" toggle for ./waf configure
- The switch adds appropriate compiler flags and tests the compiler
  for usability of c++11
- This 'should' be compatible for linux, osx, and windows systems
  that have gcc and/or clang with support c++11

10 years agoTemporary OSX/Clang/C++11 workaround
Michael R. Fisher [Mon, 15 Jul 2013 21:53:55 +0000 (16:53 -0500)]
Temporary OSX/Clang/C++11 workaround
- Adds a directive that includes <vector> upon specific conditions
- WIP

10 years agoDereference pointers in ctors where appropriate. (c++11 wants this)
Michael R. Fisher [Mon, 15 Jul 2013 21:52:50 +0000 (16:52 -0500)]
Dereference pointers in ctors where appropriate. (c++11 wants this)

10 years agoC++11 Building - Use new style struct field inititializing
Michael R. Fisher [Mon, 15 Jul 2013 21:47:07 +0000 (16:47 -0500)]
C++11 Building - Use new style struct field inititializing
- clang with std=c++11 enabled was failing here

10 years agoInclude evoral/Note.hpp before pbd/compose.h
Michael R. Fisher [Mon, 15 Jul 2013 21:45:34 +0000 (16:45 -0500)]
Include evoral/Note.hpp before pbd/compose.h
- This workaround prevents a clang compiler error about template
  visibility

10 years agoAllow compiling with c++11 enabled
Michael R. Fisher [Mon, 15 Jul 2013 21:44:03 +0000 (16:44 -0500)]
Allow compiling with c++11 enabled

10 years agoC++11 Building - Add space between macros and quoted strings
Michael R. Fisher [Mon, 15 Jul 2013 21:42:20 +0000 (16:42 -0500)]
C++11 Building - Add space between macros and quoted strings

10 years agoTypo fixed: call class method instead of trying to use as a variable
Michael R. Fisher [Mon, 15 Jul 2013 21:38:54 +0000 (16:38 -0500)]
Typo fixed: call class method instead of trying to use as a variable

10 years agoOSX GUI - Prevent compiler errors when -std=c++11 is switched on
Michael R. Fisher [Mon, 15 Jul 2013 21:35:20 +0000 (16:35 -0500)]
OSX GUI - Prevent compiler errors when -std=c++11 is switched on

10 years agofinally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful
Paul Davis [Tue, 16 Jul 2013 02:23:16 +0000 (22:23 -0400)]
finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful

10 years agomore plugin state debugging
Paul Davis [Tue, 16 Jul 2013 00:35:31 +0000 (20:35 -0400)]
more plugin state debugging

10 years agotweaks to NO_PLUGIN_STATE logic
Paul Davis [Tue, 16 Jul 2013 00:04:37 +0000 (20:04 -0400)]
tweaks to NO_PLUGIN_STATE logic

10 years agoadd option to disable cairo-RGBA overlays for meters.
Robin Gareus [Mon, 15 Jul 2013 22:56:36 +0000 (00:56 +0200)]
add option to disable cairo-RGBA overlays for meters.

10 years agoStartup BETA Mac Screen - Pull version number from VERSIONSTRING
Michael R. Fisher [Mon, 15 Jul 2013 18:00:35 +0000 (13:00 -0500)]
Startup BETA Mac Screen - Pull version number from VERSIONSTRING

10 years agoCorrecting Indentation Errors
Michael R. Fisher [Mon, 15 Jul 2013 17:48:33 +0000 (12:48 -0500)]
Correcting Indentation Errors

10 years agoFix typo in osx BETA startup screen
Michael R. Fisher [Mon, 15 Jul 2013 17:42:09 +0000 (12:42 -0500)]
Fix typo in osx BETA startup screen
- Step #2 was being skipped in the text

10 years agoRevert new meter types (postponed until after 3.3 release)
Robin Gareus [Mon, 15 Jul 2013 14:07:37 +0000 (16:07 +0200)]
Revert new meter types (postponed until after 3.3 release)

This reverts commit ce621d1c8a600853be0020942a9664ccee0ab165.
This reverts commit 80aa2574819e947668092c660d767e25a661c6f1.

10 years agoadd new meter-type enums (amend 80aa2574)
Robin Gareus [Mon, 15 Jul 2013 13:12:15 +0000 (15:12 +0200)]
add new meter-type enums (amend 80aa2574)

10 years agoadd VU and IEC meter DSP (from jmeters)
Robin Gareus [Mon, 15 Jul 2013 13:00:22 +0000 (15:00 +0200)]
add VU and IEC meter DSP (from jmeters)

10 years agosimplify meter-type context menu
Robin Gareus [Mon, 15 Jul 2013 12:38:24 +0000 (14:38 +0200)]
simplify meter-type context menu

in preparation for adding more meter-types

10 years agomove ardour meter globals into dedicated namespace (TODO meter_patters typedef)
Robin Gareus [Mon, 15 Jul 2013 13:04:20 +0000 (15:04 +0200)]
move ardour meter globals into dedicated namespace (TODO meter_patters typedef)

10 years agoHousekeeping
Michael R. Fisher [Mon, 15 Jul 2013 02:40:20 +0000 (21:40 -0500)]
Housekeeping

10 years agoset the flag true
Michael R. Fisher [Mon, 15 Jul 2013 02:22:34 +0000 (21:22 -0500)]
set the flag true

10 years agoLazily load bundled LV2 plugins in LV2PluginInfo::discover()
Michael R. Fisher [Mon, 15 Jul 2013 02:19:59 +0000 (21:19 -0500)]
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(...)

10 years agoFormatting only.
Michael R. Fisher [Mon, 15 Jul 2013 02:16:08 +0000 (21:16 -0500)]
Formatting only.

10 years agoUse a static string variable for dll path.
Michael R. Fisher [Mon, 15 Jul 2013 02:06:25 +0000 (21:06 -0500)]
Use a static string variable for dll path.
Making this consistent with all other funtions in this file.

10 years agoUpdate Russian translation
Alexandre Prokoudine [Sun, 14 Jul 2013 16:45:13 +0000 (18:45 +0200)]
Update Russian translation

10 years agoswitch to WM::Proxy Action management
Robin Gareus [Sun, 14 Jul 2013 16:34:36 +0000 (18:34 +0200)]
switch to WM::Proxy Action management

fixes http://tracker.ardour.org/view.php?id=5584

10 years agoimprove caching of metric and tick patters
Robin Gareus [Sun, 14 Jul 2013 09:34:31 +0000 (11:34 +0200)]
improve caching of metric and tick patters

* selectively clear cache (meterbridge, mixer)
* free memory of patterns on clear

10 years agoignore mouse-scroll if scroll-bar is not present.
Robin Gareus [Sat, 13 Jul 2013 12:58:23 +0000 (14:58 +0200)]
ignore mouse-scroll if scroll-bar is not present.

fixes http://tracker.ardour.org/view.php?id=5557

10 years agoimplement visual-sensitivity (gray out) for faders
Robin Gareus [Fri, 12 Jul 2013 17:07:07 +0000 (19:07 +0200)]
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.

10 years agominor peak-meter performance tweak
Robin Gareus [Fri, 12 Jul 2013 15:56:42 +0000 (17:56 +0200)]
minor peak-meter performance tweak

* redraw only missing parts of the outside rectangle,
* don't redraw RMS meter if value has not changed

10 years agoremove *&@?!+%@ question :)
Robin Gareus [Fri, 12 Jul 2013 10:47:12 +0000 (12:47 +0200)]
remove *&@?!+%@ question :)

I would like to record, edit and mix,...
..but I don't need software to hold my hand and ask
childish questions if I would like to "open a session".

10 years agoclean up plugin-ui meter layout
Robin Gareus [Thu, 11 Jul 2013 18:38:52 +0000 (20:38 +0200)]
clean up plugin-ui meter layout

10 years agomake config-window suitable for small[er] screens
Robin Gareus [Thu, 11 Jul 2013 14:42:26 +0000 (16:42 +0200)]
make config-window suitable for small[er] screens

10 years agochange default color of plugin-UI gauge/meter
Robin Gareus [Thu, 11 Jul 2013 13:52:08 +0000 (15:52 +0200)]
change default color of plugin-UI gauge/meter

10 years agofix compiler warning
Robin Gareus [Thu, 11 Jul 2013 13:44:35 +0000 (15:44 +0200)]
fix compiler warning

10 years agoupdate plugin UIs at reasonable rate (25Hz)
Robin Gareus [Thu, 11 Jul 2013 12:54:28 +0000 (14:54 +0200)]
update plugin UIs at reasonable rate (25Hz)

10 years agoNOOP - prevent headaches and remove cruft
Robin Gareus [Thu, 11 Jul 2013 12:50:33 +0000 (14:50 +0200)]
NOOP - prevent headaches and remove cruft

Every "point zero one" seconds is only 25 Hz in ardour..

10 years agoRevert "Remove non-portable and unnused header includes"
Paul Davis [Thu, 11 Jul 2013 15:23:41 +0000 (11:23 -0400)]
Revert "Remove non-portable and unnused header includes"

This reverts commit 7ef79d3f4b02e3d2e71d6888fbedd9b3f9c325c7.

10 years agoRemove non-portable and unnused header includes
Paul Davis [Thu, 11 Jul 2013 15:19:57 +0000 (11:19 -0400)]
Remove non-portable and unnused header includes

10 years agoFix portability of test and use temporary test
Paul Davis [Thu, 11 Jul 2013 15:12:39 +0000 (11:12 -0400)]
Fix portability of test and use temporary test

10 years agoUse common test function to create temporary session
Paul Davis [Thu, 11 Jul 2013 15:11:45 +0000 (11:11 -0400)]
Use common test function to create temporary session

10 years agoadd new files from test changes by timbyr
Paul Davis [Thu, 11 Jul 2013 15:10:56 +0000 (11:10 -0400)]
add new files from test changes by timbyr

10 years agotheoretically: "Add new_test_output_dir to common libardour test" but actually featur...
Paul Davis [Thu, 11 Jul 2013 15:07:13 +0000 (11:07 -0400)]
theoretically: "Add new_test_output_dir to common libardour test" but actually features addition of new files, thus losing git history for these two which came from tim mayberry

10 years agoUse test_search_path function in ardour test
Paul Davis [Thu, 11 Jul 2013 15:01:36 +0000 (11:01 -0400)]
Use test_search_path function in ardour test

10 years agoAdd test_search_path function in libardour testsuite
Paul Davis [Thu, 11 Jul 2013 15:00:59 +0000 (11:00 -0400)]
Add test_search_path function in libardour testsuite

10 years agoUse test_search_path to find test data in xpath test
Paul Davis [Thu, 11 Jul 2013 14:59:30 +0000 (10:59 -0400)]
Use test_search_path to find test data in xpath test

10 years agoAdd test_search_path function in PBD testsuite
Paul Davis [Thu, 11 Jul 2013 14:58:35 +0000 (10:58 -0400)]
Add test_search_path function in PBD testsuite

10 years agoAdd --single-tests option to also build each libardour test as a separate program
Paul Davis [Thu, 11 Jul 2013 14:57:21 +0000 (10:57 -0400)]
Add --single-tests option to also build each libardour test as a separate program

10 years agodisable libardour unit tests that do not function correctly (for windows, at least)
Paul Davis [Thu, 11 Jul 2013 14:31:47 +0000 (10:31 -0400)]
disable libardour unit tests that do not function correctly (for windows, at least)

10 years agoexpand tabs to spaces in wscript
Robin Gareus [Sun, 14 Jul 2013 17:38:52 +0000 (19:38 +0200)]
expand tabs to spaces in wscript

10 years agofix conflicts caused by meterbridge merge
Paul Davis [Thu, 11 Jul 2013 13:11:53 +0000 (09:11 -0400)]
fix conflicts caused by meterbridge merge

10 years agohandle aux-send processor-box action
Robin Gareus [Thu, 11 Jul 2013 09:36:38 +0000 (11:36 +0200)]
handle aux-send processor-box action

fixes http://tracker.ardour.org/view.php?id=5574

10 years agoamend cb7bcb6d - locked-solo button style
Robin Gareus [Thu, 11 Jul 2013 00:31:30 +0000 (02:31 +0200)]
amend cb7bcb6d - locked-solo button style

10 years agoreplace Lock^Wshopping-bag icon with button-sensitivity
Robin Gareus [Wed, 10 Jul 2013 23:59:26 +0000 (01:59 +0200)]
replace Lock^Wshopping-bag icon with button-sensitivity

10 years agometerbridge update solo-button label (AFL,PFL, locked)
Robin Gareus [Wed, 10 Jul 2013 23:50:30 +0000 (01:50 +0200)]
meterbridge update solo-button label (AFL,PFL, locked)

10 years agoremove debug output
Paul Davis [Wed, 10 Jul 2013 23:10:52 +0000 (19:10 -0400)]
remove debug output

10 years agosome sort-of-deep fixes to get autoscroll/vertical scroll to work properly for cairoc...
Paul Davis [Wed, 10 Jul 2013 23:10:06 +0000 (19:10 -0400)]
some sort-of-deep fixes to get autoscroll/vertical scroll to work properly for cairocanvas

10 years agoremove xmmintrin.h, unnecessarily mirroring changes to master
Paul Davis [Wed, 10 Jul 2013 23:09:35 +0000 (19:09 -0400)]
remove xmmintrin.h, unnecessarily mirroring changes to master

10 years agolight up track seperator
Robin Gareus [Wed, 10 Jul 2013 23:07:38 +0000 (01:07 +0200)]
light up track seperator

10 years agodisplay separator on newly created tracks.
Robin Gareus [Wed, 10 Jul 2013 22:38:43 +0000 (00:38 +0200)]
display separator on newly created tracks.

10 years agoupdate mixer-meter (width) and panner if channel count changes
Robin Gareus [Wed, 10 Jul 2013 22:14:27 +0000 (00:14 +0200)]
update mixer-meter (width) and panner if channel count changes

10 years agorework narrow mode metric (again)
Robin Gareus [Wed, 10 Jul 2013 20:35:51 +0000 (22:35 +0200)]
rework narrow mode metric (again)

10 years agoardour-button - fix test+LED margin
Robin Gareus [Wed, 10 Jul 2013 20:34:39 +0000 (22:34 +0200)]
ardour-button - fix test+LED margin

10 years agosave width of mixer-strip when changing _all_ strips
Robin Gareus [Wed, 10 Jul 2013 19:40:42 +0000 (21:40 +0200)]
save width of mixer-strip when changing _all_ strips

10 years agoqueue axis resize if port-config changes
Robin Gareus [Wed, 10 Jul 2013 18:48:42 +0000 (20:48 +0200)]
queue axis resize if port-config changes

10 years agonarrow down multi-channel tracks
Robin Gareus [Wed, 10 Jul 2013 16:38:25 +0000 (18:38 +0200)]
narrow down multi-channel tracks

10 years agoslimming diet for the narrow-mixer strip
Robin Gareus [Wed, 10 Jul 2013 15:13:45 +0000 (17:13 +0200)]
slimming diet for the narrow-mixer strip

10 years agoremove another instance of xmmintrin.h
Paul Davis [Wed, 10 Jul 2013 15:04:35 +0000 (11:04 -0400)]
remove another instance of xmmintrin.h

10 years agoremove unnecessary include of xmmintrin.h
Paul Davis [Wed, 10 Jul 2013 14:57:05 +0000 (10:57 -0400)]
remove unnecessary include of xmmintrin.h

10 years agofix ProxyBase::save_pos_and_size
Robin Gareus [Wed, 10 Jul 2013 13:22:56 +0000 (15:22 +0200)]
fix ProxyBase::save_pos_and_size

win() may return NULL -- although if we get a size-request we
can be sure the window exists. -- NTL this feels better :)

10 years agotweak window-proxy session-management logic
Robin Gareus [Wed, 10 Jul 2013 13:21:24 +0000 (15:21 +0200)]
tweak window-proxy session-management logic

10 years agofix tracks & bus inspector display
Robin Gareus [Wed, 10 Jul 2013 11:16:42 +0000 (13:16 +0200)]
fix tracks & bus inspector display

10 years agofix port-matrix (update with session)
Robin Gareus [Wed, 10 Jul 2013 11:16:11 +0000 (13:16 +0200)]
fix port-matrix (update with session)

10 years agocleanup - prepare narrow mixer strips
Robin Gareus [Wed, 10 Jul 2013 13:11:51 +0000 (15:11 +0200)]
cleanup - prepare narrow mixer strips

10 years agolimit meterbridge window height to multiples of 16px
Robin Gareus [Wed, 10 Jul 2013 00:42:29 +0000 (02:42 +0200)]
limit meterbridge window height to multiples of 16px

(workaround to bad resizing performance, realloc drawing areas)

10 years agoRevert "show track-ID in mixer" and "...towards unique track numbers."
Robin Gareus [Tue, 9 Jul 2013 23:56:20 +0000 (01:56 +0200)]
Revert "show track-ID in mixer" and "...towards unique track numbers."

This reverts commits:
  ca54ea2b462869bfd9254a493d073ca1e9ad4b8e.
  9e87e058e26b87013e89ddf5d3b7358d50024d60.

10 years agoremove unique track number from meterbridge
Robin Gareus [Tue, 9 Jul 2013 23:53:53 +0000 (01:53 +0200)]
remove unique track number from meterbridge

10 years agoremove cruft
Robin Gareus [Tue, 9 Jul 2013 23:45:10 +0000 (01:45 +0200)]
remove cruft

10 years agoRevert "replace "-inf" with UTF8 infinity symbol"
Robin Gareus [Tue, 9 Jul 2013 22:02:35 +0000 (00:02 +0200)]
Revert "replace "-inf" with UTF8 infinity symbol"

This reverts commit 7f2000ec8b0d6e0d3a6e22db44a8859301d35791.

10 years agoEpisode VI: Return of the ZeroDBline
Robin Gareus [Tue, 9 Jul 2013 22:02:17 +0000 (00:02 +0200)]
Episode VI: Return of the ZeroDBline

10 years agoEpisode V: the gainfader line strikes back
Robin Gareus [Wed, 10 Jul 2013 13:23:59 +0000 (15:23 +0200)]
Episode V: the gainfader line strikes back

10 years agofix meterbridge window pos+size state save
Robin Gareus [Tue, 9 Jul 2013 17:48:15 +0000 (19:48 +0200)]
fix meterbridge window pos+size state save

...even if window is not open when session is closed.

10 years agometerbridge label rework - phase one (better, but not good)
Robin Gareus [Tue, 9 Jul 2013 17:47:39 +0000 (19:47 +0200)]
meterbridge label rework - phase one (better, but not good)

10 years agohide solo button on master-bus
Robin Gareus [Tue, 9 Jul 2013 14:36:58 +0000 (16:36 +0200)]
hide solo button on master-bus

10 years agofix crash on session unload
Robin Gareus [Tue, 9 Jul 2013 14:27:33 +0000 (16:27 +0200)]
fix crash on session unload

10 years agoreplace "-inf" with UTF8 infinity symbol
Robin Gareus [Tue, 9 Jul 2013 14:23:14 +0000 (16:23 +0200)]
replace "-inf" with UTF8 infinity symbol

10 years agodisable number display on meterbridge by default
Robin Gareus [Tue, 9 Jul 2013 14:22:07 +0000 (16:22 +0200)]
disable number display on meterbridge by default

10 years agoremove outdated TODO
Robin Gareus [Tue, 9 Jul 2013 11:10:05 +0000 (13:10 +0200)]
remove outdated TODO

disabled routes are no longer displayed on meterbridge

10 years agouse accurate log10 for meter (fast_log2 is unsuitable inaccurate)
Robin Gareus [Tue, 9 Jul 2013 11:13:27 +0000 (13:13 +0200)]
use accurate log10 for meter (fast_log2 is unsuitable inaccurate)

fast_coefficient_to_dB() returns a lower bound value, unsuitable
to catch audio peaks. The difference to 20*log10 is as large as 0.4 dB!

The effective speedup of fast_log10 compared to log10f is marginal
(sweep of all 24bit values)

  i686 (1.6GHz Intel core):  2.36 [times faster]
  x86_64 (core2 2.4GHz):     1.63
  x86_64 (I3 2.80GHz):       2.03

the execution time of one log10f() averaged over a
sweep of all 24 bit values

  i686 (1.6GHz Intel core):  0.131 usec
  x86_64 (core2 2.4GHz):     0.033 usec
  x86_64 (I3 2.80GHz):       0.044 usec

PeakMeter::run() is called from dedicated non-rt, no harm done.

10 years agometerbridge show full name on tooltip
Robin Gareus [Tue, 9 Jul 2013 10:43:10 +0000 (12:43 +0200)]
meterbridge show full name on tooltip

10 years agoupdate meter config
Robin Gareus [Tue, 9 Jul 2013 10:42:12 +0000 (12:42 +0200)]
update meter config

10 years agofix initial display of name/id on meterbridge
Robin Gareus [Tue, 9 Jul 2013 03:27:24 +0000 (05:27 +0200)]
fix initial display of name/id on meterbridge

10 years agoshow track-ID in mixer
Robin Gareus [Tue, 9 Jul 2013 11:12:09 +0000 (13:12 +0200)]
show track-ID in mixer

10 years agoclean up meterbridge options
Robin Gareus [Tue, 9 Jul 2013 01:36:06 +0000 (03:36 +0200)]
clean up meterbridge options

10 years agonumber/name on meterbridge
Robin Gareus [Tue, 9 Jul 2013 01:22:13 +0000 (03:22 +0200)]
number/name on meterbridge