ardour.git
10 years agochange VBAP visual parameter name again :) 3.5.308
Robin Gareus [Thu, 23 Jan 2014 14:32:26 +0000 (15:32 +0100)]
change VBAP visual parameter name again :)

10 years agoVBAP change visual parameter name. Diffusion -> Spread
Robin Gareus [Thu, 23 Jan 2014 13:57:19 +0000 (14:57 +0100)]
VBAP change visual parameter name. Diffusion -> Spread

10 years agoLV2 plugin save/delete -- fixes 5835
Robin Gareus [Thu, 23 Jan 2014 12:14:25 +0000 (13:14 +0100)]
LV2 plugin save/delete -- fixes 5835

10 years agomidi-audition: make "no synth" selection work.
Robin Gareus [Wed, 22 Jan 2014 23:22:02 +0000 (00:22 +0100)]
midi-audition: make "no synth" selection work.

10 years agoconfigurable midi audition synth
Robin Gareus [Wed, 22 Jan 2014 22:59:24 +0000 (23:59 +0100)]
configurable midi audition synth

10 years agoUpdate Russian translation
Alexandre Prokoudine [Sun, 19 Jan 2014 19:05:26 +0000 (23:05 +0400)]
Update Russian translation

Resync some terminology with proposed changes in the translation
of Mixbus (session, snapping, monitoring).

10 years agoattenuate master volume
Robin Gareus [Wed, 22 Jan 2014 17:10:44 +0000 (18:10 +0100)]
attenuate master volume

10 years agofix crash -- midi tracker reset when seeking audio
Robin Gareus [Wed, 22 Jan 2014 16:38:59 +0000 (17:38 +0100)]
fix crash -- midi tracker reset when seeking audio

10 years agoprepare midi-audition synth plugin config, incl no plugin external synth
Robin Gareus [Tue, 21 Jan 2014 17:20:17 +0000 (18:20 +0100)]
prepare midi-audition synth plugin config, incl no plugin external synth

10 years agotweak reasonable synth:
Robin Gareus [Mon, 20 Jan 2014 20:42:47 +0000 (21:42 +0100)]
tweak reasonable synth:

* prevent denormals / cut low volume
* reduce default amplitude of fundamental

10 years agoreset midi synth (panic) when seeking or re-starting audition
Robin Gareus [Mon, 20 Jan 2014 20:40:08 +0000 (21:40 +0100)]
reset midi synth (panic) when seeking or re-starting audition

10 years agoprepare GUI for auditioning midi files
Robin Gareus [Wed, 22 Jan 2014 14:26:23 +0000 (15:26 +0100)]
prepare GUI for auditioning midi files

10 years agoremove cruft
Robin Gareus [Mon, 20 Jan 2014 13:14:20 +0000 (14:14 +0100)]
remove cruft

10 years agobackend for auditioning midi-files:
Robin Gareus [Wed, 22 Jan 2014 14:25:39 +0000 (15:25 +0100)]
backend for auditioning midi-files:

* "downgrade" auditioner from AudioTrack to Track.
* add relevant methods from both AudioTrack and MidiTrack.

10 years agotake all tracks inside a midi-file into account when loading model
Robin Gareus [Mon, 20 Jan 2014 12:44:31 +0000 (13:44 +0100)]
take all tracks inside a midi-file into account when loading model

* fixes [region] length calculation,
* prepare for auditioning midi files (one track plays it all)

10 years agoopen external [read-only] midi-files on construction
Robin Gareus [Mon, 20 Jan 2014 12:38:28 +0000 (13:38 +0100)]
open external [read-only] midi-files on construction

10 years agofix midi source factory -- load_model() uses shared_from_this()
Robin Gareus [Wed, 22 Jan 2014 14:30:04 +0000 (15:30 +0100)]
fix midi source factory -- load_model() uses shared_from_this()

10 years agofix evoral assignment operator (copy buffer)
Robin Gareus [Mon, 20 Jan 2014 12:35:31 +0000 (13:35 +0100)]
fix evoral assignment operator (copy buffer)

10 years agofix bitslot already in use warning
Robin Gareus [Wed, 22 Jan 2014 12:06:58 +0000 (13:06 +0100)]
fix bitslot already in use warning

in e45151b89c64 route.cc was changed to create internal sends
directly with role = Delivery::Aux; and not Delivery::Role (0).
This change was motivated to initialize the panner for Aux-sends
in the Delivery.

Role(0) was used to override bitslot numbering during initial
construction of the object when the state is loaded from XML after
construction.

This patch adds an explicit flag for that.
(The previous Role(0) approach only worked for Aux-Sends
but not Sends, anyway.)

10 years agoditto for clock in session properties dialog
Robin Gareus [Tue, 21 Jan 2014 22:24:58 +0000 (23:24 +0100)]
ditto for clock in session properties dialog

10 years agosfdb's clock-states are not part of the session-state, use transient clock
Robin Gareus [Tue, 21 Jan 2014 21:20:44 +0000 (22:20 +0100)]
sfdb's clock-states are not part of the session-state, use transient clock

fixes issue with 'show import dialog' marking session as modified.

10 years agoone less Conditional jump or move depends on uninitialised value(s)
Robin Gareus [Mon, 20 Jan 2014 01:07:50 +0000 (02:07 +0100)]
one less Conditional jump or move depends on uninitialised value(s)

10 years agolock source list when destroying it.
Robin Gareus [Sun, 19 Jan 2014 21:37:01 +0000 (22:37 +0100)]
lock source list when destroying it.

10 years agoremove cruft
Robin Gareus [Sun, 19 Jan 2014 21:18:40 +0000 (22:18 +0100)]
remove cruft

10 years agoaudition: resampler use same quality as import
Robin Gareus [Sat, 18 Jan 2014 23:45:08 +0000 (00:45 +0100)]
audition: resampler use same quality as import

10 years agofix XML parser error:
Robin Gareus [Sat, 18 Jan 2014 21:15:59 +0000 (22:15 +0100)]
fix XML parser error:

XML declaration allowed only at the start of the document

10 years agofix typo in VST flags
Robin Gareus [Sat, 18 Jan 2014 12:50:33 +0000 (13:50 +0100)]
fix typo in VST flags

10 years agoadd meter-peak (display&reset) button to gain-meters by default
Robin Gareus [Sat, 18 Jan 2014 12:50:23 +0000 (13:50 +0100)]
add meter-peak (display&reset) button to gain-meters by default

10 years agomark session dirty when panner-bypass is toggled
Robin Gareus [Sat, 18 Jan 2014 12:19:14 +0000 (13:19 +0100)]
mark session dirty when panner-bypass is toggled

10 years agotowards a SRC source + resampling during audition
Robin Gareus [Sat, 18 Jan 2014 11:31:25 +0000 (12:31 +0100)]
towards a SRC source + resampling during audition

10 years agoFix crash when instrument plugins fail to instantiate.
David Robillard [Sat, 18 Jan 2014 00:34:51 +0000 (19:34 -0500)]
Fix crash when instrument plugins fail to instantiate.

10 years agoremove cruft
Robin Gareus [Fri, 17 Jan 2014 14:59:51 +0000 (15:59 +0100)]
remove cruft

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 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 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 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 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 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 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 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 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 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 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 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 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 agoredefine Pi :)
Robin Gareus [Sat, 11 Jan 2014 22:30:22 +0000 (23:30 +0100)]
redefine Pi :)

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 agoSupport midnam controller value labels.
David Robillard [Mon, 6 Jan 2014 22:02:55 +0000 (17:02 -0500)]
Support midnam controller value labels.

10 years agoFix whitespace (no functional changes).
David Robillard [Mon, 6 Jan 2014 20:32:37 +0000 (15:32 -0500)]
Fix whitespace (no functional changes).

10 years agofix panner search path
Robin Gareus [Fri, 10 Jan 2014 19:35:32 +0000 (20:35 +0100)]
fix panner search path

10 years agore-configure _all_ panners on a route, when panner type changes
Robin Gareus [Fri, 10 Jan 2014 11:36:20 +0000 (12:36 +0100)]
re-configure _all_ panners on a route, when panner type changes

10 years agoadd a fixed priority to panner modules
Robin Gareus [Fri, 10 Jan 2014 11:13:22 +0000 (12:13 +0100)]
add a fixed priority to panner modules

10 years agodisplay info about replicated processors
Robin Gareus [Fri, 10 Jan 2014 11:12:06 +0000 (12:12 +0100)]
display info about replicated processors