ardour.git
5 years agoFluidsynth 2.0 uses anonymous unions (added in c11, or gnu99)
Robin Gareus [Thu, 18 Oct 2018 02:09:14 +0000 (04:09 +0200)]
Fluidsynth 2.0 uses anonymous unions (added in c11, or gnu99)

5 years agoFollow fluidsynth's API changes introduced with 2.0.0
Andreas Müller [Thu, 11 Oct 2018 22:56:59 +0000 (00:56 +0200)]
Follow fluidsynth's API changes introduced with 2.0.0

Updated patch from Andreas Müller <schnitzeltony@gmail.com>

5 years agoUpdate Fluidsynth to 2.0.1
Robin Gareus [Wed, 17 Oct 2018 22:41:02 +0000 (00:41 +0200)]
Update Fluidsynth to 2.0.1

5 years agoNoop: fix white space
Len Ovens [Wed, 17 Oct 2018 23:25:49 +0000 (16:25 -0700)]
Noop: fix white space

5 years agoOption to hide send if aux is hidden
Len Ovens [Wed, 17 Oct 2018 22:58:08 +0000 (15:58 -0700)]
Option to hide send if aux is hidden

5 years agoPrevent excessive meter redraws for inactive meters at zero II
Andreas Müller [Wed, 17 Oct 2018 20:10:41 +0000 (22:10 +0200)]
Prevent excessive meter redraws for inactive meters at zero II

Same as be826f363522dbca96c8263d404c57c4fe9ff0e2

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
5 years agocorrect comment
Paul Davis [Wed, 17 Oct 2018 18:13:52 +0000 (14:13 -0400)]
correct comment

5 years agouse IsPhysical port flag to decide what to show in the "system" tab of a patchbay...
Paul Davis [Wed, 17 Oct 2018 18:11:32 +0000 (14:11 -0400)]
use IsPhysical port flag to decide what to show in the "system" tab of a patchbay/matrix

5 years agoadd new API for retrieving port flags from backend
Paul Davis [Wed, 17 Oct 2018 18:10:50 +0000 (14:10 -0400)]
add new API for retrieving port flags from backend

5 years agoFix MMC range 0..127 (libardour uses and 0x7f)
Robin Gareus [Wed, 17 Oct 2018 17:56:06 +0000 (19:56 +0200)]
Fix MMC range 0..127 (libardour uses and 0x7f)

5 years agowhen calling Session::engine_halted() after a user-driven engine stop, make sure...
Paul Davis [Wed, 17 Oct 2018 17:15:52 +0000 (13:15 -0400)]
when calling Session::engine_halted() after a user-driven engine stop, make sure Engine::running() will be false

5 years agoLCXL: complete overhaul and Mixbus support
Jan Lentfer [Fri, 21 Sep 2018 14:06:16 +0000 (16:06 +0200)]
LCXL: complete overhaul and Mixbus support

5 years agoLCXL: Assign one callback function per Knob/Fader
Térence Clastres [Sat, 8 Sep 2018 17:03:45 +0000 (19:03 +0200)]
LCXL: Assign one callback function per Knob/Fader

5 years agoOSC: personal monitor can hide the aux bus
Len Ovens [Tue, 16 Oct 2018 20:56:09 +0000 (13:56 -0700)]
OSC: personal monitor can hide the aux bus

5 years agoOSC: personal monitor send hidden follows aux hidden
Len Ovens [Tue, 16 Oct 2018 20:33:42 +0000 (13:33 -0700)]
OSC: personal monitor send hidden follows aux hidden

5 years agoOSC: personal monitor should only send signal present on change
Len Ovens [Mon, 15 Oct 2018 17:38:52 +0000 (10:38 -0700)]
OSC: personal monitor should only send signal present on change

5 years agoindentation fix
Paul Davis [Mon, 15 Oct 2018 20:38:21 +0000 (16:38 -0400)]
indentation fix

5 years ago#include tidy-up
Paul Davis [Mon, 15 Oct 2018 20:38:07 +0000 (16:38 -0400)]
#include tidy-up

5 years agochange region->row map of EditorRegions to use iterator, not RowReference
Paul Davis [Mon, 15 Oct 2018 20:04:53 +0000 (16:04 -0400)]
change region->row map of EditorRegions to use iterator, not RowReference

RowReference was responsible for 75% of the cost of building the region list, and incurs cost
at every later insert/delete/reorder. Since both ListStore and TreeStore have persistent iterators,
use them instead

5 years agoRemove a #include and substitute a forward declaration (to simplify and speed up...
John Emmas [Mon, 15 Oct 2018 09:21:45 +0000 (10:21 +0100)]
Remove a #include and substitute a forward declaration (to simplify and speed up compilation)

5 years agoAdapt some MSVC projects to accommodate the changes to 'ptformat' library
John Emmas [Mon, 15 Oct 2018 09:19:26 +0000 (10:19 +0100)]
Adapt some MSVC projects to accommodate the changes to 'ptformat' library

5 years agoOSC: allow personal monitor to add a send.
Len Ovens [Sat, 13 Oct 2018 18:02:47 +0000 (11:02 -0700)]
OSC: allow personal monitor to add a send.

5 years agoremove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
Paul Davis [Mon, 15 Oct 2018 02:06:13 +0000 (22:06 -0400)]
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead

5 years agoremove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
Paul Davis [Mon, 15 Oct 2018 02:06:11 +0000 (22:06 -0400)]
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead

5 years agofix mixup with previous commit
Paul Davis [Mon, 15 Oct 2018 01:22:39 +0000 (21:22 -0400)]
fix mixup with previous commit

5 years agofix several inter-related problems with libptformat
Paul Davis [Mon, 15 Oct 2018 00:35:31 +0000 (20:35 -0400)]
fix several inter-related problems with libptformat

5 years agofix several inter-related problems with libptformat
Paul Davis [Mon, 15 Oct 2018 00:35:29 +0000 (20:35 -0400)]
fix several inter-related problems with libptformat

5 years agoClarify where the file 'ptfformat.h' can be found
John Emmas [Sat, 13 Oct 2018 12:49:50 +0000 (13:49 +0100)]
Clarify where the file 'ptfformat.h' can be found

5 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Sat, 13 Oct 2018 12:47:16 +0000 (13:47 +0100)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

5 years agoAccommodate newly introduced source(s) in our MSVC project (libardour)
John Emmas [Sat, 13 Oct 2018 12:46:30 +0000 (13:46 +0100)]
Accommodate newly introduced source(s) in our MSVC project (libardour)

5 years agoPT import: Fix circular dependency with libptformat <-> libardour
Damien Zammit [Wed, 10 Oct 2018 09:24:47 +0000 (20:24 +1100)]
PT import: Fix circular dependency with libptformat <-> libardour

5 years agoPT import: Minor changes to session
Damien Zammit [Wed, 10 Oct 2018 09:17:57 +0000 (20:17 +1100)]
PT import: Minor changes to session

5 years agoPT import: Add new import_pt.cc session methods
Damien Zammit [Wed, 10 Oct 2018 09:19:12 +0000 (20:19 +1100)]
PT import: Add new import_pt.cc session methods

5 years agoPT import: editor_pt_import complete rewrite
Damien Zammit [Wed, 10 Oct 2018 09:13:14 +0000 (20:13 +1100)]
PT import: editor_pt_import complete rewrite

5 years agoPT import: Add new PTImportSelector dialog
Damien Zammit [Wed, 10 Oct 2018 09:09:24 +0000 (20:09 +1100)]
PT import: Add new PTImportSelector dialog

5 years agolibptformat: Update lib to upstream e75320e (+source lengths)
Damien Zammit [Wed, 10 Oct 2018 09:21:29 +0000 (20:21 +1100)]
libptformat: Update lib to upstream e75320e (+source lengths)

5 years agoAlways use internal, modified, zita-resampler
Robin Gareus [Wed, 10 Oct 2018 22:17:00 +0000 (00:17 +0200)]
Always use internal, modified, zita-resampler

zita-resampler was modified from the original:

 * a dedicated mono variable-resampler version was added
 * full-cycle no-resampling was optimized into a delayline

5 years agoConsolidate relative sched_get_priority computation
Robin Gareus [Wed, 10 Oct 2018 23:47:46 +0000 (01:47 +0200)]
Consolidate relative sched_get_priority computation

5 years agoUse new RT-priority API
Robin Gareus [Wed, 10 Oct 2018 23:36:49 +0000 (01:36 +0200)]
Use new RT-priority API

5 years agoAdd API to query backend realtime thread priority
Robin Gareus [Wed, 10 Oct 2018 23:36:10 +0000 (01:36 +0200)]
Add API to query backend realtime thread priority

5 years agoFix master_send_enable_controllable for Mixbusses
Robin Gareus [Wed, 10 Oct 2018 20:41:49 +0000 (22:41 +0200)]
Fix master_send_enable_controllable for Mixbusses

5 years agoFix inconsistent controllable Lua binding names
Robin Gareus [Wed, 10 Oct 2018 20:32:08 +0000 (22:32 +0200)]
Fix inconsistent controllable Lua binding names

This also fixes incorrectly mapped send_level/enable

5 years agoFix well-known control Lua bindings
Robin Gareus [Wed, 10 Oct 2018 20:15:28 +0000 (22:15 +0200)]
Fix well-known control Lua bindings

5 years agorevert the coupling of location UI clock modes to transport clocks
Paul Davis [Wed, 10 Oct 2018 15:56:49 +0000 (11:56 -0400)]
revert the coupling of location UI clock modes to transport clocks

5 years agouse primary, not secondary, clock mode to drive other clock modes, and dynamically...
Paul Davis [Wed, 10 Oct 2018 15:47:05 +0000 (11:47 -0400)]
use primary, not secondary, clock mode to drive other clock modes, and dynamically update region editors, location UI and editor regions when it changes

5 years agoregion editor should use primary clock mode, not secondary
Paul Davis [Wed, 10 Oct 2018 15:24:17 +0000 (11:24 -0400)]
region editor should use primary clock mode, not secondary

5 years agoIgnore small (or negative) radii.
Robin Gareus [Tue, 9 Oct 2018 17:26:02 +0000 (19:26 +0200)]
Ignore small (or negative) radii.

Some calls use e.g. (corner_radius - 1.5). With small radii or boxy
layout the radius can become negative.

5 years agoConstant radian/degree factor
Robin Gareus [Tue, 9 Oct 2018 17:24:42 +0000 (19:24 +0200)]
Constant radian/degree factor

5 years agoRemove unused variable
Robin Gareus [Tue, 9 Oct 2018 17:23:17 +0000 (19:23 +0200)]
Remove unused variable

5 years agosome rather simple code to allow MIDI Clock to set the tempo of the session.
Paul Davis [Mon, 8 Oct 2018 16:59:51 +0000 (12:59 -0400)]
some rather simple code to allow MIDI Clock to set the tempo of the session.

This is only allowed if the session has only 1 tempo marker

5 years agouse C++, dammit
Paul Davis [Sun, 7 Oct 2018 16:57:56 +0000 (12:57 -0400)]
use C++, dammit

5 years agofix duplicate name check for new transport master
Paul Davis [Sun, 7 Oct 2018 16:43:28 +0000 (12:43 -0400)]
fix duplicate name check for new transport master

5 years agoshow message if adding transport master doesn't work
Paul Davis [Sun, 7 Oct 2018 16:43:14 +0000 (12:43 -0400)]
show message if adding transport master doesn't work

5 years agomake name entry activation close dialog (potentially)
Paul Davis [Sun, 7 Oct 2018 16:36:04 +0000 (12:36 -0400)]
make name entry activation close dialog (potentially)

5 years agodelete transport masters from an idle callback
Paul Davis [Sun, 7 Oct 2018 16:29:52 +0000 (12:29 -0400)]
delete transport masters from an idle callback

5 years agofix return value and avoid unnecessary extra conditional
Paul Davis [Sun, 7 Oct 2018 16:29:37 +0000 (12:29 -0400)]
fix return value and avoid unnecessary extra conditional

5 years agoremove crazy thinko
Paul Davis [Sun, 7 Oct 2018 16:28:53 +0000 (12:28 -0400)]
remove crazy thinko

5 years agoadd dialog for adding new transport masters
Paul Davis [Sun, 7 Oct 2018 15:09:54 +0000 (11:09 -0400)]
add dialog for adding new transport masters

5 years agoFaderport(Classic): Add Record-PreRoll and Record-CountIn actions to the footswitch...
Ben Loftis [Sun, 7 Oct 2018 15:09:38 +0000 (10:09 -0500)]
Faderport(Classic): Add Record-PreRoll and Record-CountIn  actions to the footswitch selections.  Could make this menu access -any- action, but I think a short useful list of transport items is better in this case.

5 years agoFix DSP-load window when removing plugins/routes
Robin Gareus [Sat, 6 Oct 2018 23:44:33 +0000 (01:44 +0200)]
Fix DSP-load window when removing plugins/routes

DropReferences of a single item should only drop references of the
instance in question -- and refill, keep the remaining items.

5 years agoSort Sidechain port list by mixer-order instead of alphabetically
Robin Gareus [Sat, 6 Oct 2018 19:30:24 +0000 (21:30 +0200)]
Sort Sidechain port list by mixer-order instead of alphabetically

5 years agoProperly disable looping when deleting loop-range
Robin Gareus [Fri, 5 Oct 2018 19:48:41 +0000 (21:48 +0200)]
Properly disable looping when deleting loop-range

5 years agoNO-OP: whitespace
Robin Gareus [Fri, 5 Oct 2018 19:47:43 +0000 (21:47 +0200)]
NO-OP: whitespace

5 years agomake remove work for transport masters (bug fix, really)
Paul Davis [Fri, 5 Oct 2018 18:29:15 +0000 (14:29 -0400)]
make remove work for transport masters (bug fix, really)

5 years agoremove debug output
Paul Davis [Fri, 5 Oct 2018 18:18:43 +0000 (14:18 -0400)]
remove debug output

5 years agotweak up display of "time since last msg" for transport masters
Paul Davis [Fri, 5 Oct 2018 18:14:51 +0000 (14:14 -0400)]
tweak up display of "time since last msg" for transport masters

5 years agostop MIDIClock transport master reporting continued timestamps
Paul Davis [Fri, 5 Oct 2018 18:14:31 +0000 (14:14 -0400)]
stop MIDIClock transport master reporting continued timestamps

5 years agomove away from "sync source" concepts
Paul Davis [Fri, 5 Oct 2018 16:35:13 +0000 (12:35 -0400)]
move away from "sync source" concepts

5 years agomove away from "sync source" concepts
Paul Davis [Fri, 5 Oct 2018 16:35:10 +0000 (12:35 -0400)]
move away from "sync source" concepts

5 years agolaying the groundwork for adding/removing transport masters
Paul Davis [Thu, 4 Oct 2018 17:19:39 +0000 (13:19 -0400)]
laying the groundwork for adding/removing transport masters

5 years agolaying the groundwork for adding/removing transport masters
Paul Davis [Thu, 4 Oct 2018 17:19:30 +0000 (13:19 -0400)]
laying the groundwork for adding/removing transport masters

5 years agoFix the User button for Mixbus; we use it as a button, not a modifier.
Ben Loftis [Fri, 5 Oct 2018 00:29:14 +0000 (19:29 -0500)]
Fix the User button for Mixbus; we use it as a button, not a modifier.

5 years agoRemove debug output from 39f65bbce
Robin Gareus [Thu, 4 Oct 2018 22:56:59 +0000 (00:56 +0200)]
Remove debug output from 39f65bbce

5 years agoChange color of nudge-buttons depending on selection.
Robin Gareus [Thu, 4 Oct 2018 19:55:44 +0000 (21:55 +0200)]
Change color of nudge-buttons depending on selection.

Experimental.
This indicates region selection:
  * nudge region(s): red
  * nudge playhead or marker(s): default gray

This does not indicate marker selection (nudge marker vs playhead),
nor does it change when primary-modifier is held (force playhead
nudge).

5 years agoFix French translation #7665
Robin Gareus [Thu, 4 Oct 2018 16:46:11 +0000 (18:46 +0200)]
Fix French translation #7665

5 years agoremove LTC port parameter, since it's no longer a thing.
Paul Davis [Thu, 4 Oct 2018 14:17:40 +0000 (10:17 -0400)]
remove LTC port parameter, since it's no longer a thing.

This commit does not remove this concept from the libs/ardour/engine_state_controller code,
which is used exclusively by Waves Track Live (to the extent that this can be said to
be "used").

5 years agoadd new ::update_interval() method for transport masters, and use in shared ::speed_a...
Paul Davis [Thu, 4 Oct 2018 04:40:35 +0000 (00:40 -0400)]
add new ::update_interval() method for transport masters, and use in shared ::speed_and_position() implementation

5 years agofix error introduced in MTC transport master
Paul Davis [Thu, 4 Oct 2018 04:40:04 +0000 (00:40 -0400)]
fix error introduced in MTC transport master

5 years agoRemove cruft
Robin Gareus [Thu, 4 Oct 2018 01:57:49 +0000 (03:57 +0200)]
Remove cruft

5 years agoUnhardcode and increase bindable Lua-script-action count
Robin Gareus [Thu, 4 Oct 2018 01:57:09 +0000 (03:57 +0200)]
Unhardcode and increase bindable Lua-script-action count

5 years agoSort Factory/Lua-script session-templates
Robin Gareus [Thu, 4 Oct 2018 01:36:40 +0000 (03:36 +0200)]
Sort Factory/Lua-script session-templates

5 years agoSort Session templates alphabetically
Robin Gareus [Thu, 4 Oct 2018 01:35:53 +0000 (03:35 +0200)]
Sort Session templates alphabetically

5 years agoHandle generic-midi bindings per session.
Robin Gareus [Thu, 4 Oct 2018 00:30:21 +0000 (02:30 +0200)]
Handle generic-midi bindings per session.

This allows to special-cases session-specific control-surface state.
e.g. midi-learn.

Only restore midi-learned, session-specific, bindings when loading a
session with generic-midi enabled.

Also dis/re-enable generic-midi resets midi-learned, but no other
session-independent settings.

This also handles the edge case:
 1) load global config, generic-midi = ON, w/ bindings.
    state is remembered as cpi->state
 2) load session-condig, generic-midi = OFF, cpi->state is retained
 3) user enables the surface, cpi->state from (1) is applied.
 -> invalid bindings applied -> fail

5 years agoPersistent ctrl-surface state
Robin Gareus [Wed, 3 Oct 2018 23:36:51 +0000 (01:36 +0200)]
Persistent ctrl-surface state

Keep latest surface configuration, regardless if surface is active
or being deactivated. Current state after de-activation is retained.

Currently state loaded from a session overrides global state from
global preferences, if the surface is marked active in the session.
This is to allow midi-learn.

generic-midi and session-specific midi-learn will require additional
work.

5 years agoPrevent excessive meter redraws for inactive meters at zero
Robin Gareus [Wed, 3 Oct 2018 18:54:14 +0000 (20:54 +0200)]
Prevent excessive meter redraws for inactive meters at zero

5 years agoProperly initialize midi-meters
Robin Gareus [Wed, 3 Oct 2018 18:22:30 +0000 (20:22 +0200)]
Properly initialize midi-meters

Midi meters are using linear 0..1 range, (not decibels, no log-scale
falloff).

If a track is deactivated, run() is never called. the queued reset never
executed and the meter remained at the initialization default -inf
(visually it looked like a pegged meter).

5 years agoRemove Transport > TimeMaster toggle from menu
Robin Gareus [Wed, 3 Oct 2018 16:19:00 +0000 (18:19 +0200)]
Remove Transport > TimeMaster toggle from menu

The checkbox is not kept in sync with
  Session > Properties > Timecode > JACK Time Master
besides, it relies on JACK, relies on ardour being the first jack client
and also is mostl useless due to tempo-ramps not being supported by
many jack clients.

5 years agoPrevent adding aux-sends to master or monitor
Robin Gareus [Wed, 3 Oct 2018 16:16:42 +0000 (18:16 +0200)]
Prevent adding aux-sends to master or monitor

5 years agoFix weird behavior in playhead_x_to_grid: use return value from snap_to_grid.
Ben Loftis [Wed, 3 Oct 2018 01:12:14 +0000 (20:12 -0500)]
Fix weird behavior in playhead_x_to_grid: use return value from snap_to_grid.

5 years agoInclude Track-number with stem-exports, if track-numbers are present.
Robin Gareus [Tue, 2 Oct 2018 21:28:44 +0000 (23:28 +0200)]
Include Track-number with stem-exports, if track-numbers are present.

5 years agoAdd a GUI option to enable boxy button style
Robin Gareus [Tue, 2 Oct 2018 19:28:26 +0000 (21:28 +0200)]
Add a GUI option to enable boxy button style

5 years agoPrepare a boxy, no round borders, button-style
Robin Gareus [Tue, 2 Oct 2018 19:27:55 +0000 (21:27 +0200)]
Prepare a boxy, no round borders, button-style

5 years agoFix context-menu item "bus" = audio and midi busses.
Robin Gareus [Tue, 2 Oct 2018 19:25:53 +0000 (21:25 +0200)]
Fix context-menu item "bus" = audio and midi busses.

Hide/show logic uses "not track".
This results in matching both audio and midi busses.

5 years agoFix false-positive duplicate format detection
Robin Gareus [Tue, 2 Oct 2018 19:22:36 +0000 (21:22 +0200)]
Fix false-positive duplicate format detection

Previously, stem-exports of more than 1 channel always included
the export-format, even if only one format was exported.

5 years agoMore correct fix for 8bfbef4: the check was already there; just needed to set the...
Ben Loftis [Tue, 2 Oct 2018 14:41:04 +0000 (09:41 -0500)]
More correct fix for 8bfbef4:  the check was already there; just needed to set the dirty flag.

5 years agoFix deadlock when no region boundaries are selected in the Snap prefs.
Ben Loftis [Tue, 2 Oct 2018 14:28:05 +0000 (09:28 -0500)]
Fix deadlock when no region boundaries are selected in the Snap prefs.

5 years agoipw: Fix race condition with polling the cancel state of the dialog
Damien Zammit [Sat, 29 Sep 2018 04:18:10 +0000 (14:18 +1000)]
ipw: Fix race condition with polling the cancel state of the dialog

Sometimes the interthread process window dialog reports "cancelled"
when it was not actually cancelled, it was just hidden and reshown,
Since we are polling the cancel state interthread, we must reset
the cancel status BEFORE the dialog is shown, and never toggle the
cancel state unless it is a true cancel action by the user.

5 years agolibptformat: Add ability to reuse object && add path to ptf to api
Damien Zammit [Fri, 28 Sep 2018 13:33:12 +0000 (23:33 +1000)]
libptformat: Add ability to reuse object && add path to ptf to api

5 years agoRemove a call to 'fst_audio_master_idle()'
John Emmas [Tue, 2 Oct 2018 08:17:32 +0000 (09:17 +0100)]
Remove a call to 'fst_audio_master_idle()'

Nobody seems quite sure why it's needed but it seems to be crashing a lot of plugins:-

http://tracker.ardour.org/view.php?id=7668

5 years agoFix Mixbus master-bus tape-saturation controllable
Robin Gareus [Sun, 30 Sep 2018 13:33:43 +0000 (15:33 +0200)]
Fix Mixbus master-bus tape-saturation controllable