ardour.git
9 years agoDummyBackend: fix midi event mux+sorting
Robin Gareus [Mon, 2 Jun 2014 10:19:35 +0000 (12:19 +0200)]
DummyBackend: fix midi event mux+sorting

10 years agofix display of cd-track-detail UI
Robin Gareus [Sun, 1 Jun 2014 17:48:21 +0000 (19:48 +0200)]
fix display of cd-track-detail UI

10 years agofix --with-dummy config option
Robin Gareus [Sun, 1 Jun 2014 16:18:32 +0000 (18:18 +0200)]
fix --with-dummy config option

10 years agoDummy backend, revise small things
Robin Gareus [Sun, 1 Jun 2014 16:18:08 +0000 (18:18 +0200)]
Dummy backend, revise small things

10 years agodummy-backend, fix physical ports in/out convention.
Robin Gareus [Sun, 1 Jun 2014 16:16:15 +0000 (18:16 +0200)]
dummy-backend, fix physical ports in/out convention.

10 years agodisable snap fades to 'other' region (for now)
Robin Gareus [Sat, 31 May 2014 22:40:07 +0000 (00:40 +0200)]
disable snap fades to 'other' region (for now)

10 years agotest possible 'flickering' with nvidia
Robin Gareus [Sat, 31 May 2014 16:22:34 +0000 (18:22 +0200)]
test possible 'flickering' with nvidia

10 years agodo not thin() automation event list on load.
Robin Gareus [Sat, 31 May 2014 15:13:47 +0000 (17:13 +0200)]
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()

10 years agofrankenstein'ed fade+trim cursors
Robin Gareus [Sat, 31 May 2014 14:07:38 +0000 (16:07 +0200)]
frankenstein'ed fade+trim cursors

10 years agoinitialize variables
Robin Gareus [Sat, 31 May 2014 13:18:43 +0000 (15:18 +0200)]
initialize variables

10 years agoshow fade+trim handles only if the operation is possible
Robin Gareus [Sat, 31 May 2014 13:15:46 +0000 (15:15 +0200)]
show fade+trim handles only if the operation is possible

10 years agosession fade-region-visible is for fades - not controls
Robin Gareus [Sat, 31 May 2014 12:16:15 +0000 (14:16 +0200)]
session fade-region-visible is for fades - not controls

10 years agodon't allow waveform to bleed into TimeAxisViewItem frame border
Robin Gareus [Sat, 31 May 2014 12:06:10 +0000 (14:06 +0200)]
don't allow waveform to bleed into TimeAxisViewItem frame border

10 years agoprepare fade+trim cursors (cursor image still missing)
Robin Gareus [Sat, 31 May 2014 12:04:41 +0000 (14:04 +0200)]
prepare fade+trim cursors (cursor image still missing)

10 years agoreduce outline of fade-in/active rectangle to line
Robin Gareus [Sat, 31 May 2014 12:00:28 +0000 (14:00 +0200)]
reduce outline of fade-in/active rectangle to line

10 years agoshow x-fade-rectangle only when hovering
Robin Gareus [Sat, 31 May 2014 12:00:04 +0000 (14:00 +0200)]
show x-fade-rectangle only when hovering

10 years agofix fade+trim handle hover color
Robin Gareus [Sat, 31 May 2014 02:51:02 +0000 (04:51 +0200)]
fix fade+trim handle hover color

10 years agoreset [trim] fade handle position if track-height changes
Robin Gareus [Sat, 31 May 2014 02:17:47 +0000 (04:17 +0200)]
reset [trim] fade handle position if track-height changes

10 years agotowards region-trims preserving fade duration
Robin Gareus [Sat, 31 May 2014 01:53:59 +0000 (03:53 +0200)]
towards region-trims preserving fade duration

10 years agouse CubicSpline interpolation for x-fade preset Shapes
Robin Gareus [Fri, 30 May 2014 15:24:12 +0000 (17:24 +0200)]
use CubicSpline interpolation for x-fade preset Shapes

10 years agoupdate Evoral::Curve to honor ControlList::InterpolationStyle
Robin Gareus [Fri, 30 May 2014 15:00:28 +0000 (17:00 +0200)]
update Evoral::Curve to honor ControlList::InterpolationStyle

10 years agoAdd newly introduced sources to MSVC project
John Emmas [Fri, 30 May 2014 11:52:03 +0000 (12:52 +0100)]
Add newly introduced sources to MSVC project

(xfade_curve stuff)

10 years agoRearrange some #includes to keep MSVC happy
John Emmas [Fri, 30 May 2014 11:50:49 +0000 (12:50 +0100)]
Rearrange some #includes to keep MSVC happy

10 years agoFix code to prepare re-enable cubic spline interpolation of automation data.
Robin Gareus [Fri, 30 May 2014 02:25:59 +0000 (04:25 +0200)]
Fix code to prepare re-enable cubic spline interpolation of automation data.

see also 24917e4c9e36ca57

10 years agopanner: backwards compatibility, constrain pan-range in old sessions
Robin Gareus [Fri, 30 May 2014 01:54:15 +0000 (03:54 +0200)]
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.

10 years agosmooth visual curve drawing
Robin Gareus [Fri, 30 May 2014 01:04:02 +0000 (03:04 +0200)]
smooth visual curve drawing

10 years agouse fixed number of steps for dB-scale x-fade curves.
Robin Gareus [Thu, 29 May 2014 20:40:40 +0000 (22:40 +0200)]
use fixed number of steps for dB-scale x-fade curves.

32 steps is sufficient for all practical musical purposes.

10 years agofixed number of steps for symmetric fades:
Robin Gareus [Thu, 29 May 2014 19:03:46 +0000 (21:03 +0200)]
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.

10 years agofix data loss/file deletion caused by mistaken used of Session::source_by_path()...
Paul Davis [Thu, 29 May 2014 20:27:33 +0000 (16:27 -0400)]
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.

10 years agofix symmetric fade-shape (still variable number of steps)
Robin Gareus [Thu, 29 May 2014 18:53:18 +0000 (20:53 +0200)]
fix symmetric fade-shape (still variable number of steps)

10 years agoSymmetric x-fade, use equivalent of -6dB per step for 7 steps.
Robin Gareus [Thu, 29 May 2014 14:59:04 +0000 (16:59 +0200)]
Symmetric x-fade, use equivalent of -6dB per step for 7 steps.

10 years agoset Gtk::RadioAction state on instant.xml load.
Robin Gareus [Thu, 29 May 2014 12:16:15 +0000 (14:16 +0200)]
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.

10 years agomore new fade icons from Chris Goddard
Robin Gareus [Thu, 29 May 2014 11:19:47 +0000 (13:19 +0200)]
more new fade icons from Chris Goddard

10 years agofix typo in vst doc.
Robin Gareus [Thu, 29 May 2014 05:49:36 +0000 (07:49 +0200)]
fix typo in vst doc.

10 years agoupdate x-fade context-menu
Robin Gareus [Thu, 29 May 2014 05:49:26 +0000 (07:49 +0200)]
update x-fade context-menu

10 years agosmoothen rendering of x-fades
Robin Gareus [Thu, 29 May 2014 05:48:43 +0000 (07:48 +0200)]
smoothen rendering of x-fades

10 years agoincrease accuracy of fades.
Robin Gareus [Thu, 29 May 2014 05:48:25 +0000 (07:48 +0200)]
increase accuracy of fades.

10 years agofix prev commit
Robin Gareus [Thu, 29 May 2014 03:30:13 +0000 (05:30 +0200)]
fix prev commit

10 years agorenice x-fade rendering w/cairo-antialiasing
Robin Gareus [Thu, 29 May 2014 03:06:02 +0000 (05:06 +0200)]
renice x-fade rendering w/cairo-antialiasing

10 years agorevert x-fade curves to Mixbus2.
Robin Gareus [Thu, 29 May 2014 02:37:13 +0000 (04:37 +0200)]
revert x-fade curves to Mixbus2.

10 years agomake building the dummy backend be a configure-time option. defaults to False for...
Paul Davis [Thu, 29 May 2014 02:30:06 +0000 (22:30 -0400)]
make building the dummy backend be a configure-time option. defaults to False for the time being

10 years agoreplace use of Curve with XFadeCurve.
Robin Gareus [Thu, 29 May 2014 01:10:22 +0000 (03:10 +0200)]
replace use of Curve with XFadeCurve.

10 years agoCanvas: new x-fade drawing, two curve widget
Robin Gareus [Thu, 29 May 2014 01:09:57 +0000 (03:09 +0200)]
Canvas: new x-fade drawing, two curve widget

10 years agoupdate fade icons
Robin Gareus [Wed, 28 May 2014 20:20:28 +0000 (22:20 +0200)]
update fade icons

10 years agofix wscript to handle git revision ID that consists of just MAJOR.MINOR, as will...
Paul Davis [Wed, 28 May 2014 19:53:25 +0000 (15:53 -0400)]
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

10 years agofix x-fade icons in context menu
Robin Gareus [Wed, 28 May 2014 17:46:31 +0000 (19:46 +0200)]
fix x-fade icons in context menu

10 years agoRevert "cairo sub-surface prototype & example
Robin Gareus [Wed, 28 May 2014 17:12:32 +0000 (19:12 +0200)]
Revert "cairo sub-surface prototype & example

This reverts commit c57fcde78cc0fb393fb7420f1edbc71edf572bd0.
and also     commit f1f8f89fcb9312065a818233dff4a3f1871fa7fe.

10 years agofix up operation of Editor::temporal_zoom_to_frame() which had not been updated since...
Paul Davis [Wed, 28 May 2014 16:18:30 +0000 (12:18 -0400)]
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)

10 years agoexercise subsurface rendering for x-fade curves
Robin Gareus [Wed, 28 May 2014 15:12:33 +0000 (17:12 +0200)]
exercise subsurface rendering for x-fade curves

10 years agocairo sub-surface prototype - intermediate flattened group renderer.
Robin Gareus [Wed, 28 May 2014 15:12:03 +0000 (17:12 +0200)]
cairo sub-surface prototype - intermediate flattened group renderer.

10 years agoVST: fix name detection if effGetEffectName is N/A, remove superfluous \0.
Robin Gareus [Wed, 28 May 2014 00:15:52 +0000 (02:15 +0200)]
VST: fix name detection if effGetEffectName is N/A, remove superfluous \0.

10 years agoVST: properly query name from plugin
Robin Gareus [Tue, 27 May 2014 23:59:19 +0000 (01:59 +0200)]
VST: properly query name from plugin

10 years agoCurve: anti-aliasing.
Robin Gareus [Tue, 27 May 2014 17:28:56 +0000 (19:28 +0200)]
Curve: anti-aliasing.

use cairo for anti-aliasing, and ignore explicit Catmull-Rom
points for that fall on the same x-cordinate.

10 years agofor trx, use the primary clock for verbose cursor units
Paul Davis [Tue, 27 May 2014 17:25:46 +0000 (13:25 -0400)]
for trx, use the primary clock for verbose cursor units

10 years agox-fade drawing rework, part one
Robin Gareus [Tue, 27 May 2014 14:28:28 +0000 (16:28 +0200)]
x-fade drawing rework, part one

10 years agoimplement Curve in/outside fill
Robin Gareus [Tue, 27 May 2014 14:27:20 +0000 (16:27 +0200)]
implement Curve in/outside fill

10 years agoglobal one-time setup of waveform preferences.
Robin Gareus [Mon, 26 May 2014 22:34:27 +0000 (00:34 +0200)]
global one-time setup of waveform preferences.

see note in previous commit.

10 years agopersistent waveform shape setting.
Robin Gareus [Mon, 26 May 2014 22:33:42 +0000 (00:33 +0200)]
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.

10 years agodirectly apply waveform clip-level changes
Robin Gareus [Mon, 26 May 2014 22:33:15 +0000 (00:33 +0200)]
directly apply waveform clip-level changes

10 years ago(Windows) Add support for finding the bundled version of Jack which comes with Mixbus
John Emmas [Tue, 27 May 2014 13:48:44 +0000 (14:48 +0100)]
(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)

10 years agoRemove an unnecessary #define
John Emmas [Tue, 27 May 2014 12:24:51 +0000 (13:24 +0100)]
Remove an unnecessary #define

10 years agoUse PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries
John Emmas [Tue, 27 May 2014 08:51:39 +0000 (09:51 +0100)]
Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries

10 years ago"We brake for nobody." oh wait. - fixes Rectified Waveform view.
Robin Gareus [Mon, 26 May 2014 20:45:42 +0000 (22:45 +0200)]
"We brake for nobody." oh wait. - fixes Rectified Waveform view.

10 years agofix region export with fades and gain.
Robin Gareus [Mon, 26 May 2014 19:30:58 +0000 (21:30 +0200)]
fix region export with fades and gain.

region.read_at() is additive - it assumes the buffer may already contain
data from from lower regions.

10 years agoNOOP, just re-indent diagram
Robin Gareus [Mon, 26 May 2014 19:22:30 +0000 (21:22 +0200)]
NOOP, just re-indent diagram

10 years agofix prev commit, window-offset for x-fade drawing
Robin Gareus [Mon, 26 May 2014 16:22:21 +0000 (18:22 +0200)]
fix prev commit, window-offset for x-fade drawing

10 years agofix x-fade drawing
Robin Gareus [Mon, 26 May 2014 15:02:21 +0000 (17:02 +0200)]
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.

10 years agofixup freeze operation.
Robin Gareus [Mon, 26 May 2014 05:00:00 +0000 (07:00 +0200)]
fixup freeze operation.

since rev. 1e3a955, Session::write_one_track() gets and drops
thread buffers.

10 years agoapply gain automation on bounce - fixes 5887
Robin Gareus [Mon, 26 May 2014 04:58:44 +0000 (06:58 +0200)]
apply gain automation on bounce - fixes 5887

10 years agoallow to set custom thread-buffer size
Robin Gareus [Mon, 26 May 2014 04:21:05 +0000 (06:21 +0200)]
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.

10 years agoprocess effect-automation when bouncing w/processing
Robin Gareus [Mon, 26 May 2014 04:17:49 +0000 (06:17 +0200)]
process effect-automation when bouncing w/processing

10 years agoignore sends when bouncing w/processing - only break on inserts.
Robin Gareus [Sun, 25 May 2014 19:18:25 +0000 (21:18 +0200)]
ignore sends when bouncing w/processing - only break on inserts.

10 years agobounce to target number of channels
Robin Gareus [Sun, 25 May 2014 16:10:01 +0000 (18:10 +0200)]
bounce to target number of channels

10 years agocompensate for processor latency during bounce
Robin Gareus [Sun, 25 May 2014 17:43:37 +0000 (19:43 +0200)]
compensate for processor latency during bounce

10 years agofix bounce with processing (thread buffers) fixes #5920
Robin Gareus [Sun, 25 May 2014 06:23:36 +0000 (08:23 +0200)]
fix bounce with processing (thread buffers) fixes #5920

10 years agocosmetic fix to OSX packaging temp file
Robin Gareus [Sun, 25 May 2014 06:22:29 +0000 (08:22 +0200)]
cosmetic fix to OSX packaging temp file

10 years agoallow to switch from/to dummy-backend
Robin Gareus [Sat, 24 May 2014 22:23:14 +0000 (00:23 +0200)]
allow to switch from/to dummy-backend

partos of this may become unnecessary once
libardour handles backend changes properly^Wdifferently.

10 years agoDummyBackend: implement port connect_callback()
Robin Gareus [Sat, 24 May 2014 22:21:44 +0000 (00:21 +0200)]
DummyBackend: implement port connect_callback()

10 years agoreally fix osx mavericks detection
Robin Gareus [Sat, 24 May 2014 22:21:20 +0000 (00:21 +0200)]
really fix osx mavericks detection

10 years agofix script breakage
Paul Davis [Sat, 24 May 2014 20:20:58 +0000 (16:20 -0400)]
fix script breakage

10 years agofix sensitivity of engine dialog driver_combo.
Robin Gareus [Sat, 24 May 2014 18:09:29 +0000 (20:09 +0200)]
fix sensitivity of engine dialog driver_combo.

10 years agoosx 10.9 needs c++11 (it's now default and used for the build-stack)
Robin Gareus [Sat, 24 May 2014 18:09:11 +0000 (20:09 +0200)]
osx 10.9 needs c++11 (it's now default and used for the build-stack)

10 years agofix typo link*er*_flags for OSX w/c++11
Robin Gareus [Sat, 24 May 2014 18:08:15 +0000 (20:08 +0200)]
fix typo link*er*_flags for OSX w/c++11

10 years agoInitialise _soundcloud_upload to false in ExportFormatSpecification
Colin Fletcher [Fri, 23 May 2014 19:21:56 +0000 (20:21 +0100)]
Initialise _soundcloud_upload to false in ExportFormatSpecification

10 years agofix for OSX 10.0/clang (missing symbol) by cth
Robin Gareus [Fri, 23 May 2014 18:48:56 +0000 (20:48 +0200)]
fix for OSX 10.0/clang (missing symbol) by cth

10 years agoAdd and use a DEBUG flag for Soundcloud uploads.
Colin Fletcher [Fri, 23 May 2014 18:36:47 +0000 (19:36 +0100)]
Add and use a DEBUG flag for Soundcloud uploads.

Replace output to stdout/stderr from Soundcloud upload functions with
DEBUG_TRACE (DEBUG::Soundcloud, ...).

10 years agoRemove Soundcloud export format presets
Colin Fletcher [Fri, 23 May 2014 18:05:33 +0000 (19:05 +0100)]
Remove Soundcloud export format presets

Now that Soundcloud export isn't a persistent property of export presets,
these are of no use whatsoever.

10 years agoSet 'downloadable' property on Soundcloud uploads
Colin Fletcher [Fri, 23 May 2014 17:59:53 +0000 (18:59 +0100)]
Set 'downloadable' property on Soundcloud uploads

Set the downloadable property according to what the user chose on files
uploaded to Soundcloud.

10 years agoShow URI of file uploaded to Soundcloud in log window.
Colin Fletcher [Fri, 23 May 2014 17:47:33 +0000 (18:47 +0100)]
Show URI of file uploaded to Soundcloud in log window.

10 years agoVisual tweaks to Soundcloud panel
Colin Fletcher [Fri, 23 May 2014 17:45:40 +0000 (18:45 +0100)]
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.

10 years agoBetter names for Soundcloud-related members of ExportHandler
Colin Fletcher [Fri, 23 May 2014 17:33:43 +0000 (18:33 +0100)]
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.

10 years agoMake Soundcloud upload applicable to any export format.
Colin Fletcher [Fri, 23 May 2014 17:14:37 +0000 (18:14 +0100)]
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.

10 years agoRemove Soundcloud upload from export format specification
Colin Fletcher [Wed, 21 May 2014 16:52:42 +0000 (17:52 +0100)]
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.

10 years agoFix MS-DOS line endings
Colin Fletcher [Wed, 21 May 2014 17:07:31 +0000 (18:07 +0100)]
Fix MS-DOS line endings

Somehow sfdb_freesound_mootcher.cc has ended up with MS-DOS style line
endings again. Put it back to UNIX-style.

10 years agometerbridge: don't include disk/input buttons on busses; fixes #5935
Robin Gareus [Thu, 22 May 2014 22:41:43 +0000 (00:41 +0200)]
meterbridge: don't include disk/input buttons on busses; fixes #5935

10 years agoadd GPLv2 to exec_wrapper
Robin Gareus [Thu, 22 May 2014 21:44:28 +0000 (23:44 +0200)]
add GPLv2 to exec_wrapper

10 years agowaves_backend (MSVC project) - Adapt for using Waves's (customized) portaudio_x86...
John Emmas [Wed, 21 May 2014 11:50:31 +0000 (12:50 +0100)]
waves_backend (MSVC project) - Adapt for using Waves's (customized) portaudio_x86 library (Windows)

10 years agojack_backend (MSVC project) - Adapt for using portaudio_x86 library (Windows)
John Emmas [Wed, 21 May 2014 11:49:24 +0000 (12:49 +0100)]
jack_backend (MSVC project) - Adapt for using portaudio_x86 library (Windows)

10 years agoAdd newly introduced sources to MSVC projects
John Emmas [Wed, 21 May 2014 11:47:03 +0000 (12:47 +0100)]
Add newly introduced sources to MSVC projects

(SoundCloud export stuff)

10 years agoUse Glib::usleep() for consistency
John Emmas [Wed, 21 May 2014 11:45:13 +0000 (12:45 +0100)]
Use Glib::usleep() for consistency