Commit graph

5130 commits

Author SHA1 Message Date
Robin Gareus
0571e5d6ae Revert "show track-ID in mixer" and "...towards unique track numbers."
This reverts commits:
  ca54ea2b462869bfd9254a493d073ca1e9ad4b8e.
  9e87e058e26b87013e89ddf5d3b7358d50024d60.
2013-07-10 15:27:17 +02:00
Robin Gareus
833ab2ebbd remove unique track number from meterbridge 2013-07-10 15:27:16 +02:00
Robin Gareus
7a62d31056 Episode VI: Return of the ZeroDBline 2013-07-10 15:27:16 +02:00
Robin Gareus
656cc9a0ad Episode V: the gainfader line strikes back 2013-07-10 15:27:16 +02:00
Robin Gareus
251031e354 disable number display on meterbridge by default 2013-07-10 15:27:15 +02:00
Robin Gareus
ee97942165 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.
2013-07-10 15:27:15 +02:00
Robin Gareus
46c1e573c4 show track-ID in mixer 2013-07-10 15:27:15 +02:00
Robin Gareus
1699be7c98 number/name on meterbridge 2013-07-10 15:27:15 +02:00
Robin Gareus
24f2961cce ...towards unique track numbers. 2013-07-10 15:27:14 +02:00
Robin Gareus
4d49961c93 allow to include solo,mute buttons on meterbridge 2013-07-10 15:27:14 +02:00
Robin Gareus
6aecd192ce remove b0rked attempt at meter-thread regularity.
eventually fall-off should be calculated in the audio-thread, anyway
and this thread will be obsolete..
2013-07-10 15:27:14 +02:00
Robin Gareus
40bc6f5b83 Task Force Viking: operation green line 2013-07-10 15:27:14 +02:00
Robin Gareus
7f47c9c5ec fix RMS+Peak meter for MIDI-tracks 2013-07-10 15:27:14 +02:00
Robin Gareus
ffbc1c7a8b with RMS meters: use "peak indicator" as DPM 2013-07-10 15:27:13 +02:00
Robin Gareus
5dae93e5ea ignore state-changes during [meter] context-menu popup (gtkmm bug?) 2013-07-10 15:27:13 +02:00
Robin Gareus
09243a326a use digital max-peak with RMS meter 2013-07-10 15:27:13 +02:00
Robin Gareus
5de0aee287 share meter-type among meter instances. 2013-07-10 15:27:13 +02:00
Robin Gareus
58b325de31 prepare meter type unification 2013-07-10 15:27:13 +02:00
Robin Gareus
2277da6e6c test/fix - possible cause of meter-freezing.. 2013-07-10 15:27:13 +02:00
Robin Gareus
4a9e79e53f fix meterbridge metric display switch 2013-07-10 15:27:13 +02:00
Robin Gareus
3a8f5a9770 remember meter type with session 2013-07-10 15:27:13 +02:00
Robin Gareus
0710171d90 don't reset meter background/highlight on click. 2013-07-10 15:27:12 +02:00
Robin Gareus
bc1a093710 amend to 212d2ac5d (port add/remove signals)
fix deadlock when updating audio/midi connection matrix
during session-close or on exit.

(Note: this still can cause a crash if the route goes away
while the iterator in the connection-matrix still has an index
of it)
2013-07-10 15:27:12 +02:00
Robin Gareus
6e1781e5e3 experimental RMS-meter and peak-signal (vs peak-power) query 2013-07-10 15:27:12 +02:00
Robin Gareus
b2beb11c8d improve timing accuracy for meter-falloff calc. 2013-07-10 15:27:12 +02:00
Robin Gareus
03a510c3d7 prepare meter-widget for dual background color 2013-07-10 15:27:12 +02:00
Robin Gareus
c1f56d4d7c meter line-up and fall-off standard values & names 2013-07-10 15:27:11 +02:00
Robin Gareus
6d09070895 peak-indicator threshold configuration 2013-07-10 15:27:11 +02:00
Robin Gareus
62d5585e34 prepare meter configuration..
- rework metric/tick image cache invalidation
  - flush cache
  - send signal to queue redraws
  (TODO) selectively flush cache // cache per size, style
- add four common line up levels
2013-07-10 15:27:11 +02:00
Robin Gareus
da08f8b1c5 add options to show/hide master and midi tracks;; hide inactive tracks 2013-07-10 15:27:10 +02:00
Robin Gareus
9d0a3b9eaf fix [some] issues when adding/removing output ports 2013-07-10 15:27:10 +02:00
Robin Gareus
f801144472 less prominent meter shade 2013-07-10 15:27:09 +02:00
Robin Gareus
580cec03ad add shade gradient to meter 2013-07-10 15:27:08 +02:00
Robin Gareus
d4b1941796 fix meter gradient y-axis only 2013-07-10 15:27:08 +02:00
Robin Gareus
42ee64e950 midi meter updates.. 2013-07-10 15:27:08 +02:00
Robin Gareus
8a16e61b11 make all meter-colors configurable,.. 2013-07-10 15:27:07 +02:00
Robin Gareus
571b2d70e9 refactor level-meter widget: 5x2 stops meter colors 2013-07-10 15:27:07 +02:00
Robin Gareus
447e736139 remove b0rked horizontal meter code. 2013-07-10 15:27:07 +02:00
Robin Gareus
a07c50ad80 reduce peak-hold indicator to 2px height 2013-07-10 15:27:05 +02:00
Robin Gareus
a13bdf4153 meter rounded rectangle 2013-07-10 15:27:04 +02:00
Robin Gareus
3823ffc942 configurable meter background color 2013-07-10 15:27:04 +02:00
Robin Gareus
e4d754390e meter border 2013-07-10 15:27:04 +02:00
Robin Gareus
5b6fd190cb remove border around meter gradients, again. 2013-07-10 15:27:04 +02:00
Robin Gareus
fdbb0ef780 meter background gradient (hardcoded colors so far)
this is a quick test w/black borders only left+right
for Mr oofus to assess.
2013-07-10 15:27:03 +02:00
Robin Gareus
d6d27f10cb fastmeter: 1px padding left&right 2013-07-10 15:27:03 +02:00
Robin Gareus
c23a537b61 session property - include busses in meterbridge 2013-07-10 15:27:02 +02:00
ben
04eaf7b418 add lib/LV2 path akin to lib/surfaces, to allow bundling of LV2 plugins in an ardour release. My first attempt to push... 2013-07-10 07:31:25 -05:00
Robin Gareus
29108187ed fix metering when monitoring track input. (ran twice) 2013-07-07 04:16:54 +02:00
Robin Gareus
398839f6e1 reset meters when changing metering-point or ports 2013-07-05 10:44:09 +02:00
Colin Fletcher
9a9f4276a0 Further Freesound import tweaks.
Make download of sound files multi-threaded. Each sound file download takes
place in its own thread, and has its own progress bar and cancel button,
which stack up from the bottom of the list of results.

Sound files download into a file with a '.part' suffix, which is then
renamed to the intended name on success.

Add a 'Similar' button, which searches Freesound for sounds similar to the
currently-selected sound in the results list.

Add a freesound-download-dir config variable to decide the location
of sound files downloaded from Freesound.

Move Windows-specific logic to replace '/'s with '\'s from
Mootcher::changeWorkingDir() to Mootcher::ensureWorkingDir(), and remove
the now unused Mootcher::changeWorkingDir().

Use Glib::build_filename to construct paths.
2013-06-22 13:35:03 +01:00