Commit Graph

399 Commits

Author SHA1 Message Date
Paul Davis 2aa313eb4e triggerbox: actually fully stop trigger when explicitly requested, rather than use follow action 2021-08-30 16:32:02 -06:00
Paul Davis 13a0f74ce4 triggerbox: add more debugging 2021-08-30 16:31:35 -06:00
Paul Davis 25093af986 triggerbox: fix uninitialized variable 2021-08-30 09:13:48 -06: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
Robin Gareus 55211b8dd6
Update triggerbox RNG API calls 2021-08-15 16:04:08 +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
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 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 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 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 b0e9ad07ca use region name for trigger name 2021-08-13 12:51:37 -06:00
Paul Davis 33fed0f689 libardour: start transport when handling UI trigger requests 2021-08-13 12:51:37 -06:00
Paul Davis a82b05b49c fix paths for testing samples 2021-08-13 12:51:36 -06:00
Paul Davis 043544c059 triggerbox: continued evolution, and new test sample paths 2021-08-13 12:51:36 -06:00
Paul Davis f7c6d17ee3 Lots more changes to triggerbox implementation
Multichannel regions, on/off all quantized.
2021-08-13 12:51:36 -06:00
Paul Davis 8eed420ad4 triggerbox: lots of design changes and implementation tweaks. Gate launch style now works 2021-08-13 12:51:36 -06:00
Paul Davis 50d68a6a34 start to accumulate trigger properties
They will need to become properties eventually, I think
2021-08-13 12:51:36 -06:00
Paul Davis 2995b2a0bb super-basic working MIDI triggering for TriggerBox 2021-08-13 12:51:36 -06:00
Paul Davis 84790dff1d add state methods to TriggerBox (stubs for now) 2021-08-13 12:51:36 -06:00
Paul Davis b8e38ed777 tweak TriggerBox API 2021-08-13 12:51:36 -06:00
Paul Davis b0d422e345 fix timeline types for Triggerbox 2021-08-13 12:51:36 -06:00
Paul Davis b8a3b25dee add TriggerBox processor (extremely prototypical)
This takes some barely working ideas from the old ableton branch and turns it into a processor instead of a separate track object
2021-08-13 12:51:36 -06:00