13
0
Commit Graph

28989 Commits

Author SHA1 Message Date
61e7f3176b do not clear any PostTransportWork flags in butler thread
doing this was causing the TFSM to get stuck in "WaitingForButler"
2020-01-21 21:50:35 -07:00
a765e52b47 add a heuristic to avoid refilling playback buffers at transport stop
If we're within 1/6th of the size of the reserved buffer of the target sample, no need to refill
2020-01-21 21:50:35 -07:00
981ee0060a remove debug output 2020-01-21 21:50:35 -07:00
95f3977f07
Do not install static libs
There is no need to deploy .a with ardour installations.
2020-01-22 02:00:25 +01:00
81c3bf175a
Keep track/bus number visible when disabling track 2020-01-22 01:45:18 +01:00
6914671736
Propagate ::route_active_changed() methods 2020-01-22 01:35:18 +01:00
6ce1c326a9
Display LV2 plugin-name with errors/warnings 2020-01-21 22:32:59 +01:00
Nikolaus Gullotta
db03860924 Fix sessions not building according to template
AFAICT, this was broken by either 5beeca2 or 242774e
2020-01-21 09:05:22 -06:00
d8d737adc4 Make it more obvious when a track is Inactive
Inactive tracks will now hide all controls and display only the track name
 in parenthesis.

Color-change is not sufficient by itself to distinguish an inactive track
 from an active one  (consider the case of just 2 tracks...)
2020-01-20 16:03:22 -06:00
7966d02534 Change tape-machine-mode to auto-input-does-talkback (gtk part) 2020-01-20 13:34:05 -06:00
9d2a209f60 Change tape-machine-mode to auto-input-does-talkback (libardour part)
In prior versions: if Auto Input was enabled, the default behavior was
to monitor the Input of all tracks when stopped; even if they aren't armed.

Tape Machine Mode changed the behavior of Auto Input so that it doesn't
always monitor the track inputs when transport is stopped.

After some discussion on IRC, we determined that Tape mode is likely
more practical for a DAW user, and therefore a better default.

Rather than default an ambiguously-named preference "on", we decided
to invert the behavior, rename it sensibly(?), and default it OFF.
2020-01-20 12:19:15 -06:00
42630f145a include a LocateTransportDisposition argument when Editor initially locates
Not clear if the editor really needs to make this call at all
2020-01-20 11:14:28 -07:00
ad82b443f4 fix API and use of Session::force_locate()
Because of the addition of LocateTransportDisposition, this call was unconditionally forcing a roll during startup
2020-01-20 11:07:27 -07:00
Jelle van der Waa
120be1576a tools: make ardour.keys generation reproducible
By default perl hashes are random when iterating over them this makes
ardour not reproducible. As it ships with a random order generated
ardour.keys file, simply sorting the keys before iterating over them
makes the file reproducible.

Motivation: https://reproducible-builds.org
2020-01-20 16:59:00 +01:00
978de93cf2
Add/update scripts reading raw audio-data 2020-01-20 06:37:30 +01:00
a439d8bbe4 fix mistaken "do not roll" conclusion in TransportFSM::compute_should_roll() 2020-01-18 21:14:17 -07:00
620ab66e75 remove fragile union design
Absurd to be memory-conscious about a couple of member variables in an object that represents user input
2020-01-18 19:59:24 -07:00
d83cd05882 fix broken-ness caused by bad initialization of a StopTransport event in TransportFSM 2020-01-18 19:59:24 -07:00
cb825a61ba
Remember implicit InlineControl visibility 2020-01-19 00:42:00 +01:00
61e53e303b
Fix ISO compliance 2020-01-18 19:09:36 +01:00
d7801ab7ee
Add timestamp to log -- #7877
This adds the time when a log message is displayed.
ARDOUR_UI::display_message() parses the prefix,
so the timestamp cannot be prefixed in the beforehand.

Still, UI::process_error_message() is called directly in
the same thread, so this makes no significant difference.
2020-01-18 18:18:05 +01:00
47767738b9 rename DoTheRightThing to RollIfAppropriate 2020-01-18 08:49:18 -07:00
3c00048b0c Session::request_locate() takes a tri-valued second argument for "roll-after-locate"
This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it
can be cnentralized and is less ambiguous
2020-01-18 08:49:18 -07:00
3fe87b9fa1
Fix MIDI capture alignment
This fixes Audio/MIDI alignment when recording normally.
Loop and/or Punch-in recording is still not aligned properly
(both audio and MIDI).

_accumulated_capture_offset is initialized once, accumulated
offsets (rec_nframes) are kept, even when ::check_record_status()
is called multiple times.
2020-01-18 15:52:28 +01:00
7c8072b0b7
Zero capture-offset regardless of data-type
_accumulated_capture_offset is only used for MIDI,
however this is helpful when debugging.
Previously audio kept accumulating the offset indefinitely.
2020-01-18 15:49:22 +01:00
33f71677eb
Make it possible to use reasonable-synth in production
This allows to disable the xmass easter-egg for those who
don't celebrate x-mas.
2020-01-17 22:41:01 +01:00
0ad9c3de1a
Fix another stuck splash screen
Don't allow dialogs to re-create the splash only to hide it.
2020-01-17 18:52:33 +01:00
Nikolaus Gullotta
4b355868cc Fix test breakage from a855119bdd 2020-01-16 14:01:18 -06:00
01c709ef0e Change default preferences as discussed on IRC today 2020-01-15 17:23:00 -06:00
c134a89c06
Remove mostly broken "live band" session-template script
This script originated in Mixbus and has not been kept
up-to date to work properly with Ardour
2020-01-15 22:18:53 +01:00
a62df60760
Replace some Gtk:MessageDialog with Ardour's variant
This fixes some issues with stuck splash screen early on.
2020-01-15 22:08:42 +01:00
ef636d0274
Update comments & icon of rubberband example Lua script 2020-01-15 02:20:59 +01:00
82cf46d781 add styling specifics for TreeViews so that checkboxes are properly visible 2020-01-14 17:53:55 -07:00
2d5a3013e0 fix 03c4335c1e to use the correct test for zero length
That commit used the dangerous Beats::operator== (int) comparison, which only campares the beat portion
2020-01-14 14:35:08 -07:00
f771679ade Fix thinkos in cubasish theme 2020-01-14 12:17:11 -06:00
06567c7b82 Recover caineville theme 2020-01-14 12:03:09 -06:00
a8a2f9df12 Recover clear_gray theme 2020-01-14 12:03:09 -06:00
756c5a5ee1
Add some example Lua scripts 2020-01-14 17:04:04 +01:00
2579e70f46 remove debug output 2020-01-13 23:19:52 -07:00
9f474953fd prevent everything except the name column from changing selection in EditorRoutes 2020-01-13 23:13:14 -07:00
659683c686 store some/most of the TreeViewColumn pointers for EditorRoutes in the parent object 2020-01-13 23:13:14 -07:00
4b9d6ff498
Add Lua bindings to inspect the Tempo Map 2020-01-14 03:05:22 +01:00
bca825e515
NO-OP: whitespace 2020-01-14 00:52:24 +01:00
34c4f7b8ee
Fix Ardour VAMP plugins (FFT)
Bug was introduced in 8ed33f1bc7 symbol visibility setting
in CFLAGS, CXXFLAGS was overridden. This resulted in publicly exposed
and bound kiss_fft symbols in libqm-dsp.

At runtime those symbols were resolved using previously bound
symbols in libcodec  (see below) that uses a mismatching implementation
(ardour/qm-dsp uses -Dkiss_fft_scalar=double)

#0  0x00007fffea793d40 in kiss_fftr () at /usr/lib/x86_64-linux-gnu/libcodec2.so.0.8.1
#1  0x00007fffcf4516ab in FFTReal::D::forward(double const*, double*, double*) (this=0x5555571d73a0, ri=0x55555a734810, ro=0x55555a7262b0, io=0x55555a728590)
    at ../libs/qm-dsp/dsp/transforms/FFT.cpp:121
#2  0x00007fffcf4510fd in FFTReal::forward(double const*, double*, double*) (this=0x555559868190, ri=0x55555a734810, ro=0x55555a7262b0, io=0x55555a728590)
    at ../libs/qm-dsp/dsp/transforms/FFT.cpp:186
2020-01-14 00:52:24 +01:00
2c9b301912 Recover Unastudia theme. 2020-01-13 17:12:55 -06:00
70c53cba49 Recover cubasish theme 2020-01-13 17:12:55 -06:00
3f92b8152a Recover Blueberry Milk theme 2020-01-13 17:12:55 -06:00
cb156db99d Sort palette colors by name only 2020-01-13 17:12:55 -06:00
7f80883eb1 Add more clues to port themes to new paradigm 2020-01-13 17:12:55 -06:00
87f79b3891 Fix more default theme colors 2020-01-13 17:12:55 -06:00