ardour.git
10 years agouse "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp...
Paul Davis [Fri, 17 Jan 2014 18:10:41 +0000 (13:10 -0500)]
use "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp-plugins, appleutility, clearlooks)

10 years agoadd ensure_visible_symbols() to autowaf, to hide compiler-dependent details; also...
Paul Davis [Fri, 17 Jan 2014 18:09:54 +0000 (13:09 -0500)]
add ensure_visible_symbols() to autowaf, to hide compiler-dependent details; also remove unused (mostly LV2-related) stuff from autowaf

10 years agooverride -fvisibility=hidden for the LV2plugin descriptor
Robin Gareus [Fri, 17 Jan 2014 15:10:03 +0000 (16:10 +0100)]
override -fvisibility=hidden for the LV2plugin descriptor

10 years agooverride visibility default for Apple's "appleutility" library, which was written...
Paul Davis [Fri, 17 Jan 2014 14:52:13 +0000 (09:52 -0500)]
override visibility default for Apple's "appleutility" library, which was written without symbol export control

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Fri, 17 Jan 2014 14:25:03 +0000 (09:25 -0500)]
Merge branch 'master' into cairocanvas

10 years agouse Glib URI utility function to generate a local filename from a URI, rather than...
Paul Davis [Fri, 17 Jan 2014 14:24:18 +0000 (09:24 -0500)]
use Glib URI utility function to generate a local filename from a URI, rather than hand-crafted code

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Fri, 17 Jan 2014 14:13:44 +0000 (09:13 -0500)]
Merge branch 'master' into cairocanvas

10 years agofix typo in auditioner-seek
Robin Gareus [Thu, 16 Jan 2014 23:25:32 +0000 (00:25 +0100)]
fix typo in auditioner-seek

10 years agoadd seeking to sfdb auditioner
Robin Gareus [Thu, 16 Jan 2014 23:20:58 +0000 (00:20 +0100)]
add seeking to sfdb auditioner

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 16 Jan 2014 22:26:50 +0000 (17:26 -0500)]
Merge branch 'master' into cairocanvas

10 years agoallow auditioning via the monitor section to work.
Paul Davis [Thu, 16 Jan 2014 22:22:19 +0000 (17:22 -0500)]
allow auditioning via the monitor section to work.

Ideally, we would feed the monitor section via an internal (aux) send/return, but this is an improvement over what we had before

10 years agofix non-editing/non-draw event handling by MIDI regions
Paul Davis [Thu, 16 Jan 2014 15:53:02 +0000 (10:53 -0500)]
fix non-editing/non-draw event handling by MIDI regions

10 years agoadd event type string function to canvas (since it does not use gtkmm2ext)
Paul Davis [Thu, 16 Jan 2014 15:52:34 +0000 (10:52 -0500)]
add event type string function to canvas (since it does not use gtkmm2ext)

10 years agoadd canvas item types to enum system
Paul Davis [Thu, 16 Jan 2014 15:51:21 +0000 (10:51 -0500)]
add canvas item types to enum system

10 years agoadd Gtkmm2ext::event_type_string()
Paul Davis [Thu, 16 Jan 2014 15:14:42 +0000 (10:14 -0500)]
add Gtkmm2ext::event_type_string()

10 years agonew basic MIDI map for m-audio oxygen-25
Paul Davis [Thu, 16 Jan 2014 14:31:23 +0000 (09:31 -0500)]
new basic MIDI map for m-audio oxygen-25

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 16 Jan 2014 03:28:34 +0000 (22:28 -0500)]
Merge branch 'master' into cairocanvas

10 years agocontinue with tweaks to VST timeinfo, such that the again demo plugin appears to...
Paul Davis [Thu, 16 Jan 2014 03:28:01 +0000 (22:28 -0500)]
continue with tweaks to VST timeinfo, such that the again demo plugin appears to work exactly as expected

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 16 Jan 2014 01:40:11 +0000 (20:40 -0500)]
Merge branch 'master' into cairocanvas

10 years agominor tweak to layout of vestige aeffectx.h
Paul Davis [Thu, 16 Jan 2014 01:37:26 +0000 (20:37 -0500)]
minor tweak to layout of vestige aeffectx.h

10 years agomore work on debugging VST timeinfo issues
Paul Davis [Wed, 15 Jan 2014 21:48:22 +0000 (16:48 -0500)]
more work on debugging VST timeinfo issues

10 years agodebug VST timeinfo callback, pt3
Paul Davis [Wed, 15 Jan 2014 21:31:10 +0000 (16:31 -0500)]
debug VST timeinfo callback, pt3

10 years agodebug VST timeinfo callback, pt2
Paul Davis [Wed, 15 Jan 2014 21:26:21 +0000 (16:26 -0500)]
debug VST timeinfo callback, pt2

10 years agodebug VST timeinfo callback
Paul Davis [Wed, 15 Jan 2014 21:24:03 +0000 (16:24 -0500)]
debug VST timeinfo callback

10 years agodon't require VST plugins to actually ask for time info fields
Paul Davis [Wed, 15 Jan 2014 21:19:04 +0000 (16:19 -0500)]
don't require VST plugins to actually ask for time info fields

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Wed, 15 Jan 2014 21:10:09 +0000 (16:10 -0500)]
Merge branch 'master' into cairocanvas

10 years agoadd lots more BBT-based time info for VST plugins (see 5737)
Paul Davis [Wed, 15 Jan 2014 21:08:27 +0000 (16:08 -0500)]
add lots more BBT-based time info for VST plugins (see 5737)

10 years agoupdate VstTimeInfo structure, from Qtractor's version of vestige, which has all field...
Paul Davis [Wed, 15 Jan 2014 21:07:47 +0000 (16:07 -0500)]
update VstTimeInfo structure, from Qtractor's version of vestige, which has all fields thanks to some steinberg online docs

10 years agoRevert "update VstTimeInfo structure, from Qtractor's version of vestige, which has...
Paul Davis [Wed, 15 Jan 2014 21:06:57 +0000 (16:06 -0500)]
Revert "update VstTimeInfo structure, from Qtractor's version of vestige, which has all fields thanks to some steinberg online docs"

This reverts commit febc6b957e8f73d9859ed22f3bf9ec20387e1cef.

10 years agoupdate VstTimeInfo structure, from Qtractor's version of vestige, which has all field...
Paul Davis [Wed, 15 Jan 2014 21:06:35 +0000 (16:06 -0500)]
update VstTimeInfo structure, from Qtractor's version of vestige, which has all fields thanks to some steinberg online docs

10 years agoimprove comment explaining the use of alloca()
Paul Davis [Wed, 15 Jan 2014 20:00:07 +0000 (15:00 -0500)]
improve comment explaining the use of alloca()

10 years agoadd back comment explaining the use of alloca()
Paul Davis [Wed, 15 Jan 2014 19:58:59 +0000 (14:58 -0500)]
add back comment explaining the use of alloca()

10 years agomerge with master
Paul Davis [Wed, 15 Jan 2014 19:29:32 +0000 (14:29 -0500)]
merge with master

10 years agofix pan-width automation
Robin Gareus [Wed, 15 Jan 2014 19:03:20 +0000 (20:03 +0100)]
fix pan-width automation

10 years agodon't pan send/return inserts
Robin Gareus [Wed, 15 Jan 2014 16:59:16 +0000 (17:59 +0100)]
don't pan send/return inserts

10 years agorework LXVST port assignments - fixes #5827
Robin Gareus [Wed, 15 Jan 2014 13:55:26 +0000 (14:55 +0100)]
rework LXVST port assignments - fixes #5827

10 years agostereo-panner: clamp width during processing to valid range
Robin Gareus [Wed, 15 Jan 2014 13:07:02 +0000 (14:07 +0100)]
stereo-panner: clamp width during processing to valid range

10 years agoMidi-track fader & pan automation
Robin Gareus [Wed, 15 Jan 2014 10:30:54 +0000 (11:30 +0100)]
Midi-track fader & pan automation

NB. Fader automation lane always shows 'dB' value and is logarithmic.
OK for pre-fader synths, but not for raw-midi data.

10 years agoupdate pan automation-track display
Robin Gareus [Wed, 15 Jan 2014 10:23:38 +0000 (11:23 +0100)]
update pan automation-track display

10 years agoprevent stackoverflow when pannable changes to fewer params
Robin Gareus [Wed, 15 Jan 2014 09:38:32 +0000 (10:38 +0100)]
prevent stackoverflow when pannable changes to fewer params

endless loop: e.g.  2in2out -> balance (or 1in1out)
#23 0xb7ab5c17 in ARDOUR::Pannable::value_as_string
#24 0xb2ebb206 in ARDOUR::Pannerbalance::value_as_string
#25 0xb7ab5c17 in ARDOUR::Pannable::value_as_string
#26 0xb2ebb206 in ARDOUR::Pannerbalance::value_as_string
ad infinitum

10 years agore-allow panners for monitoring-section (for now)
Robin Gareus [Wed, 15 Jan 2014 09:37:25 +0000 (10:37 +0100)]
re-allow panners for monitoring-section (for now)

10 years agofix invalid width when swiching to 2in2out
Robin Gareus [Wed, 15 Jan 2014 08:45:02 +0000 (09:45 +0100)]
fix invalid width when swiching to 2in2out

10 years agoVBAP GUI convention: top == front ^= azimuth == .5
Robin Gareus [Wed, 15 Jan 2014 08:37:20 +0000 (09:37 +0100)]
VBAP GUI convention:  top == front ^= azimuth == .5

This allows to move from stereo,mono panners to VBAP and back
and also facilitates sharing pannables of all currently
existing panners with semantically similar results.

(somewhat dirty solution, this retains PBD::spherical_to_cartesian
and maps angles pretty much everywhere else)

10 years agothe vampplugins lib that we build needs to use VAMPSDK
Paul Davis [Wed, 15 Jan 2014 02:46:41 +0000 (21:46 -0500)]
the vampplugins lib that we build needs to use VAMPSDK

10 years agomerge with master
Paul Davis [Wed, 15 Jan 2014 02:13:21 +0000 (21:13 -0500)]
merge with master

10 years agoNOOP, semantic update, don't pannable's panner for direct access.
Robin Gareus [Wed, 15 Jan 2014 01:51:09 +0000 (02:51 +0100)]
NOOP, semantic update, don't pannable's panner for direct access.

10 years agoupdate panGUI connections (panner-shell vs pannable vs panner)
Robin Gareus [Tue, 14 Jan 2014 22:08:34 +0000 (23:08 +0100)]
update panGUI connections (panner-shell vs pannable vs panner)

10 years agoNOOP, clean up whitespace/TAB mess
Robin Gareus [Tue, 14 Jan 2014 20:11:41 +0000 (21:11 +0100)]
NOOP, clean up whitespace/TAB mess

10 years agocont'd backend work on panner-linking
Robin Gareus [Wed, 15 Jan 2014 01:50:17 +0000 (02:50 +0100)]
cont'd backend work on panner-linking

10 years agoremove debug code
Robin Gareus [Tue, 14 Jan 2014 15:19:49 +0000 (16:19 +0100)]
remove debug code

10 years agofix compilation problem on OS X caused by a missing implementation of a virtual method
Paul Davis [Tue, 14 Jan 2014 22:27:21 +0000 (17:27 -0500)]
fix compilation problem on OS X caused by a missing implementation of a virtual method

10 years agoadd back required extern
Paul Davis [Tue, 14 Jan 2014 20:11:32 +0000 (15:11 -0500)]
add back required extern

10 years agonew MIDI binding map for Roland V-Studio 20, from Keith (Milner?)
Paul Davis [Tue, 14 Jan 2014 17:43:27 +0000 (12:43 -0500)]
new MIDI binding map for Roland V-Studio 20, from Keith (Milner?)

10 years agorevert incorrect include path changes and removal of export macros for two libardour...
Paul Davis [Tue, 14 Jan 2014 17:22:18 +0000 (12:22 -0500)]
revert incorrect include path changes and removal of export macros for two libardour symbols (revision and ardour_config_info)

10 years ago'libs/ardour' - Non-visibility stuff changed for MSVC (mostly alterations to #include...
John Emmas [Tue, 14 Jan 2014 15:01:13 +0000 (15:01 +0000)]
'libs/ardour' - Non-visibility stuff changed for MSVC (mostly alterations to #include paths)

10 years ago'libs/ardour' - Remove the old 'visibility.h' (so as not to merge it into cairocanvas)
John Emmas [Tue, 14 Jan 2014 11:18:09 +0000 (11:18 +0000)]
'libs/ardour' - Remove the old 'visibility.h' (so as not to merge it into cairocanvas)

10 years ago'libs/ardour' - DLL visibility stuff and associated changes needed for building with...
John Emmas [Tue, 14 Jan 2014 10:13:12 +0000 (10:13 +0000)]
'libs/ardour' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)

10 years agomerge (with conflict fixes) with master (even against rgareus' recommendation)
Paul Davis [Tue, 14 Jan 2014 15:56:17 +0000 (10:56 -0500)]
merge (with conflict fixes) with master (even against rgareus' recommendation)

10 years agofix broken build after addition of normalizer.cc
Paul Davis [Tue, 14 Jan 2014 14:33:02 +0000 (09:33 -0500)]
fix broken build after addition of normalizer.cc

10 years agoadd preference -- link-send-and-route-panner default
Robin Gareus [Mon, 13 Jan 2014 22:22:02 +0000 (23:22 +0100)]
add preference -- link-send-and-route-panner default

10 years agofirst stab at send+route panner link
Robin Gareus [Mon, 13 Jan 2014 22:21:30 +0000 (23:21 +0100)]
first stab at send+route panner link

10 years agocenter VBAP UI crosshair
Robin Gareus [Mon, 13 Jan 2014 18:16:10 +0000 (19:16 +0100)]
center VBAP UI crosshair

10 years agoMerge branch 'windows+cc' into cairocanvas
John Emmas [Mon, 13 Jan 2014 15:05:30 +0000 (15:05 +0000)]
Merge branch 'windows+cc' into cairocanvas

10 years ago'libs/audiographer' - Add a new source file (to accommodate the stuff removed from...
John Emmas [Mon, 13 Jan 2014 15:01:14 +0000 (15:01 +0000)]
'libs/audiographer' - Add a new source file (to accommodate the stuff removed from 'normalizer.h')

10 years ago'libs/audiographer' - DLL visibility stuff and associated changes needed for building...
John Emmas [Mon, 13 Jan 2014 14:58:04 +0000 (14:58 +0000)]
'libs/audiographer' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)

10 years agoclamp marker name text appropriately
Paul Davis [Mon, 13 Jan 2014 14:49:09 +0000 (09:49 -0500)]
clamp marker name text appropriately

10 years agofix botched merge of vbap changes
Paul Davis [Mon, 13 Jan 2014 14:47:20 +0000 (09:47 -0500)]
fix botched merge of vbap changes

10 years agoVBAP backend re-work (part one):
Robin Gareus [Sat, 11 Jan 2014 21:59:25 +0000 (22:59 +0100)]
VBAP backend re-work (part one):

* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)

10 years agodefine marker height in one location, to avoid duplicated magic numbers and allow...
Paul Davis [Mon, 13 Jan 2014 14:28:44 +0000 (09:28 -0500)]
define marker height in one location, to avoid duplicated magic numbers and allow easy changing

10 years agopixel-align canvas PolyItems with single-pixel outlines, for crispness
Paul Davis [Mon, 13 Jan 2014 14:28:06 +0000 (09:28 -0500)]
pixel-align canvas PolyItems with single-pixel outlines, for crispness

10 years agodelete 'big' 2d panner window, if panner changes to mono|stereo
Robin Gareus [Mon, 13 Jan 2014 11:02:00 +0000 (12:02 +0100)]
delete 'big' 2d panner window, if panner changes to mono|stereo

10 years agofix delivery: check if panshell exists on session-load
Robin Gareus [Mon, 13 Jan 2014 10:49:09 +0000 (11:49 +0100)]
fix delivery: check if panshell exists on session-load

10 years agoProcessorWindowProxy::processor_going_away takes care of deletion
Robin Gareus [Mon, 13 Jan 2014 10:08:51 +0000 (11:08 +0100)]
ProcessorWindowProxy::processor_going_away takes care of deletion

10 years agomisc panning related UI tweaks:
Robin Gareus [Mon, 13 Jan 2014 10:08:37 +0000 (11:08 +0100)]
misc panning related UI tweaks:

* connect 2D panner "edit" to big window
* disconnect 2D-panner GUI when it's visible but panner-type changes
* ignore mixer-strip level-meter context-menu for Aux-sends

10 years agoindependent panning for external sends
Robin Gareus [Mon, 13 Jan 2014 09:50:49 +0000 (10:50 +0100)]
independent panning for external sends

10 years agofix output metering for Sends (Aux and External)
Robin Gareus [Mon, 13 Jan 2014 09:50:22 +0000 (10:50 +0100)]
fix output metering for Sends (Aux and External)

10 years agoadd independent panner for internal (Aux) sends
Robin Gareus [Mon, 13 Jan 2014 09:48:37 +0000 (10:48 +0100)]
add independent panner for internal (Aux) sends

10 years agoupdate internal-send port-count when target port-count changes
Robin Gareus [Mon, 13 Jan 2014 09:48:23 +0000 (10:48 +0100)]
update internal-send port-count when target port-count changes

10 years agoignore additional channels for AFL, PFL:
Robin Gareus [Mon, 13 Jan 2014 09:47:17 +0000 (10:47 +0100)]
ignore additional channels for AFL, PFL:

If the monitor-section has fewer-channels than the solo-listen point:
ignore additional channels.

10 years agofix deadlock when removing monitoring-section
Robin Gareus [Mon, 13 Jan 2014 09:46:11 +0000 (10:46 +0100)]
fix deadlock when removing monitoring-section

10 years agofix processor -> reconfigure I/O || process concurrency
Robin Gareus [Sun, 12 Jan 2014 22:13:35 +0000 (23:13 +0100)]
fix processor -> reconfigure I/O || process concurrency

Add a ReaderLock to Route::process_output_buffers().

But process_output_buffers() is always called with processor-lock
held. To avoid deadlocks, a processor WriterLock must always imply
a process-lock (IFF reconfigure-I/O is called with _processor_lock).

Otherwise: e.g.
*  add_processor() -> takes processor-lock. set up and activate processor.
*  simult. audio-engine process, process-lock -> call process_output_buffers() -> wait for processor-lock
*  add_processor() continues -> calls reconfigure-io -> take process-lock -> deadlock.

10 years agotake process lock when adding processors:
Robin Gareus [Sun, 12 Jan 2014 20:47:15 +0000 (21:47 +0100)]
take process lock when adding processors:

fixes possible crash if a processor modifies port-count

1. a processor is inserted and activated with processor-lock held
2. only after that the process_lock() is taken, configure_processors() is called which reconfigures-IO

BUT if the processor that is inserted changes the channel count AND audio is processed before IOs are reconfigured
 -> possible crash (invalid port-buffers)

To reproduce: Bus1 (2in, 3out), Bus2 (2in, 3out)
- add a send from Bus1 to Bus2,
- then add a processor to Bus1, just before the send which
  increases the channel-count to 4 -> occasional crash or assert.

10 years agoVBAP panner UI tweaks:
Robin Gareus [Sun, 12 Jan 2014 20:41:02 +0000 (21:41 +0100)]
VBAP panner UI tweaks:

* fix mouse-grab of sentinel
* make GUI more hemisphere like (circles at latitude)
* change alpha slightly to show signal overlap

10 years agoaubio 3+4 compat
Robin Gareus [Sun, 12 Jan 2014 17:11:14 +0000 (18:11 +0100)]
aubio 3+4 compat

10 years agocosmetic change - properly use lilv API
Robin Gareus [Sun, 12 Jan 2014 16:14:14 +0000 (17:14 +0100)]
cosmetic change - properly use lilv API

10 years agodon't display elevation if panner does not support it.
Robin Gareus [Sun, 12 Jan 2014 02:56:35 +0000 (03:56 +0100)]
don't display elevation if panner does not support it.

10 years agoswap channel VBAP channel
Robin Gareus [Sun, 12 Jan 2014 02:36:20 +0000 (03:36 +0100)]
swap channel VBAP channel

10 years agocredit where credit is due for speaker-config and VBAP fixes inspiration
Robin Gareus [Sun, 12 Jan 2014 01:05:01 +0000 (02:05 +0100)]
credit where credit is due for speaker-config and VBAP fixes inspiration

10 years agoVBAP GUI object-grab & position
Robin Gareus [Sat, 11 Jan 2014 23:57:27 +0000 (00:57 +0100)]
VBAP GUI object-grab & position

10 years agohide speaker-config in menu (it's not implemented yet)
Robin Gareus [Sat, 11 Jan 2014 22:34:19 +0000 (23:34 +0100)]
hide speaker-config in menu (it's not implemented yet)

10 years agoadd spinbox to control width in VBAP GUI,..
Robin Gareus [Sat, 11 Jan 2014 22:30:13 +0000 (23:30 +0100)]
add spinbox to control width in VBAP GUI,..

10 years agoVBAP rework (part III): fix position computation backend & GUI
Robin Gareus [Sat, 11 Jan 2014 22:30:01 +0000 (23:30 +0100)]
VBAP rework (part III): fix position computation backend & GUI

10 years agoupdate default speaker position list
Robin Gareus [Sat, 11 Jan 2014 22:29:46 +0000 (23:29 +0100)]
update default speaker position list

10 years agoVBAP GUI depends on signal-position (not parameter changes)
Robin Gareus [Sat, 11 Jan 2014 22:29:36 +0000 (23:29 +0100)]
VBAP GUI depends on signal-position (not parameter changes)

10 years agoVBAP backend re-work (part two): speaker positioning
Robin Gareus [Sat, 11 Jan 2014 22:29:23 +0000 (23:29 +0100)]
VBAP backend re-work (part two): speaker positioning

* clean up source (whitespace)
* fix speaker 3x3 matrix iteration
* update math to go along with Ardour Cartesian -- fixes rounding errors
* fix division by zero in cross_prod()
* disable old debug output

(NB PBD::spherical_to_cartesian() returns
  3.7494e-33, 6.12323e-17, 1 for azimuth 90 elevation 90 distance 1
while it should return
  0.000000, 0.000000, 1 for azimuth 90 elevation 90 distance 1
IOW  cos(90.0 * 2.0 * M_PI / 360.0) != 0
Cause unknown. This is currently worked around check in vec_length()
)

10 years agoVBAP backend re-work (part one):
Robin Gareus [Sat, 11 Jan 2014 21:59:25 +0000 (22:59 +0100)]
VBAP backend re-work (part one):

* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)

10 years agoAdd provision for building 'libtimecode' as a DLL (MSVC build)
John Emmas [Mon, 13 Jan 2014 14:27:56 +0000 (14:27 +0000)]
Add provision for building 'libtimecode' as a DLL (MSVC build)

10 years ago'libs/timecode' - Change some instances of 'rint' to be 'lrint' (better compatibility...
John Emmas [Mon, 13 Jan 2014 14:26:19 +0000 (14:26 +0000)]
'libs/timecode' - Change some instances of 'rint' to be 'lrint' (better compatibility with MSVC)

10 years agoallow to custom select panner-type for each delivery.
Robin Gareus [Mon, 13 Jan 2014 14:13:37 +0000 (15:13 +0100)]
allow to custom select panner-type for each delivery.

10 years ago'libs/evoral' - and add 'Note.impl' to the project
John Emmas [Mon, 13 Jan 2014 12:47:21 +0000 (12:47 +0000)]
'libs/evoral' - and add 'Note.impl' to the project