Commit graph

6842 commits

Author SHA1 Message Date
Robin Gareus
f6d29abfc7 DummyBackend: fix midi event mux+sorting 2014-06-02 12:20:40 +02:00
Robin Gareus
1c60652bd8 fix --with-dummy config option 2014-06-01 18:18:32 +02:00
Robin Gareus
dc1a7a15fa Dummy backend, revise small things 2014-06-01 18:18:08 +02:00
Robin Gareus
b800a01ea6 dummy-backend, fix physical ports in/out convention. 2014-06-01 18:16:15 +02:00
Robin Gareus
ab60429efc test possible 'flickering' with nvidia 2014-05-31 18:22:34 +02:00
Robin Gareus
f382aef5ac do not thin() automation event list on load.
only thin() when writing automation. This fixes issues with
loading short x-fades (which can be stretched later).

TODO: thinning should not just drop, but interpolate and use
more elaborate logic, compared to A2/MB2 Curve::merge_nascent()
2014-05-31 17:13:47 +02:00
Robin Gareus
2342b7d611 don't allow waveform to bleed into TimeAxisViewItem frame border 2014-05-31 14:06:10 +02:00
Robin Gareus
62e8d1a25f use CubicSpline interpolation for x-fade preset Shapes 2014-05-30 17:24:12 +02:00
Robin Gareus
c91f847454 update Evoral::Curve to honor ControlList::InterpolationStyle 2014-05-30 17:00:28 +02:00
John Emmas
161a3258ee Add newly introduced sources to MSVC project
(xfade_curve stuff)
2014-05-30 12:52:03 +01:00
John Emmas
33412421f6 Rearrange some #includes to keep MSVC happy 2014-05-30 12:50:49 +01:00
Robin Gareus
5aecc877d6 Fix code to prepare re-enable cubic spline interpolation of automation data.
see also 24917e4c9e
2014-05-30 04:25:59 +02:00
Robin Gareus
e69057319e panner: backwards compatibility, constrain pan-range in old sessions
fixes http://tracker.ardour.org/view.php?id=5823#c15686

This is only an issue when loading an old session
(pre 3.5.308 - actual change was 21ca6a10) for the first
time with newer ardour.
Saving and re-loading with ardour >= 3.5.308 fixed this as well.
2014-05-30 03:54:15 +02:00
Robin Gareus
fed5599baa smooth visual curve drawing 2014-05-30 03:04:02 +02:00
Robin Gareus
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
Robin Gareus
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
Paul Davis
08a1409b1f back port 6576105 from cairocanvas as fix for data loss/file deletion 2014-05-29 16:28:57 -04:00
Paul Davis
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
Robin Gareus
c6930c1aef fix symmetric fade-shape (still variable number of steps) 2014-05-29 20:53:18 +02:00
Robin Gareus
7953df93bf Symmetric x-fade, use equivalent of -6dB per step for 7 steps. 2014-05-29 16:59:04 +02:00
Robin Gareus
cc6eb5049a fix typo in vst doc. 2014-05-29 07:49:36 +02:00
Robin Gareus
202d926916 smoothen rendering of x-fades 2014-05-29 07:48:43 +02:00
Robin Gareus
5451a70a16 increase accuracy of fades. 2014-05-29 07:48:25 +02:00
Robin Gareus
604abffeb5 fix prev commit 2014-05-29 05:30:13 +02:00
Robin Gareus
86e7d86089 renice x-fade rendering w/cairo-antialiasing 2014-05-29 05:06:02 +02:00
Robin Gareus
0ba8bbdbfc revert x-fade curves to Mixbus2. 2014-05-29 04:38:06 +02:00
Paul Davis
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
Robin Gareus
30f204b90e Canvas: new x-fade drawing, two curve widget 2014-05-29 03:09:57 +02:00
Robin Gareus
034f3dafd7 Revert "cairo sub-surface prototype & example
This reverts commit c57fcde78c.
and also     commit f1f8f89fcb.
2014-05-28 19:13:25 +02:00
Robin Gareus
f1f8f89fcb exercise subsurface rendering for x-fade curves 2014-05-28 17:38:42 +02:00
Robin Gareus
c57fcde78c cairo sub-surface prototype - intermediate flattened group renderer. 2014-05-28 17:38:42 +02:00
Robin Gareus
a1cbe0f1d9 VST: fix name detection if effGetEffectName is N/A, remove superfluous \0. 2014-05-28 02:15:52 +02:00
Robin Gareus
84ccf721ba VST: properly query name from plugin 2014-05-28 01:59:19 +02:00
Robin Gareus
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
Robin Gareus
99c953514b implement Curve in/outside fill 2014-05-27 16:37:01 +02:00
Robin Gareus
432611113d directly apply waveform clip-level changes 2014-05-27 16:37:01 +02:00
John Emmas
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
John Emmas
5b4cb15dfc Remove an unnecessary #define 2014-05-27 13:24:51 +01:00
John Emmas
e2cecadd01 Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries 2014-05-27 09:51:39 +01:00
Robin Gareus
bf4819ab0e "We brake for nobody." oh wait. - fixes Rectified Waveform view. 2014-05-26 22:45:42 +02:00
Robin Gareus
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
Robin Gareus
15adbf54e8 NOOP, just re-indent diagram 2014-05-26 21:30:18 +02:00
Robin Gareus
bdb342123f fix prev commit, window-offset for x-fade drawing 2014-05-26 18:22:21 +02:00
Robin Gareus
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
Robin Gareus
3be01ea502 apply gain automation on bounce - fixes 5887 2014-05-26 06:58:44 +02:00
Robin Gareus
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
Robin Gareus
491f3f6e44 process effect-automation when bouncing w/processing 2014-05-26 06:55:56 +02:00
Robin Gareus
8f52bf7d9f ignore sends when bouncing w/processing - only break on inserts. 2014-05-25 21:20:07 +02:00
Robin Gareus
ad9c074828 bounce to target number of channels 2014-05-25 19:43:45 +02:00
Robin Gareus
5b2da3caf7 compensate for processor latency during bounce 2014-05-25 19:43:37 +02:00