f17b84ad10
clean up ArdourCanvas::Arrow implementation to remove unshown polygon/head
2014-06-03 16:11:24 -04:00
bf7b35388b
rationalize and centralize computation of positional offset and scroll offset for canvas items
2014-06-03 16:11:24 -04:00
22e7252729
inline ScrollGroup::canvas_position() for no particular reason
2014-06-03 16:10:27 -04:00
c9f890bd7c
avoid recursing through the entire canvas when scrolling - only scroll explicitly identified ScrollGroups
2014-06-03 16:10:27 -04:00
6019f06bdf
different approach to independent scrolling, involving ArdourCanvas::ScrollGroup
...
The idea now is that a scroll group item can be added to the canvas which will causes its children to scroll in either or both
directions (horizontal or vertical). There are few complications: the position() of the ScrollGroup is ambiguous depending
on whether you want it with scroll taken into account or not, so Item::canvas_position() was added, which defaults to
the same value as Item::position() but is overridden by ScrollGroup to return the position independent of scrolling. This
method is used when translating between item/canvas/window coordinate systems.
Note that the basic idea is that we MOVE the scroll group when a scroll happens. This mirrors what happens in the GnomeCanvas,
where Nick Mainsbridge came up with a great idea that allowed unification of the time bar and track canvases.
2014-06-03 16:10:27 -04:00
97109672c7
initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas.
...
This commit should cause no change in behaviour, but contains all the code and changes necessary
for the next step
2014-06-03 16:09:06 -04:00
5626ea2b1f
When writing '.jackdrc' make sure we enclose any device names in quotation marks
...
(in Windows, device names almost always contain whitespace)
2014-06-03 14:04:10 +01:00
fd50cf14dd
Keep this #include consistent with similar ones
...
(evoral/evoral doesn't get used anywhere else)
2014-06-03 14:02:05 +01:00
01cedf0e05
ALSA backend: tweak midi parser (fix start mid sequence)
2014-06-03 01:00:58 +02:00
b050f91323
ALSA backend: device detection
2014-06-03 00:50:26 +02:00
432f54db24
make ALSA backend optional and disable by default
2014-06-02 20:33:12 +02:00
c79a56a08f
ALSA backend: add raw midi parser
2014-06-02 19:23:07 +02:00
5cd2010c79
ALSA backend: raw midi prototype
2014-06-02 19:23:07 +02:00
8e9b02cfa2
ALSA backend (based on Dummy backend and zita-alsa-pcmi)
2014-06-02 19:23:07 +02:00
7f18913e6d
fix errors in manual conflict resolution
2014-06-02 11:42:35 -04:00
8c9749e42f
merge with master and fix 4 conflicts by hand
2014-06-02 11:32:13 -04:00
f6d29abfc7
DummyBackend: fix midi event mux+sorting
2014-06-02 12:20:40 +02:00
1c60652bd8
fix --with-dummy config option
2014-06-01 18:18:32 +02:00
dc1a7a15fa
Dummy backend, revise small things
2014-06-01 18:18:08 +02:00
b800a01ea6
dummy-backend, fix physical ports in/out convention.
2014-06-01 18:16:15 +02:00
ab60429efc
test possible 'flickering' with nvidia
2014-05-31 18:22:34 +02:00
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
2342b7d611
don't allow waveform to bleed into TimeAxisViewItem frame border
2014-05-31 14:06:10 +02:00
62e8d1a25f
use CubicSpline interpolation for x-fade preset Shapes
2014-05-30 17:24:12 +02:00
c91f847454
update Evoral::Curve to honor ControlList::InterpolationStyle
2014-05-30 17:00:28 +02:00
161a3258ee
Add newly introduced sources to MSVC project
...
(xfade_curve stuff)
2014-05-30 12:52:03 +01:00
33412421f6
Rearrange some #includes to keep MSVC happy
2014-05-30 12:50:49 +01:00
5aecc877d6
Fix code to prepare re-enable cubic spline interpolation of automation data.
...
see also 24917e4c9e
2014-05-30 04:25:59 +02:00
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
fed5599baa
smooth visual curve drawing
2014-05-30 03:04:02 +02:00
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
08a1409b1f
back port 6576105 from cairocanvas as fix for data loss/file deletion
2014-05-29 16:28:57 -04: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
cc6eb5049a
fix typo in vst doc.
2014-05-29 07:49:36 +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
30f204b90e
Canvas: new x-fade drawing, two curve widget
2014-05-29 03:09:57 +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
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
99c953514b
implement Curve in/outside fill
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
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
c022f32bcd
allow to switch from/to dummy-backend
...
partos of this may become unnecessary once
libardour handles backend changes properly^Wdifferently.
2014-05-25 00:23:14 +02:00
2b9fa31241
DummyBackend: implement port connect_callback()
2014-05-25 00:21:44 +02:00
4153f4dd57
Initialise _soundcloud_upload to false in ExportFormatSpecification
2014-05-23 20:21:56 +01:00
4347ceb173
fix for OSX 10.0/clang (missing symbol) by cth
2014-05-23 20:49:21 +02:00
aa318a2fc3
Add and use a DEBUG flag for Soundcloud uploads.
...
Replace output to stdout/stderr from Soundcloud upload functions with
DEBUG_TRACE (DEBUG::Soundcloud, ...).
2014-05-23 19:36:47 +01:00
10ed21a498
Set 'downloadable' property on Soundcloud uploads
...
Set the downloadable property according to what the user chose on files
uploaded to Soundcloud.
2014-05-23 18:59:53 +01:00
29f0ad473f
Show URI of file uploaded to Soundcloud in log window.
2014-05-23 18:47:33 +01:00
b49e398250
Visual tweaks to Soundcloud panel
...
Re-arrange the items in the Soundcloud panel into a more sensible order &
arrangement, and add a (not-yet functional) tick-box to set the uploaded
files to be downloadable.
2014-05-23 18:45:40 +01:00
84bcf59812
Better names for Soundcloud-related members of ExportHandler
...
Rename the Soundcloud-related members of ExportHandler to all begin with
soundcloud_, and rename a couple of members of SoundcloudExportSelector
too for consistency.
2014-05-23 18:33:43 +01:00
9daab3db84
Make Soundcloud upload applicable to any export format.
...
Add soundcloud_upload property back into ExportFormatSpecification, but
instead of making it settable in the export format specification dialog,
add a tick-box in each tab of ExportFileNotebook to allow setting it.
2014-05-23 18:14:37 +01:00
2f6debf0d2
Remove Soundcloud upload from export format specification
...
Remove the Soundcloud upload property from export formats - it doesn't
belong there, since it's a thing which can apply (or not) to any format
preset.
2014-05-23 17:42:35 +01:00
f1beb02606
add GPLv2 to exec_wrapper
2014-05-22 23:44:28 +02:00
43b4577212
waves_backend (MSVC project) - Adapt for using Waves's (customized) portaudio_x86 library (Windows)
2014-05-21 12:50:31 +01:00
e36a8df16e
jack_backend (MSVC project) - Adapt for using portaudio_x86 library (Windows)
2014-05-21 12:49:24 +01:00
4d24ca3f0c
Add newly introduced sources to MSVC projects
...
(SoundCloud export stuff)
2014-05-21 12:47:03 +01:00
a47f9084db
Use Glib::usleep() for consistency
2014-05-21 12:45:13 +01:00
10a52f1d19
enforce style-guide #3 , #26 and #27
2014-05-21 02:25:45 +02:00
9d6cfd67c3
CoreMidi is also needed on OSX.6
2014-05-21 02:17:35 +02:00
81d8eaa216
fix type typo
2014-05-21 00:19:15 +02:00
bc8ccea212
remove debug output from system_exec
...
remove the debug output from pbd/system_exec: it's of no further use, and
also breaks optimised builds.
2014-05-19 22:49:22 +01:00
0de7c8920b
Merge branch 'mingw-updates' of https://github.com/mojofunk/ardour into cairocanvas
2014-05-19 17:19:43 -04:00
5399425f53
Merge branch 'export-dialog' into cairocanvas
...
Fix merge conflicts in:
gtk2_ardour/export_range_markers_dialog.cc
gtk2_ardour/wscript
libs/ardour/ardour/export_handler.h
libs/ardour/system_exec.cc
libs/pbd/pbd/system_exec.h
libs/pbd/system_exec.cc
2014-05-19 20:54:36 +01:00
65dc32f9ec
Add back libardour wrappers for PBD::SystemExec
...
Add back ARDOUR::SystemExec wrapper for PBD::SystemExec, and add
constructor for command line with parameter substitution.
2014-05-18 23:26:27 +01:00
ba08ae9641
Use ARDOUR namespace for SystemExec
...
Explicitly use ARDOUR::SystemExec, and #include the right header for it
too.
2014-05-18 22:34:04 +01:00
7c4259133d
SystemExec: copy last argument from command line to argv[]
...
Make sure to copy any part of the command line after the last delimiter
to argv[] when creating a SystemExec with an escaped command line.
2014-05-18 20:49:58 +01:00
205b5d97d5
partial fix for #5871 - midi-buffer size
2014-05-17 22:13:03 +02:00
19d99d4bc5
vst - fix effGetParameterProperties; label may be unset.
2014-05-17 17:01:02 +02:00
8b27c122b6
vst-scanner app: properly init and use libpbd's Transmitter
2014-05-17 16:54:12 +02:00
f3349a797c
more gettimeofday() -> g_get_monotonic_time()
2014-05-16 19:58:46 +02:00
5fba8a2015
and one more gettimeofday() transition (mackie timers)
2014-05-16 18:35:42 +02:00
030a8f189d
yet another gettimeofday() removal (glibmm idle)
2014-05-16 18:34:59 +02:00
827388ffdd
outline portable implementation to replace clock_gettime()
2014-05-16 18:19:41 +02:00
4ece16be8e
replace gettimeofday() with g_get_monotonic_time()
2014-05-16 18:13:08 +02:00
51d0792f14
DummyAudioBackend: configurable number of MIDI ports
2014-05-16 00:41:35 +02:00
cf8399c1c1
DummyAudioBackend: prepare configurable number of midi ports
2014-05-15 01:18:16 +02:00
4c2f1489f4
fix midi output on audio-tracks (e.g. audio->midi plugins)
2014-05-15 01:18:16 +02:00
Devin J. Pohly
16cbecf193
don't use llrint on already-integral variables
...
This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.
2014-05-14 12:11:14 -04:00
Devin J. Pohly
0aa2ed582a
fix accumulated rounding error in BBT grid
...
Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
2014-05-14 12:11:05 -04:00
Devin J. Pohly
cd0ac04080
don't use llrint on already-integral variables
...
This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.
2014-05-14 02:59:25 -04:00
Devin J. Pohly
d067e27762
fix accumulated rounding error in BBT grid
...
Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
2014-05-14 02:54:01 -04:00
6bf8249b4b
Use Glib::usleep in DummyAudioBackend rather than ::usleep
2014-05-14 09:48:43 +10:00
b565357bf4
Remove incorrect code for mingw in DummyAudioBackend::in_process_thread
...
I'm assuming this section was copied from the JackAudioBackend where the
thread type is not pthread_t for mingw, but in the DummyAudioBackend it
is.
2014-05-14 09:48:33 +10:00
e4442b45cf
Use COMPILER_MINGW define rather than __MINGW64__
...
This is necessary to build with win32 target using mingw-w64 version
on Fedora 19
2014-05-14 09:47:40 +10:00
86a0f10ac7
Reinstate code removed that allows building with mingw and the pthreads-win32 library
...
Newer versions of mingw-w64 can be built with an included pthread implementation
called winpthreads which uses an integer type for pthread_t but pthreads-win32 does
not.
2014-05-14 09:47:40 +10:00
b895a8f631
Always link to ole32 when building with mingw for get_win_special_folder
...
needed for CoTaskMemFree in get_win_special_folder
2014-05-14 09:47:40 +10:00
9cde7b6051
Fix pattern to match possible audio backends on windows
2014-05-14 09:47:40 +10:00
f075981330
Bug fix imported from Mixbus2 (SVN r11025)
...
Fix a crashing bug when trying to launch in a non-English locale (possibly only affects Windows)
2014-05-10 08:35:27 +01:00
e99c8960c0
first pass at tightening up waveform drawing algorithm to generally round down when dealing with fractional pixels
2014-05-07 10:35:50 -04:00
6142c814bf
provide plugins with all available buffers.
...
e.g. Audio in -> Midi out plugins (on an audio-track).
Midi-buffers do exist in the route but no corresponding
(physical) Input port-buffer exists and ardour crashed.
Now, the plugin itself still only accesses the mapped ports
(ChanMapping), but the mapped buffers are at most
"processor_max_streams" and at least the required
in+out buffers for the plugin.
2014-05-06 23:34:34 +02:00
ad40a9008b
Add some more missing #includes
2014-05-06 17:00:35 +01:00
18245b06d0
'atomic_ops' to use glib, rather than Waves's inbuilt atomic operations
...
Note that the following source files can be removed once we know this works on all platforms:-
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops.hpp
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops_gcc_x96.hpp
backends/wavesaudio/wavesapi/akupara/basics.hpp
backends/wavesaudio/wavesapi/akupara/compiletime_functions.hpp
2014-05-06 09:41:40 +01:00
b9fab9ea28
Add a return value to 'WCMRPortAudioDeviceManager::getDeviceAvailableSampleRates()'
...
(whilst technically, it doesn't report any encountered errors, it should nevertheless be returning some kind of error status)
2014-05-06 09:33:54 +01:00
8d0ec2403f
Add a couple of pthread helper macros
...
(to accommodate the fact that in ptw-win32, 'pthread_t' is subtlely different from its non-Windows counterparts)
2014-05-06 09:31:11 +01:00
1a1a05fa1c
Add 'waves_backend.vcproj'
2014-05-06 09:26:59 +01:00
41fe637e80
Add the 'porttime' source file for Windows
2014-05-06 09:25:27 +01:00
051ceffc5d
Add some type guards to 'wstdint.h' (in case we previously #included some headers which already define those types)
2014-05-06 09:23:00 +01:00
9cf2cf55f5
Add some casting and namespace specifiers to keep MSVC happy
2014-05-06 09:20:03 +01:00
0277c8c8d1
Add a couple of missing header files (needed for cin /cout etc)
2014-05-06 09:16:59 +01:00
9af09e5769
Add 'midi_scene_change' sources to ardour.vcproj
2014-05-06 09:08:47 +01:00
6ffd8a9543
a variety of changes to finalize (?) (MIDI) SceneChange functionality
2014-05-02 18:44:04 -04:00
27cff1dc01
tell the SceneChanger to emit any relevant scene changes after a locate
2014-05-02 18:43:37 -04:00
25a5c317f9
changing the start (position) of a marker with a scene change needs to update the SceneChanger
2014-05-02 18:43:04 -04:00
Adrian Knoth
1770227834
Introduce global default-fade-shape configuration variable
...
Some users always want the same fade in/out style, e.g., constant power,
symmetric, fast etc.
To avoid having them change the fade style manually for each fade, use a
global configuration variable instead.
2014-05-01 20:02:14 +02:00
Adrian Knoth
ca68814faf
Drop unused set_default-fade(float, framecnt_t) prototype
2014-05-01 20:02:08 +02:00
e69531b953
fix crash in butler when destroying before thread is started
2014-05-01 12:31:34 -04:00
cd00429672
fix install path for ./waf install of waves backend
2014-05-01 10:18:30 -04:00
fa139421b9
second part of windows/osx macro change - forgot *.cpp files
2014-05-01 09:39:11 -04:00
49423427a6
alter platform-dependent preprocessor macros to use the same names as the rest of the ardour codebase
2014-05-01 09:32:18 -04:00
49ad78659b
fix compile for waves backend, after recent API change
2014-05-01 09:22:59 -04:00
392c3a6bef
use AudioBackendInfo::already_configured() to correctly determine if backend requires setup
...
Fixes issues when using JACK backend in combination with others, that prevented connecting to an existing JACK server.
2014-05-01 09:15:26 -04:00
66559cd795
Add AudioBackend::info() method to retrieve AudioBackendInfo object
...
Goal is to be able to call AudioBackendInfo::already_configured() from the right place.
2014-05-01 09:14:25 -04:00
ca08e4c7c7
more previously applied changes required to build Waves audio/midi backend
2014-04-30 14:24:32 -04:00
c90fef1b4c
second part of (previously applied) change to be able to use -fms-extensions with C compiler
2014-04-30 13:48:25 -04:00
19d21045af
2nd attempt at updated Waves audio backend, with added -fms-extensions as previously applied (but not updated in Waves' repo) to allow anonymous unions, as used by PortMidi
2014-04-30 13:46:41 -04:00
d604852f67
use per-channel signals to pick up scene changes, rather than global ones
2014-04-30 10:10:31 -04:00
58522e5b5e
fix for storing 14 bit MIDI controller values
2014-04-30 10:10:06 -04:00
8a6762f189
Revert "update wavesaudio backend, now supports Windows (ASIO) as well as OS X (CoreAudio)"
...
This reverts commit f374ce69a6
.
The code does not compile on OS X, and includes changes to ARDOUR::AudioEngine
that have not landed in git.
2014-04-29 16:30:56 -04:00
f374ce69a6
update wavesaudio backend, now supports Windows (ASIO) as well as OS X (CoreAudio)
2014-04-29 16:06:39 -04:00
1f70e9472a
DummyAudioBackend: fix freewheelin' typo
2014-04-29 13:32:13 +02:00
eaafc3394a
DummyAudioBackend: implement /fake/ system ports
2014-04-29 13:32:13 +02:00
19e0383c3b
DummyAudioBackend: NOOP, white-space, clarify variable name & casts
2014-04-29 13:32:13 +02:00
1b989a93c2
remove redundant os.path.join() calls when specifying install path as bld.env['LIBDIR']
2014-04-28 21:18:02 -04:00
058986f77b
finish unfinished work at basing all install paths on the program name
2014-04-28 21:11:08 -04:00