Commit Graph

18044 Commits

Author SHA1 Message Date
Robin Gareus b4b4745bd4
Amend 55211b8d (PRNG seed, use local address) 2021-08-16 04:59:10 +02:00
Robin Gareus 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
Robin Gareus 55211b8dd6
Update triggerbox RNG API calls 2021-08-15 16:04:08 +02:00
Robin Gareus a3b28b4114
Move PCG RNG implementation out of header, update API 2021-08-15 16:03:01 +02:00
Robin Gareus e4d1d82ea7
Fix rt-safe PRNG (seed once, not every call) 2021-08-15 15:24:23 +02:00
Paul Davis 63fbc87177 triggerbox: use new rt-safe RNG 2021-08-13 17:34:07 -06:00
Robin Gareus 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
Paul Davis bf26be71aa move constraint packing tests out of the way 2021-08-13 17:27:20 -06:00
Robin Gareus bbe1dbc3a0
Amend previous commit (missing brace) 2021-08-14 01:16:49 +02:00
Robin Gareus c3de8c0b16
Fix Windows builds (missing Temporal Lua declarations) 2021-08-14 01:13:36 +02:00
Robin Gareus fc90c92a49
Fix Windows builds (rand/random API) 2021-08-14 01:07:13 +02:00
Robin Gareus 79baf356b9
Add realtime safe random number generator 2021-08-14 01:03:37 +02:00
Paul Davis 41796ecc14 soundtouch support is not enabled by default and currently will not compile 2021-08-13 16:19:47 -06:00
Paul Davis 2f90425173 amend 506d0efc32 and improve; use g_random_int() instead of random() 2021-08-13 16:09:59 -06:00
Paul Davis 506d0efc32 compilation fix for windows (random() <=> rand() 2021-08-13 16:08:17 -06:00
Paul Davis fe271f04c7 maybe fix a gcc error/warning 2021-08-13 16:03:36 -06:00
Paul Davis 55025cc82a remove some more unnecessary headers 2021-08-13 15:34:39 -06:00
Paul Davis 2f4a623c56 remove unnecessary headers 2021-08-13 15:31:43 -06:00
Paul Davis 0095681493 fix cast in call to time(2) 2021-08-13 14:11:41 -06:00
Robin Gareus b3fff25d5c
Fix --maschine builds (pure virtual) 2021-08-13 21:53:18 +02:00
Paul Davis a563d5f0d7 triggerbox: add more framwork to looping sections and fixup issue with uninitialized variable 2021-08-13 12:51:37 -06:00
Paul Davis 75f8b9a083 triggerbox: fix repeat launch style 2021-08-13 12:51:37 -06:00
Paul Davis b6de89d35c post-rebase manual fixups (libs) 2021-08-13 12:51:37 -06:00
Paul Davis ec4e09c12a triggerbox: missing setter 2021-08-13 12:51:37 -06:00
Paul Davis c620d3d411 triggerbox: follow action "probability" 2021-08-13 12:51:37 -06:00
Paul Davis 4ee02182fe triggerbox: 2 possible follow actions 2021-08-13 12:51:37 -06:00
Paul Davis 0d104e85c1 triggerbox: get closer to Live semantics and descriptions for follow action/launch style 2021-08-13 12:51:37 -06:00
Paul Davis 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
Paul Davis bab6c5cbdd triggbox: clean up compiler warnings 2021-08-13 12:51:37 -06:00
Paul Davis e9f0aeae3a triggerbox: add start + usable length fields to address (a) repeat launch style (b) clip "editing" 2021-08-13 12:51:37 -06:00
Paul Davis 7be493bc46 triggerbox: fixed gated trigger behavior 2021-08-13 12:51:37 -06:00
Paul Davis edbafd9f5b triggerbox: more significant design clean-ups, and follow actions now work (basically) 2021-08-13 12:51:37 -06:00
Paul Davis 147ca2108f triggerbox: redesign around a state machine concept, and just iterating over current triggers, no queues 2021-08-13 12:51:37 -06:00
Paul Davis e1652811f5 triggerbox: when a trigger is done, remove it as well as change 2021-08-13 12:51:37 -06:00
Paul Davis 1a29a58a05 NOOP: comment whitespace fix 2021-08-13 12:51:37 -06:00
Paul Davis 58aa2026dc fix incorrect assert 2021-08-13 12:51:37 -06:00
Paul Davis b98c22dbba triggerbox: emit prop change for running 2021-08-13 12:51:37 -06:00
Paul Davis 7ac80607ea triggerbox: add a useful property 2021-08-13 12:51:37 -06:00
Paul Davis b76744d28d triggerbox: better handling of clip end, and some code cleanup 2021-08-13 12:51:37 -06:00
Paul Davis 029231b8ef triggerbox: further steps to seamless looped clips, and tiny beginnings for follow actions 2021-08-13 12:51:37 -06:00
Paul Davis 7458f47bb7 triggerbox: fix stretching and redesign to try to prevent clicks when looping clips set to launch in "Loop" mode 2021-08-13 12:51:37 -06:00
Paul Davis d2b2b73c82 canvas; provide Rectangle::{height,width}() 2021-08-13 12:51:37 -06:00
Paul Davis 5ac3d2c581 triggerbox: we're doing offline RB processing, not realtime 2021-08-13 12:51:37 -06:00
Paul Davis 44176aa2e4 triggerbox: add RubberBandStretcher for static stretch of regions in slots 2021-08-13 12:51:37 -06:00
Paul Davis a8f32b28e1 triggerbox: start using PBD::Property stuff to be able to signal property changes 2021-08-13 12:51:37 -06:00
Paul Davis 28e4e36b00 triggerbox: somewhat more sane behavior at sample end 2021-08-13 12:51:37 -06:00
Paul Davis 724087f3fd triggerbox: drop autoamtic sample load for testing, allowing others to start trying it 2021-08-13 12:51:37 -06:00
Paul Davis d0e9b5d66d triggerbox: tweaks, redesigns etc. to get more functionality 2021-08-13 12:51:37 -06:00
Paul Davis a5ffed49cc triggerbox: regions get set after construction; provide ::set_from_path() 2021-08-13 12:51:37 -06:00
Paul Davis 0296b0b0cb canvas: don't call ::size_allocate() for children unless there is just one child and it is "layout sensitive
the dumb/Item version of ::size_allocate_children() doesn't do anything but give its full allocation to children, and if there
was more than one child, this could not be done in a "dumb" way. Likewise, if the sole child is not layout sensitive, it
doesn't care about size allocation
2021-08-13 12:51:37 -06:00