13
0
Commit Graph

16547 Commits

Author SHA1 Message Date
e902029b26 fix Session::rename() 2015-05-07 12:06:49 -04:00
31acba8305 debugging rename/save-as 2015-05-05 21:30:00 -04:00
4a301595bd rename user's customized color file when resetting theme. Fixes #6286 2015-05-05 21:29:48 -04:00
7005529886 fix some gtk filechooser issues 2015-05-05 18:35:58 +02:00
7447843a33 oversample meter faceplate image surfaces
Works around issues with pango on windows,
fixes crude text on OSX/retina and can provide sub-pixel
rendering on GNU/Linux/X11.
2015-05-05 03:02:09 +02:00
6b69fd5640 NSM preparation for OSX and windows
Note that on those platforms the application name
is a full path. This is permitted by the specs:

“executable_name MUST be the executable name that the program was launched with. For C programs, this is simply the value of argv[0]” [http://non.tuxfamily.org/nsm/API.html#n:1.2.1.1.]

but the current implementation of nsm expects the basename
only and searched $PATH.
2015-05-05 00:25:06 +02:00
d1334074af add plugin parameter reset button - closes #6297 2015-05-04 20:52:48 +02:00
9790d2b5dd prepare plugin reset (#6297) 2015-05-04 20:48:41 +02:00
fbea6c2542 API to reset plugin parameters to default 2015-05-04 20:35:23 +02:00
54fe093371 add signal for automation state changes per plugin 2015-05-04 20:35:14 +02:00
c704a23977 update startup scripts for NSM
fixes #6265 for GNU/Linux.
2015-05-04 19:09:37 +02:00
9e489c20da further preparations for NSM (#6265) 2015-05-04 19:08:48 +02:00
59067d3568 clear port-list before query.
fixes crash in PortManager::silence_outputs()
2015-05-04 02:06:59 +02:00
9ec3085d71 fix thinko in 2e4428b
perspective of Ardour: signal sinks are outputs
2015-05-04 00:29:15 +02:00
66128bc540 fix -Wsign-compare 2015-05-03 23:36:20 +02:00
489f6d8648 right-click in mixer’s group box: show context menu. 2015-05-03 23:33:05 +02:00
aee658ef96 no more noise during startup. 2015-05-03 23:17:15 +02:00
2e4428bc97 add an API to silence buffers (without session) 2015-05-03 23:06:21 +02:00
56cc3e2407 fix portengin get_ports() flags API
require all flags to be present (same as jack)
2015-05-03 22:34:52 +02:00
b2a622b73c de-select other strips when re-selecting a strip 2015-05-03 21:34:17 +02:00
Christopher Arndt
a9bc95a911 Fix mixed spaces/tabs in wscripts 2015-05-03 19:52:38 +02:00
Nils Philippsen
1e5c5e6bdf don't install static library libsmf.a 2015-05-03 19:50:36 +02:00
00e59940c8 Allow to delete PC using <Del>
It currently only works if there’s no prior selection of notes
in which case the MRV handles the event.
2015-05-03 02:20:28 +02:00
62a2d6a064 implement scroll wheel support for ardour-dropdown 2015-05-03 01:00:44 +02:00
198c4d1d88 gfx-card & performance testing 2015-05-02 04:54:59 +02:00
8f333acb80 log(0) - who would have guessed.
marginal improvement on x86_64 for zero, 5-10% for tiny numbers;
100% time improvement (half the time) on i686 with zero.

#/bin/sh
g++ -x c++ -O3 -ffast-math -o /tmp/a.out - << EOF

#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <limits>

static inline float accurate_coefficient_to_dB (float coeff) {                                                                                                                                                                               
#if 1 // try me
  if (coeff < 1e-15) return  -std::numeric_limits<float>::infinity();
#endif
  return 20.0f * log10f (coeff);
}

int main (int argc, char **argv) {
  long long int i;
  float f = 0;
  if (argc  < 3) return -1;
  long long int end = atoll (argv[1]);
  for (i = 0; i < end; ++i) {
    f += accurate_coefficient_to_dB (atof (argv[2]));
  }
  printf ("%f\n",f);
  return 0;
}
EOF

time /tmp/a.out 100000000000 0.0
time /tmp/a.out 100000000000 0.0
time /tmp/a.out 100000000000 0.0
2015-05-02 04:19:54 +02:00
ce259edbcd professionalize peak-meters
The peak meter needs to withstand various test-signals
without visual jitter (in particular 1kHz sine) regardless
of settings (period-size, sample-rate, custom fall-off).

This needs to be done in sync (and not by a random non-rt
‘smoothing’ thread).

On the downside this voids the ‘visual smoothing’ particularly 
with large buffersizes - but then again exactly this “always 
fall-off no matter what [the next real data will be]” is the
problem.

One the upside, there’s one less high-frequency (100Hz) thread
(Yay!) PS. it probably never worked on windows, anyway.

Only peak-meters are affected by his change.
K-meters, IEC I/II and VU were never visually smoothed.
2015-05-02 03:46:49 +02:00
2f432c3be7 dummy: ignore first cycle timing. 2015-05-01 15:58:17 +02:00
e418b0866e tweak Midi/DIN icon (proper notch) 2015-05-01 15:16:32 +02:00
d0dca7daf0 constrain initial custom meter positions.
The processor-box GUI only allows to move the
custom meter position between trim and main_out/panner.

Previously an initial switch from In -> custom or Out -> Custom
left the meter at a position that can otherwise not be reached
by manually repositioning the custom meter.
2015-05-01 14:45:45 +02:00
8e9bb2be46 fix thinko with region-gain time offset. 2015-05-01 14:30:49 +02:00
840b871245 don’t count silent [x]runs if there’s no session. 2015-04-30 22:55:42 +02:00
e65e77e360 update region-gain-line time-converter. fixes #6293 2015-04-30 22:54:18 +02:00
2b294f0b43 add a sanity check 2015-04-30 21:15:35 +02:00
6366d21399 more meter-change UI optimization
the meter widgets keep track of configuration
and type. There is no more need to force an update.
2015-04-30 19:19:31 +02:00
4dc29153a2 skip [duplicate] meter re-packing. 2015-04-30 19:19:31 +02:00
0e85408c59 cleanup display suspend. 2015-04-30 19:19:31 +02:00
a3209b9b91 Correctly dereference 'fxbuf' when building with MSVC 2015-04-30 18:17:24 +01:00
fe3aafec1c When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand 2015-04-30 18:17:23 +01:00
9b385571e7 fix over-optimzation in e3375c3.
Some users of DisplaySuspender expect an implicit redisplay.
2015-04-30 18:28:27 +02:00
e3375c309a suspend editor redisplay during batch changes
(major speed-up when changing all meters)
2015-04-30 18:01:30 +02:00
ae38128f88 session: add signal to indicate batch updates
…to tell the UI to not redraw.
2015-04-30 17:58:33 +02:00
af884b4174 meter-change: don’t update track-headers if not needed 2015-04-30 17:30:10 +02:00
e0747bdb79 x-fade pixel hunt 2015-04-30 02:32:42 +02:00
49ffcd0d9d clamp DSP load displsy 100% & relax LPF. 2015-04-30 02:00:50 +02:00
e3cd57ecb6 DSP load calculation: favor peak over average. 2015-04-29 21:27:37 +02:00
729bc00f13 no need to close a file that will not be removed (and has no name) 2015-04-29 15:01:33 -04:00
89f5e22896 fix double precision abs value computation 2015-04-29 19:56:35 +02:00
84aab564b4 enable fade-out display by default in A4.
..because fade outs are implicit in A4.
Eventually the GUI needs to set_show_background_fade() as needed.
2015-04-29 19:55:53 +02:00
8ed04e2155 remove AU crashlog assert.
in case $HOME/Library/Caches/Ardour4/au_crashlog.txt
is not writeable, just log to stderr.
2015-04-29 18:43:32 +02:00