Commit Graph

16764 Commits

Author SHA1 Message Date
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
Paul Davis
38f2aa51bd Merge branch 'master' into cairocanvas 2013-07-09 09:11:52 -04: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
Paul Davis
37743ea9b1 minor fixes for recent cairocanvas work so that it builds on OS X (64bit) 2013-07-01 12:04:02 -04:00
Paul Davis
af3056769c changes to waveform clipping display
* clip level is now -0.9dbFS
   * display of clipping is optional (see Theme Manager window)
   * clipping is based on disk data, unscaled by region gain
2013-06-28 20:21:30 -04:00
Paul Davis
aa480b8338 make clip indicators more visible (the smaller of 7 pixels or 5% of track height) 2013-06-28 17:09:39 -04:00
Paul Davis
5b3ebe824e restore display of clipping in waveform displays 2013-06-28 13:40:51 -04:00
Paul Davis
7a7e937d8e more waveform drawing/coloring changes
* move color-regions-using-track color into UI config, not RC config
   * consolidate all waveform coloring into AudioRegionView::set_one_waveform_color()
2013-06-28 11:31:26 -04:00
Paul Davis
144fdfbbd0 fix drawing of rectangles larger than 2000 pixels, caused by silly hard-coding of width limit 2013-06-27 17:27:58 -04:00
Paul Davis
c6fe6b0996 cleanup ArdourCanvas::WaveView
Mostly this just involved removing the private CacheEntry class that really served no further purpose once
the design reverted to a single cached image
2013-06-27 17:23:34 -04:00
Paul Davis
0e656f0a13 workaround/hack/fix for cairo pattern gradient space exceeding 2^16 size limit 2013-06-27 10:41:00 -04:00
Paul Davis
f9936d7d3c move text origin back down, since it was a mistake to move it; alter computation of text bounding box to more accurate and efficient (not done yet) 2013-06-26 17:55:42 -04:00
Paul Davis
2c3d570582 tweak position of pango-rendered text image on canvas by 2 pixels upward
this is an arbitrary tweak but seems to work well thus far
2013-06-26 12:29:44 -04:00
Paul Davis
3031a99364 Merge branch 'master' into cairocanvas 2013-06-25 22:24:47 -04:00
Paul Davis
57ff5e3198 fix gradient pattern origin translation for time axis view items
note: the solution is non-obvious, but the obvious one of applying a translational Cairo::Matrix to the gradient
caused an exception to be thrown because of a non-invertible matrix.
2013-06-25 20:41:24 -04:00
Paul Davis
2108525187 fix up size and drawing of measure lines, even when vertically scrolled 2013-06-24 23:03:11 -04:00
Paul Davis
a1f858d3b2 an awful lot of tweaks to drawing details 2013-06-24 16:28:53 -04:00
Paul Davis
0ce393f051 likely fix for Canvas::Image positioning under new coordinate/render rules 2013-06-22 14:59:43 -04: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
Paul Davis
11becd4a6b properly restore newer (cairo-canvas related) UI config parameters 2013-06-21 17:15:56 -04:00
Colin Fletcher
48efe6c293 Add config variable for Freesound download folder location. 2013-06-21 21:30:52 +01:00
Colin Fletcher
21914c884e Make scroll-wheel modifier keys consistent in main editor window.
Add constants for the keyboard modifiers that should be used for vertical
zoom, horizontal zoom, and horizontal scrolling in the main editor window,
and use these where appropriate rather than using Keyboard::PrimaryModifier
and friends directly.
2013-06-21 20:13:44 +01:00
Paul Davis
a079118981 fix incorrect coordinate space when drawing first poly-curve line 2013-06-21 13:56:01 -04:00
Paul Davis
1c74a3ab2d waveform drawing improvements
* handle logscaled and rectified
    * put dark tips in right places
    * improve color selection algorithm
2013-06-21 13:17:37 -04:00
Paul Davis
68779e0c0a (working) start of an experiment with pyramix-style waveform drawing 2013-06-20 23:12:19 -04:00
Paul Davis
27c943f1dd new image cache design for waveviews, with various fixes.
Rather than maintain a set of images in a cache, when we no longer have the required waveform data, create a new image that is appropriately centered and extends to roughly twice the screen width (or the limits of the region's source file(s), as necessary)
2013-06-20 14:37:31 -04:00