ardour.git
6 years agoAccommodate the change from libtimecode to libtemporal (gtk2_ardour)
John Emmas [Mon, 30 Oct 2017 12:44:44 +0000 (12:44 +0000)]
Accommodate the change from libtimecode to libtemporal (gtk2_ardour)

6 years agoAccommodate the change from libtimecode to libtemporal
John Emmas [Mon, 30 Oct 2017 11:01:19 +0000 (11:01 +0000)]
Accommodate the change from libtimecode to libtemporal

6 years agoRemove unused per-port buffer offset
Robin Gareus [Sun, 29 Oct 2017 17:44:06 +0000 (18:44 +0100)]
Remove unused per-port buffer offset

6 years agoNO-OP: whitespace
Robin Gareus [Sun, 29 Oct 2017 17:36:32 +0000 (18:36 +0100)]
NO-OP: whitespace

6 years agoQuick hack to test engine vari-speed (2/2)
Robin Gareus [Sun, 29 Oct 2017 17:32:27 +0000 (18:32 +0100)]
Quick hack to test engine vari-speed (2/2)

6 years agoQuick hack to test engine vari-speed (1/2)
Robin Gareus [Sun, 29 Oct 2017 17:32:17 +0000 (18:32 +0100)]
Quick hack to test engine vari-speed (1/2)

6 years agoMove vari-speed into backend (resample ports)
Robin Gareus [Sun, 29 Oct 2017 17:30:18 +0000 (18:30 +0100)]
Move vari-speed into backend (resample ports)

Previously Ardour used a /local/ per track vari-speed mechanism.
Now that the disk-reader is a latency-compensated processor, the speed
of each disk-reader would need to be maintained locally, offset by each
disk-reader's output latency. Furthermore each disk-reader may
produce a different number of samples, depending on its global alignment.

This commit introduces port-data resampling directly at the engine-level:
Up/down-sample all input ports at the beginning, and down/up-sample output
port-data using the inverse ratio at the end of the session's process
cycle.
The session itself is unaware of the speed-change, and only needs to
handle transport speeds {-1, 0, +1}.

This also allows for aligned cue-monitoring and vari-speed recording,
and also pitch-shifts synthesized MIDI along.

6 years agoAdd a dedicated mono variable resampler version
Robin Gareus [Sun, 29 Oct 2017 14:06:40 +0000 (15:06 +0100)]
Add a dedicated mono variable resampler version

6 years agoFix/update alsa backend build recipe (statically link zresampler)
Robin Gareus [Sun, 29 Oct 2017 19:03:24 +0000 (20:03 +0100)]
Fix/update alsa backend build recipe (statically link zresampler)

6 years agoUpdate Lua Bindings, fix inconsistencies.
Robin Gareus [Sun, 29 Oct 2017 17:32:49 +0000 (18:32 +0100)]
Update Lua Bindings, fix inconsistencies.

6 years agoRevert "relax zita-resampler's relative ratio"
Robin Gareus [Sun, 29 Oct 2017 16:55:57 +0000 (17:55 +0100)]
Revert "relax zita-resampler's relative ratio"

This reverts commit d1b5a9ed3deb3045971bd16f6613ef328e49b7e8.

6 years agoFix loading sessions w/new tempo-map.
Robin Gareus [Sat, 28 Oct 2017 13:44:39 +0000 (15:44 +0200)]
Fix loading sessions w/new tempo-map.

Newly constructed sessions don't save "Tempo-start" property.
If there's no "start" node, _legacy_bbt is never explicitly set and
the default c'tor is used, which sets bar = 1.
The test for legacy session checks bar != 0.

All new sessions were processed with fix_legacy_session(), which breaks
the tempo-map and makes the session not loadable (duplicate Tempo).

6 years agoFix initial cycle noise with dummy-loopback
Robin Gareus [Sat, 28 Oct 2017 13:35:58 +0000 (15:35 +0200)]
Fix initial cycle noise with dummy-loopback

6 years agorelax zita-resampler's relative ratio
Robin Gareus [Tue, 3 Oct 2017 16:02:35 +0000 (18:02 +0200)]
relax zita-resampler's relative ratio

6 years agoAccommodate newly added/removed source(s) in our MSVC project (libpbd)
John Emmas [Fri, 27 Oct 2017 12:08:32 +0000 (13:08 +0100)]
Accommodate newly added/removed source(s) in our MSVC project (libpbd)

6 years agoAdd a RAII SpinLock (using boost's spinlock)
Robin Gareus [Thu, 26 Oct 2017 20:33:11 +0000 (22:33 +0200)]
Add a RAII SpinLock (using boost's spinlock)

6 years agoNO-OP: whitespace cleanup
Paul Davis [Thu, 26 Oct 2017 19:46:00 +0000 (15:46 -0400)]
NO-OP: whitespace cleanup

6 years agomove mixbus-only variable declaration
Paul Davis [Thu, 26 Oct 2017 19:45:16 +0000 (15:45 -0400)]
move mixbus-only variable declaration

6 years agoremove unused variable
Paul Davis [Thu, 26 Oct 2017 19:44:32 +0000 (15:44 -0400)]
remove unused variable

6 years agofix preprocessor error on some/many systems
Paul Davis [Thu, 26 Oct 2017 19:44:09 +0000 (15:44 -0400)]
fix preprocessor error on some/many systems

6 years agoswitch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>
Paul Davis [Thu, 26 Oct 2017 19:43:49 +0000 (15:43 -0400)]
switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>

6 years agoremove unused variable
Paul Davis [Thu, 26 Oct 2017 19:43:31 +0000 (15:43 -0400)]
remove unused variable

6 years agoswitch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>
Paul Davis [Thu, 26 Oct 2017 19:43:08 +0000 (15:43 -0400)]
switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>

6 years agoswitch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>
Paul Davis [Thu, 26 Oct 2017 19:41:47 +0000 (15:41 -0400)]
switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>

6 years agoremove unused variables
Paul Davis [Thu, 26 Oct 2017 19:41:11 +0000 (15:41 -0400)]
remove unused variables

6 years agoremove unused variable
Paul Davis [Thu, 26 Oct 2017 19:41:01 +0000 (15:41 -0400)]
remove unused variable

6 years agooptimization for track with zero audio channels should not short-circuit MIDI disk...
Paul Davis [Thu, 26 Oct 2017 19:15:05 +0000 (15:15 -0400)]
optimization for track with zero audio channels should not short-circuit MIDI disk reading

6 years agoremove unnecessary calls
Paul Davis [Thu, 26 Oct 2017 14:46:42 +0000 (10:46 -0400)]
remove unnecessary calls

6 years agoallow hardev to work again
Paul Davis [Thu, 26 Oct 2017 14:43:53 +0000 (10:43 -0400)]
allow hardev to work again

6 years agoheadless arval script
Paul Davis [Tue, 24 Oct 2017 22:08:40 +0000 (18:08 -0400)]
headless arval script

6 years agoOSC: fix mixed types keeps from building on server
Len Ovens [Thu, 26 Oct 2017 06:00:41 +0000 (23:00 -0700)]
OSC: fix mixed types keeps from building on server

6 years agoOSC: Provide click level control
Len Ovens [Thu, 26 Oct 2017 04:55:02 +0000 (21:55 -0700)]
OSC: Provide click level control

6 years agoOSC: add feedback for punch in/out, click and click level
Len Ovens [Thu, 26 Oct 2017 04:22:59 +0000 (21:22 -0700)]
OSC: add feedback for punch in/out, click and click level

6 years agoOSC: add feedback for toggle_roll
Len Ovens [Wed, 25 Oct 2017 19:32:32 +0000 (12:32 -0700)]
OSC: add feedback for toggle_roll

6 years agoOSC: fix monitor input/disk buttons so both can be on
Len Ovens [Wed, 25 Oct 2017 15:34:02 +0000 (08:34 -0700)]
OSC: fix monitor input/disk buttons so both can be on

6 years agoOSC: fix /strip/receives to have the original ssid like /strip/sends
Len Ovens [Wed, 25 Oct 2017 03:50:22 +0000 (20:50 -0700)]
OSC: fix /strip/receives to have the original ssid like /strip/sends

6 years agoOSC: fix refresh surface
Len Ovens [Wed, 25 Oct 2017 03:34:40 +0000 (20:34 -0700)]
OSC: fix refresh surface

6 years agoOSC: remove duplicate code.
Len Ovens [Wed, 25 Oct 2017 00:28:35 +0000 (17:28 -0700)]
OSC: remove duplicate code.

6 years agoOSC: cleaned up select
Len Ovens [Tue, 24 Oct 2017 20:30:55 +0000 (13:30 -0700)]
OSC: cleaned up select

6 years agoOSC: fix add and remove tracks to update without bank change.
Len Ovens [Tue, 24 Oct 2017 19:44:09 +0000 (12:44 -0700)]
OSC: fix add and remove tracks to update without bank change.

6 years agolv2 compat for liblilv < 1.10.0
Robin Gareus [Mon, 23 Oct 2017 17:21:04 +0000 (19:21 +0200)]
lv2 compat for liblilv < 1.10.0

6 years agoOSC: fix various crash points
Len Ovens [Mon, 23 Oct 2017 04:21:57 +0000 (21:21 -0700)]
OSC: fix various crash points

6 years agoUpdate rc_option_editor.cc
Olivier Humbert [Sun, 22 Oct 2017 21:59:00 +0000 (23:59 +0200)]
Update rc_option_editor.cc

6 years agoDetected boost using a compile-time check (works w/x-compile)
Robin Gareus [Sat, 21 Oct 2017 15:27:44 +0000 (17:27 +0200)]
Detected boost using a compile-time check (works w/x-compile)

6 years agoTweak 842d758e: selection & move into view
Robin Gareus [Sat, 21 Oct 2017 15:27:03 +0000 (17:27 +0200)]
Tweak 842d758e: selection & move into view

Use separate editor + mixer flags for moving selected tracks into view.
Changing selection in the Editor will only pan the mixer-view and vice-
versa. This fixes an issue with the track that is being clicked-on to
be moved out of view (due to groups)

6 years ago'Route::tape_drive_controllable()' needs to return something
John Emmas [Sat, 21 Oct 2017 10:23:05 +0000 (11:23 +0100)]
'Route::tape_drive_controllable()' needs to return something

6 years agoDon't move track into view due to indirect selection
Robin Gareus [Fri, 20 Oct 2017 17:08:48 +0000 (19:08 +0200)]
Don't move track into view due to indirect selection

This fixes an issue with grouped tracks, starting a [range] selection
on the bottom-most. Due to group-selection all tracks in the group
are selected. Previously this vertically-scrolled to move the
top-most into view, which could move the bottom-most out of view.

6 years agoDon't offer possible recursive VCA assignments in the GUI
Robin Gareus [Fri, 20 Oct 2017 00:54:06 +0000 (02:54 +0200)]
Don't offer possible recursive VCA assignments in the GUI

6 years agoAdd example script to assign VCAs
Robin Gareus [Fri, 20 Oct 2017 00:45:50 +0000 (02:45 +0200)]
Add example script to assign VCAs

6 years agoAdd Lua bindings for new VCA/Slavable API
Robin Gareus [Fri, 20 Oct 2017 00:18:16 +0000 (02:18 +0200)]
Add Lua bindings for new VCA/Slavable API

6 years agoPrevent recursive VCA assignments
Robin Gareus [Fri, 20 Oct 2017 00:13:23 +0000 (02:13 +0200)]
Prevent recursive VCA assignments

The GUI so far only prevents direct connections  VCA 1 > VCA 2 > VCA 1,
but does not recurse  VCA 1 > VCA 2 > VCA 3 > VCA 1

6 years agoRemove not implemented API
Robin Gareus [Thu, 19 Oct 2017 23:34:30 +0000 (01:34 +0200)]
Remove not implemented API

6 years agoLua: Fix Slavable & Automatable inheritance
Robin Gareus [Thu, 19 Oct 2017 22:40:37 +0000 (00:40 +0200)]
Lua: Fix Slavable & Automatable inheritance

This allows to cast VCAs into Slavables.

6 years agoUS2400: Mark controls dirty and send them from the periodic update thread.
Ben Loftis [Thu, 19 Oct 2017 16:53:08 +0000 (11:53 -0500)]
US2400: Mark controls dirty and send them from the periodic update thread.

6 years agoUS2400: allow selecting the master bus. LED does not respond, though :(
Ben Loftis [Tue, 17 Oct 2017 18:27:08 +0000 (13:27 -0500)]
US2400:  allow selecting the master bus. LED does not respond, though  :(

6 years agoUS2400: explicitly toggle switch state in some cases where everything should reset.
Ben Loftis [Tue, 17 Oct 2017 14:20:18 +0000 (09:20 -0500)]
US2400: explicitly toggle switch state in some cases where everything should reset.

6 years agoUS2400: map knobs for mixbus strips, when selected.
Ben Loftis [Sun, 15 Oct 2017 23:13:28 +0000 (18:13 -0500)]
US2400: map knobs for mixbus strips, when selected.

6 years agoOSC: Cue observer simplified.
Len Ovens [Thu, 19 Oct 2017 15:46:55 +0000 (08:46 -0700)]
OSC: Cue observer simplified.

6 years agoOSC: remove unused function.
Len Ovens [Wed, 18 Oct 2017 22:29:52 +0000 (15:29 -0700)]
OSC: remove unused function.

6 years agoFP8: unhardcode IDs and strip-count
Robin Gareus [Thu, 19 Oct 2017 14:57:12 +0000 (16:57 +0200)]
FP8: unhardcode IDs and strip-count

6 years agoUpdate GUI, use filename-extensions
Robin Gareus [Wed, 18 Oct 2017 17:24:54 +0000 (19:24 +0200)]
Update GUI, use filename-extensions

6 years agoConsolidate session + template file extensions
Robin Gareus [Wed, 18 Oct 2017 17:22:23 +0000 (19:22 +0200)]
Consolidate session + template file extensions

6 years agoFix g_stat() for 64bit windows/mingw64
Robin Gareus [Wed, 18 Oct 2017 15:53:02 +0000 (17:53 +0200)]
Fix g_stat() for 64bit windows/mingw64

6 years agoSave <UI> state for plugins only.
Robin Gareus [Sat, 14 Oct 2017 15:00:45 +0000 (17:00 +0200)]
Save <UI> state for plugins only.

Only PluginInserts have UIs and PinMgs and unique IDs.
Other processors  may not be saved explicitly, [re-]created
dynamically, change ID (eg. capturing processor) and clutter up
the list.

TODO: removing a processor should also remove its UI state.

6 years agoOSC: Move observers to surface based for less traffic.
Len Ovens [Tue, 17 Oct 2017 21:56:44 +0000 (14:56 -0700)]
OSC: Move observers to surface based for less traffic.

6 years agoeditor_pt_import: Process wav indexes once only
Damien Zammit [Sun, 15 Oct 2017 06:16:27 +0000 (17:16 +1100)]
editor_pt_import: Process wav indexes once only

6 years agoUpdate ptformat to upstream 72bd66b
Damien Zammit [Sun, 15 Oct 2017 06:12:38 +0000 (17:12 +1100)]
Update ptformat to upstream 72bd66b

- Fix a wrong assumption in the xor code
- Find start of wav list more consistently
- Fix long long constants

6 years agoOSC: fix crash for wrong number of parameters in set_surface
Len Ovens [Thu, 12 Oct 2017 20:18:21 +0000 (13:18 -0700)]
OSC: fix crash for wrong number of parameters in set_surface

6 years agoFix pre-roll cycle-split
Robin Gareus [Wed, 11 Oct 2017 23:49:05 +0000 (01:49 +0200)]
Fix pre-roll cycle-split

previously this worked as long as the cycle was only
needed to be split once.

6 years agoadd missing lock (for audition + mon section)
Robin Gareus [Tue, 10 Oct 2017 20:12:37 +0000 (22:12 +0200)]
add missing lock (for audition + mon section)

6 years agoOSC clean up route observer
Len Ovens [Sun, 8 Oct 2017 03:23:34 +0000 (20:23 -0700)]
OSC clean up route observer

6 years agoFor 'Route::send_pan_azi_controllable()' (when building non-Mixbus) I'm assuming...
John Emmas [Sat, 7 Oct 2017 09:11:12 +0000 (10:11 +0100)]
For 'Route::send_pan_azi_controllable()' (when building non-Mixbus) I'm assuming the intention was to return an empty object

(i.e. similar to 'Route::send_enable_controllable()')

6 years agoUS2400: add us2400 files to repository.
Ben Loftis [Thu, 5 Oct 2017 15:54:46 +0000 (10:54 -0500)]
US2400: add us2400 files to repository.

6 years agoUS2400: add us2400 to surfaces path, in ardev
Ben Loftis [Thu, 5 Oct 2017 15:47:32 +0000 (10:47 -0500)]
US2400: add us2400 to surfaces path, in ardev

6 years agoUS2400: add us2400 to surfaces.
Ben Loftis [Thu, 5 Oct 2017 15:03:09 +0000 (10:03 -0500)]
US2400: add us2400 to surfaces.

6 years agoUS2400: send_pan_azimuth lookup function (currently mb-only)
Ben Loftis [Thu, 5 Oct 2017 14:59:03 +0000 (09:59 -0500)]
US2400: send_pan_azimuth lookup function (currently mb-only)

6 years agoUS2400: add debug bits
Ben Loftis [Thu, 5 Oct 2017 14:55:32 +0000 (09:55 -0500)]
US2400: add debug bits

6 years agoFix various edge-cases with session-archives
Robin Gareus [Wed, 4 Oct 2017 03:06:47 +0000 (05:06 +0200)]
Fix various edge-cases with session-archives

* prevent duplicate names when pulling-in external sources
* drop "origin" after including external sources
* don't include unused playlists
  (they may reference sources that are not included)
* likewise exclude unused regions

6 years agoClean up State API:
Robin Gareus [Tue, 3 Oct 2017 22:35:29 +0000 (00:35 +0200)]
Clean up State API:

* Processor implement get_state(), classes derived from Processor
  implement protected ::state() -- as documented in processor.h
* likewise for Route, Track: make ::state() a protected interface
* removal of "full_state", use explicit "template_save"
* use RAII/Unwind to skip saving automation-state

6 years agoFix another hardcoded "tar.xz" -> ARDOUR::session_archive_suffix
Robin Gareus [Tue, 3 Oct 2017 16:03:40 +0000 (18:03 +0200)]
Fix another hardcoded "tar.xz" -> ARDOUR::session_archive_suffix

6 years agoFix session-archive file extension filter
Robin Gareus [Tue, 3 Oct 2017 01:09:25 +0000 (03:09 +0200)]
Fix session-archive file extension filter

6 years agoUpdate Session-Archive Dialog: add compression-option
Robin Gareus [Tue, 3 Oct 2017 00:20:33 +0000 (02:20 +0200)]
Update Session-Archive Dialog: add compression-option

6 years agoAPI change: expose session-archive compression-level
Robin Gareus [Mon, 2 Oct 2017 23:56:17 +0000 (01:56 +0200)]
API change: expose session-archive compression-level

6 years agoFix session-archive edge-cases, prepare uncompressed archives
Robin Gareus [Mon, 2 Oct 2017 23:06:07 +0000 (01:06 +0200)]
Fix session-archive edge-cases, prepare uncompressed archives

* don't fork/clone midi regions (default snapshot)
* properly handle encoding embedded/external multi-channel files
* use dedicated file-extension (prepare for uncompressed archive)

6 years agoPrepare support for compression levels (archive + flac)
Robin Gareus [Mon, 2 Oct 2017 18:40:44 +0000 (20:40 +0200)]
Prepare support for compression levels (archive + flac)

6 years agoFix MIDI Automation interpolation options
Robin Gareus [Mon, 2 Oct 2017 17:43:55 +0000 (19:43 +0200)]
Fix MIDI Automation interpolation options

6 years agouse new CubicInterpolation API
Paul Davis [Mon, 2 Oct 2017 16:43:20 +0000 (12:43 -0400)]
use new CubicInterpolation API

6 years agochange API and implementation for CubicInterpolation and Interpolation.
Paul Davis [Mon, 2 Oct 2017 16:42:44 +0000 (12:42 -0400)]
change API and implementation for CubicInterpolation and Interpolation.

Also remove LinearInterpolation which is not used

6 years agoremove cruft
Paul Davis [Mon, 2 Oct 2017 16:42:07 +0000 (12:42 -0400)]
remove cruft

6 years agoDiskReader should do nothing at all if there are no channels
Paul Davis [Mon, 2 Oct 2017 16:41:42 +0000 (12:41 -0400)]
DiskReader should do nothing at all if there are no channels

6 years agoremove cruft
Paul Davis [Mon, 2 Oct 2017 16:41:17 +0000 (12:41 -0400)]
remove cruft

6 years agoremove midi_interpolation member of DiskIOProcessor (was used only to call ::distance...
Paul Davis [Mon, 2 Oct 2017 16:40:15 +0000 (12:40 -0400)]
remove midi_interpolation member of DiskIOProcessor (was used only to call ::distance() method

6 years agoNO-OP: comment format change and whitespace
Paul Davis [Mon, 2 Oct 2017 16:38:56 +0000 (12:38 -0400)]
NO-OP: comment format change and whitespace

6 years agoremove cruft from DiskIOProcessor header
Paul Davis [Mon, 2 Oct 2017 16:38:29 +0000 (12:38 -0400)]
remove cruft from DiskIOProcessor header

6 years agouse constructor syntax
Paul Davis [Mon, 2 Oct 2017 16:37:20 +0000 (12:37 -0400)]
use constructor syntax

6 years agoremove leftover cruft related to wrap buffers from DiskIOProcessor
Paul Davis [Mon, 2 Oct 2017 16:36:52 +0000 (12:36 -0400)]
remove leftover cruft related to wrap buffers from DiskIOProcessor

6 years agotracks no longer need to be notified about speed changes
Paul Davis [Mon, 2 Oct 2017 16:35:32 +0000 (12:35 -0400)]
tracks no longer need to be notified about speed changes

6 years agoset owner or disk-i/o processors
Robin Gareus [Sun, 1 Oct 2017 18:54:40 +0000 (20:54 +0200)]
set owner or disk-i/o processors

This fixes a race-condition. These plugins may be run w/o being
re-configured which sets the ownershi. currently debug msgs use
owner()->name()

6 years agoThese are "Frames" :)
Robin Gareus [Sun, 1 Oct 2017 02:00:50 +0000 (04:00 +0200)]
These are "Frames" :)

6 years agoFix MIDI rec-region display
Robin Gareus [Sun, 1 Oct 2017 01:30:02 +0000 (03:30 +0200)]
Fix MIDI rec-region display

gui_feed_buffer is used for DiskWriter -> GUI notifications.
It was wrongly migrated from MidiDiskstream to DiskReader in 7fb6807