13
0
Commit Graph

33389 Commits

Author SHA1 Message Date
John Emmas
dda7612479 A few visibility changes needed for linking to libpbd (when building with MSVC) 2021-09-04 12:35:44 +01:00
John Emmas
f6ed73986b A few visibility changes needed for linking to libtemporal (when building with MSVC) 2021-09-04 12:28:15 +01:00
John Emmas
d7d966e02b Adapt 'Temporal::TempoMap::tempo_map_p' to be buildable with MSVC
Whenever a variable gets declared using 'thread_local' MSVC requires that it should not be compiled with DLL linkage (i.e. it mustn't be exportable). So for Temporal::TempoMap we'll need to export the required members individually, rather than exporting the entire class.
2021-09-03 10:02:41 +01:00
ElizabethHarmon
08e22fdb4b
Create add_cdmarker.lua 2021-09-02 20:45:56 +02:00
c74f80caa4
NO-OP: clean up maths, remove extra brackets
This may also help due to huge xdelta numbers.
2021-09-02 20:45:30 +02:00
8087bad9a0 triggerbox: create regions and sources using factories, and restore region in set_state() 2021-08-31 22:35:14 -06:00
78d8a2448d allow editing of triggerbox processor 2021-08-31 22:33:47 -06:00
7dba843cb4 temporal: fix error in operator>> for BBT_offset 2021-08-31 22:33:33 -06:00
dcfbdb482d triggerbox: reload sessions containing triggerboxen 2021-08-31 19:03:32 -06:00
af8be5e71d triggerbox: restore state initial implementation (incomplete) 2021-08-31 18:36:16 -06:00
a9d4668dee triggerbox: state saving 2021-08-31 16:46:19 -06:00
b46eaebb76 triggerbox: add enums to libardour enum decls 2021-08-31 16:46:14 -06:00
4eda53c8c9 temporal: add to_string() converters for BBT_Offset 2021-08-31 16:45:44 -06:00
bca2f306ea tweaks and colors for triggerbox box UI 2021-08-31 14:50:55 -06:00
51110a92d9 canvas: fix computation of Box bounding box 2021-08-31 13:21:12 -06:00
584e5c5b45 triggerbox: various improvements, including legato support, state tracking 2021-08-31 11:53:24 -06:00
3734277263 canvas: improve box packing - compute child dimensions more correctly 2021-08-30 17:40:06 -06:00
b47fbc91e0 canvas: provide Rect::shrink () with four arguments 2021-08-30 17:39:39 -06:00
2aa313eb4e triggerbox: actually fully stop trigger when explicitly requested, rather than use follow action 2021-08-30 16:32:02 -06:00
13a0f74ce4 triggerbox: add more debugging 2021-08-30 16:31:35 -06:00
940f3022c1 prevent addition of events to a ControlList whose time-domain does not match the ControlList's own time-domain 2021-08-30 15:15:14 -06:00
4fb3e24bd6 evoral: tentative fix for problems with Curve::multipoint_eval()
Now that we use superclock_t for audio time, it is possible for the square of an audio time value to overflow int64_t quite easily.
This change fixes that (and cleans up other code a little), but probably a different solution would be a good idea
2021-08-30 14:29:11 -06:00
e75e8ea645 copy of kruger's spline paper 2021-08-30 12:54:53 -06:00
25093af986 triggerbox: fix uninitialized variable 2021-08-30 09:13:48 -06:00
0699449f29 evoral: debugging curve errors 2021-08-30 09:04:27 -06:00
4cef8c681c evoral: fix for Curve coefficient computation 2021-08-30 09:04:27 -06:00
Nil Geisweiller
21c94b23f3 Make BBT_Time::print_padded const
As this method does not modify BBT_Time it can be const.  This allows such
method to be called over a const BBT_Time instance.
2021-08-30 02:24:38 +03:00
John Emmas
2de2ab8f91 Use std::vector<Sample*> rather than a simple array
(for a simple stack-based array, MSVC requires that the size should be known at compile time)
2021-08-29 15:40:59 +01:00
John Emmas
d3cd621f7a Initial changes needed for building libtemporal with MSVC
Later I'll need to push some extra changes (to support 'tempo_map_p' and 'boost::intrusive::list' etc) but these initial ones (hopefully!) won't cause any issues for the other builds.
2021-08-29 11:03:58 +01:00
19d99b0a4b fix logic of MIdiTimeAxisView::add_region() to interoperate correctly with editor source list 2021-08-28 16:00:53 -06:00
07324bd1e2 change the way source list adds new regions to match the way the region list does it
This avoids duplicates, updates rows etc
2021-08-28 15:29:44 -06:00
d5223c0c2c allow Editor source list to contain empty MIDI whole file regions 2021-08-28 15:28:41 -06:00
cd792f3713 avoid intermediate unnecessary shared_ptr 2021-08-27 17:25:51 -06:00
fad71ce748 when creating new MIDI sources, be sure that we create a stub file on disk
These files will be removed at session close if they are still empty. Their existence prevents
collisions across snapshots and likely some other wierdness that relied on file existence for
various tests and conditions
2021-08-27 16:52:53 -06:00
eb0f353716
Session-cleanup: clear route references from graph
resort_routes() is a no-op during session destruction,
however _current_route_graph can still hold references
to routes. A GraphVertex is-a boost::shared_ptr<Route>.
2021-08-27 06:42:56 +02:00
8c7f2c93f0
VST3: Ignore .vst3 dll in bundle of wrong architecture 2021-08-24 21:58:02 +02:00
fee4292bde allow negative superclock -> negative beats computation 2021-08-23 11:36:54 -06:00
1e84f217ac
VST3: clear in-place MIDI buffers #8789 2021-08-23 07:09:16 +02:00
73326ade90
Don't include i18n in headers
The i18n header needs to be included last, since it defines
`_` which results in conflicts with other headers.

see #8361 and e.g.
boost/function_types/detail/class_transform.hpp:23:26:
error: ‘boost::mpl::placeholders::_’ has not been declared
using mpl::placeholders::_;
2021-08-23 06:43:16 +02:00
Hector Martin
9b99633abe
Fix MIDI send latency compensation 2021-08-20 17:37:09 +02:00
a556e96ed0
Fix latency report for unconnected tracks
When a track's output is not connected, its alignment
can /float/. Previously it assumed the worst (compensate
for worst-case latency).

The track itself has no playback latency, so any send would
delay the 'thru' path to match the send's playback latency.
This resulted in the track reporting a non-zero latency which
is not really present, nor relevant.
2021-08-16 22:33:15 +02:00
535a6728a0 todo list text for nutempo-related tasks 2021-08-16 13:41:49 -06:00
b4b4745bd4
Amend 55211b8d (PRNG seed, use local address) 2021-08-16 04:59:10 +02:00
baf5a13f17
Update atomic/volatile compat
With glib 2.64, volatile gint produce annoying Wcast-qual
compiler warnings with mingw/gcc-8.

Even though the the build succeeds, and only glib 2.68+
requires non-volatile atomics this results in a much
cleaner build-log.
2021-08-16 04:26:55 +02:00
55211b8dd6
Update triggerbox RNG API calls 2021-08-15 16:04:08 +02:00
a3b28b4114
Move PCG RNG implementation out of header, update API 2021-08-15 16:03:01 +02:00
e4d1d82ea7
Fix rt-safe PRNG (seed once, not every call) 2021-08-15 15:24:23 +02:00
76a01bab63
Hide splash screen for new-user-wizard 2021-08-14 22:03:57 +02:00
63fbc87177 triggerbox: use new rt-safe RNG 2021-08-13 17:34:07 -06:00
10253a6ae4
Fix Windows builds, remove unnecessary srandom() calls
Since fc90c92a49 Gtkmm2ext::random_color () uses g_random_int()
which is implicitly seeded when first used.
2021-08-14 01:29:49 +02:00