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
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
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
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
bf26be71aa
move constraint packing tests out of the way
2021-08-13 17:27:20 -06:00
bbe1dbc3a0
Amend previous commit (missing brace)
2021-08-14 01:16:49 +02:00
c3de8c0b16
Fix Windows builds (missing Temporal Lua declarations)
2021-08-14 01:13:36 +02:00
fc90c92a49
Fix Windows builds (rand/random API)
2021-08-14 01:07:13 +02:00
79baf356b9
Add realtime safe random number generator
2021-08-14 01:03:37 +02:00
41796ecc14
soundtouch support is not enabled by default and currently will not compile
2021-08-13 16:19:47 -06:00
2f90425173
amend 506d0efc32
and improve; use g_random_int() instead of random()
2021-08-13 16:09:59 -06:00
506d0efc32
compilation fix for windows (random() <=> rand()
2021-08-13 16:08:17 -06:00
fe271f04c7
maybe fix a gcc error/warning
2021-08-13 16:03:36 -06:00
55025cc82a
remove some more unnecessary headers
2021-08-13 15:34:39 -06:00
2f4a623c56
remove unnecessary headers
2021-08-13 15:31:43 -06:00
0095681493
fix cast in call to time(2)
2021-08-13 14:11:41 -06:00
b3fff25d5c
Fix --maschine builds (pure virtual)
2021-08-13 21:53:18 +02:00
a563d5f0d7
triggerbox: add more framwork to looping sections and fixup issue with uninitialized variable
2021-08-13 12:51:37 -06:00
75f8b9a083
triggerbox: fix repeat launch style
2021-08-13 12:51:37 -06:00
b6de89d35c
post-rebase manual fixups (libs)
2021-08-13 12:51:37 -06:00
ec4e09c12a
triggerbox: missing setter
2021-08-13 12:51:37 -06:00
c620d3d411
triggerbox: follow action "probability"
2021-08-13 12:51:37 -06:00
4ee02182fe
triggerbox: 2 possible follow actions
2021-08-13 12:51:37 -06:00
0d104e85c1
triggerbox: get closer to Live semantics and descriptions for follow action/launch style
2021-08-13 12:51:37 -06:00
17b7e0648f
triggerbox: initial support for "reapeat" launch style.
...
Don't change it while the trigger is running!
2021-08-13 12:51:37 -06:00
bab6c5cbdd
triggbox: clean up compiler warnings
2021-08-13 12:51:37 -06:00
e9f0aeae3a
triggerbox: add start + usable length fields to address (a) repeat launch style (b) clip "editing"
2021-08-13 12:51:37 -06:00
7be493bc46
triggerbox: fixed gated trigger behavior
2021-08-13 12:51:37 -06:00
edbafd9f5b
triggerbox: more significant design clean-ups, and follow actions now work (basically)
2021-08-13 12:51:37 -06:00
147ca2108f
triggerbox: redesign around a state machine concept, and just iterating over current triggers, no queues
2021-08-13 12:51:37 -06:00
e1652811f5
triggerbox: when a trigger is done, remove it as well as change
2021-08-13 12:51:37 -06:00
1a29a58a05
NOOP: comment whitespace fix
2021-08-13 12:51:37 -06:00
58aa2026dc
fix incorrect assert
2021-08-13 12:51:37 -06:00