13
0
Commit Graph

13250 Commits

Author SHA1 Message Date
38891288f3 use fixed number of steps for dB-scale x-fade curves.
32 steps is sufficient for all practical musical purposes.
2014-05-29 22:41:13 +02:00
1cfdad6ffb fixed number of steps for symmetric fades:
Extra steps are all below -20dB vs inverse signal being over -2dB.
linear interpolation -6dB steps is sufficient for the tail.
2014-05-29 22:41:13 +02:00
be575b7945 fix data loss/file deletion caused by mistaken used of Session::source_by_path() to check if an AUDIO filesource with a given path already exists.
::source_by_path() was written for MIDI files only. I fixed the call and renamed the two similar functions (one for audio and one for MIDI) to make it more clear.
2014-05-29 16:27:41 -04:00
c6930c1aef fix symmetric fade-shape (still variable number of steps) 2014-05-29 20:53:18 +02:00
7953df93bf Symmetric x-fade, use equivalent of -6dB per step for 7 steps. 2014-05-29 16:59:04 +02:00
2d82446f59 set Gtk::RadioAction state on instant.xml load.
This should really be done in ArdourDropdown somehow.

Fixes issues introduced at b9708d5: If after session-load some
radio-item other than the first one is set active, it is
impossible to switch to the first.
e.g. set "Snap to Grid", Save Session, Load Session, trying to
switch to "Snap to None" fails until another mode is selected first.
2014-05-29 14:16:15 +02:00
bc523665fe more new fade icons from Chris Goddard 2014-05-29 13:19:47 +02:00
cc6eb5049a fix typo in vst doc. 2014-05-29 07:49:36 +02:00
918a0ac5f9 update x-fade context-menu 2014-05-29 07:49:26 +02:00
202d926916 smoothen rendering of x-fades 2014-05-29 07:48:43 +02:00
5451a70a16 increase accuracy of fades. 2014-05-29 07:48:25 +02:00
604abffeb5 fix prev commit 2014-05-29 05:30:13 +02:00
86e7d86089 renice x-fade rendering w/cairo-antialiasing 2014-05-29 05:06:02 +02:00
0ba8bbdbfc revert x-fade curves to Mixbus2. 2014-05-29 04:38:06 +02:00
796f4e9711 make building the dummy backend be a configure-time option. defaults to False for the time being 2014-05-28 22:30:06 -04:00
7e44308471 replace use of Curve with XFadeCurve. 2014-05-29 03:10:22 +02:00
30f204b90e Canvas: new x-fade drawing, two curve widget 2014-05-29 03:09:57 +02:00
f226ed086b update fade icons 2014-05-28 22:23:42 +02:00
317a6c7f99 fix wscript to handle git revision ID that consists of just MAJOR.MINOR, as will happen if the repo is at the exact same rev as the MAJOR.MINOR tag 2014-05-28 15:53:36 -04:00
d96a6ed247 fix x-fade icons in context menu 2014-05-28 19:46:31 +02:00
034f3dafd7 Revert "cairo sub-surface prototype & example
This reverts commit c57fcde78c.
and also     commit f1f8f89fcb.
2014-05-28 19:13:25 +02:00
24537477c4 fix up operation of Editor::temporal_zoom_to_frame() which had not been updated since samples_per_pixel was changed to an integer (framecnt_t) 2014-05-28 12:18:37 -04:00
f1f8f89fcb exercise subsurface rendering for x-fade curves 2014-05-28 17:38:42 +02:00
c57fcde78c cairo sub-surface prototype - intermediate flattened group renderer. 2014-05-28 17:38:42 +02:00
a1cbe0f1d9 VST: fix name detection if effGetEffectName is N/A, remove superfluous \0. 2014-05-28 02:15:52 +02:00
84ccf721ba VST: properly query name from plugin 2014-05-28 01:59:19 +02:00
c03b658531 Curve: anti-aliasing.
use cairo for anti-aliasing, and ignore explicit Catmull-Rom
points for that fall on the same x-cordinate.
2014-05-27 19:36:10 +02:00
d9b7c8b864 for trx, use the primary clock for verbose cursor units 2014-05-27 13:26:49 -04:00
4cf93fffc2 x-fade drawing rework, part one 2014-05-27 16:37:01 +02:00
99c953514b implement Curve in/outside fill 2014-05-27 16:37:01 +02:00
cadf07e362 global one-time setup of waveform preferences.
see note in previous commit.
2014-05-27 16:37:01 +02:00
a8f11b6004 persistent waveform shape setting.
NOTE: the call to set_global_shape() only needs to happen once,
presumably in a hook in the editor that catches Config::Changed

The same is true for waveform-scale and clipping. But for now it's
at least consistent.
2014-05-27 16:37:01 +02:00
432611113d directly apply waveform clip-level changes 2014-05-27 16:37:01 +02:00
458d4dc6de (Windows) Add support for finding the bundled version of Jack which comes with Mixbus
A few things need to be tested / completed:-
    1) The code is currently guarded by #ifdef COMPILER_MSVC. This is just precautionary. If it builds okay with MinGW ,the guard can be removed.
    2) Windows Playback and Capture devices almost always have different names. This needs to get accommodated in our Backend dialog (as in Mixbus)
    3) Windows Playback and Capture devices will almost always contain spaces. We need to accommodate this when writing to .jackdrc (surround them in quote marks)
2014-05-27 14:48:44 +01:00
5b4cb15dfc Remove an unnecessary #define 2014-05-27 13:24:51 +01:00
e2cecadd01 Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries 2014-05-27 09:51:39 +01:00
bf4819ab0e "We brake for nobody." oh wait. - fixes Rectified Waveform view. 2014-05-26 22:45:42 +02:00
314d210f2b fix region export with fades and gain.
region.read_at() is additive - it assumes the buffer may already contain
data from from lower regions.
2014-05-26 21:30:58 +02:00
15adbf54e8 NOOP, just re-indent diagram 2014-05-26 21:30:18 +02:00
bdb342123f fix prev commit, window-offset for x-fade drawing 2014-05-26 18:22:21 +02:00
791c668756 fix x-fade drawing
Catmull-Rom curve samples are not equally spaced on the x-axis.
Furthermore, Curve::map_value() is not needed, cairo line_to
already interpolates.
2014-05-26 17:02:21 +02:00
a0037ee2d8 fixup freeze operation.
since rev. 1e3a955, Session::write_one_track() gets and drops
thread buffers.
2014-05-26 07:00:00 +02:00
3be01ea502 apply gain automation on bounce - fixes 5887 2014-05-26 06:58:44 +02:00
bb727f4588 allow to set custom thread-buffer size
This is needed for gain and pan automation buffers
as well as silent and scratch buffers when bouncing or
exporting with larger chunk size than the current engine
period.
2014-05-26 06:56:04 +02:00
491f3f6e44 process effect-automation when bouncing w/processing 2014-05-26 06:55:56 +02:00
8f52bf7d9f ignore sends when bouncing w/processing - only break on inserts. 2014-05-25 21:20:07 +02:00
ad9c074828 bounce to target number of channels 2014-05-25 19:43:45 +02:00
5b2da3caf7 compensate for processor latency during bounce 2014-05-25 19:43:37 +02:00
1e3a955fc0 fix bounce with processing (thread buffers) fixes #5920 2014-05-25 08:23:36 +02:00
ec1e119610 cosmetic fix to OSX packaging temp file 2014-05-25 08:23:12 +02:00