13
0
Commit Graph

18570 Commits

Author SHA1 Message Date
76facc0b13
Unconditionally create Triggerbox for each Track
This addresses and issue when loading old sessions or creating
tracks from [old] templates.
2022-01-14 22:46:50 +01:00
0c4769cb3f
Fix compilation when including polarity_processor.h directly 2022-01-14 22:46:50 +01:00
de9322e0d3 triggerbox: cleanup some DEBUG_TRACE statements and convert some debug output to trace statements 2022-01-14 14:39:16 -07:00
6a6a42c272 triggerbox: another important tweak for trigger behavior
This fixes another code point where we realize that there is nothing to do
within a triggerbox, but we failed to reset _stop_all to false, causing
misbehavior until the next trigger plays to completion with no subsequent
trigger.
2022-01-14 14:37:53 -07:00
8e9c4f6a67 triggerbox: fixes to get follow length to do what is intended to do
Hard to explain more concisely than the code changes, so please read.
2022-01-14 14:36:38 -07:00
787a66815d triggerbox: fix initialization warning 2022-01-14 14:35:51 -07:00
9ccaab5deb working segment descriptor save/restore/set/fetch and use by triggerbox 2022-01-14 12:22:34 -07:00
6d2a124f5e triggerbox: fix newline in debug trace output 2022-01-14 12:21:56 -07:00
de324b54b9 triggerbox: disambiguate esteimated_tempo from the actual segment_tempo 2022-01-13 23:19:01 -06:00
c159614902 restore source segment descriptors 2022-01-13 17:41:15 -07:00
b9a798ebb8 add XMLNode constructor for SegmentDescriptor 2022-01-13 17:38:40 -07:00
680a27c29d store source segment descriptors 2022-01-13 17:29:33 -07:00
e00779c57d SegmentDescriptor::get_state() can be const 2022-01-13 17:29:16 -07:00
154f406256 segment descriptor: restore state 2022-01-13 17:25:42 -07:00
bb75b03724 segment descriptor: save state 2022-01-13 16:51:55 -07:00
cf10808640 change Source segment descriptor API (and triggerbox use of it) 2022-01-13 16:00:03 -07:00
d85607bfc7 teiggerbox: fix signedness warning with cast 2022-01-13 15:59:23 -07:00
2570b43ab6 triggerbox: try to get tempo from segment descriptor, and add Meter member var 2022-01-13 15:48:44 -07:00
1994935550 source HAS-SOME SegmentDescriptors 2022-01-13 15:07:21 -07:00
25bd59958c triggerbox: fix/add save/restore of trigger _follow_length property 2022-01-13 13:30:04 -07:00
d8c90decf3 triggerbox: use follow length when quantizing re-start of Again-selected trigger
This also changes the virtual method from ::startup() to ::_startup() so that we can
safely have a default argument in ::startup().
2022-01-13 12:09:23 -07:00
98cd0f1ba3 triggerbox: fix for handling follow lengths, previously for MIDITrigger now for Audio 2022-01-13 12:07:26 -07:00
c3732e12ea fix handling of zero _follow_length in MIDI triggers 2022-01-12 21:43:40 -07:00
beb0a96f42
API to directly retrieve XML child content 2022-01-13 00:09:55 +01:00
a9d2a1c3f8 triggerbox: reset default _follow_Length to zero 2022-01-12 14:17:33 -07:00
2ed4af0c7a triggerbox: continued work on getting MIDITriggers to use _follow_length correctly 2022-01-12 14:12:20 -07:00
ac97b30e55 triggerbox: implement stretch options, save+recall 2022-01-11 16:27:03 -06:00
4d04849be9 triggerbox: continuing work on follow action length, particuarly for MIDI triggers 2022-01-11 11:48:22 -07:00
7fdc83bfbf triggerbox: disambiguate velocity_gain from the trigger's gain property 2022-01-10 19:33:05 -06:00
04bc44c7ad triggerbox: fix typo 2022-01-10 15:51:12 -07:00
e0004791f0 triggerbox: fix audio clips when _follow_length is zero 2022-01-10 15:49:07 -07:00
0c89ab82e1 triggerbox: tweaks, twirls and scrapes to get _follow_length working, apparently 2022-01-10 14:03:06 -07:00
cb83d11681 triggerbox: add new trigger state enum to enums.cc 2022-01-10 14:02:38 -07:00
dbb816b1f9 triggerbox: add "final sample" concept to start dealing with post-data playout 2022-01-10 14:02:38 -07:00
1afc0ce69c triggerbox: add follow length property to triggers (not used yet) 2022-01-10 14:02:33 -07:00
1078dc7eda
DnD-TV: Allow to specify TargetFlags 2022-01-10 20:40:46 +01:00
16511974e2
Fix class/struct mismatch C++ ABI [-Wmismatched-tags] 2022-01-10 00:06:24 +01:00
30539716ca
Fix various Wcast-qual
g_atomic_int_get() requires a non-const pointer, however
many APIs are declared virtual const, so const_cast<> is
preferred over an API change.
2022-01-10 00:06:20 +01:00
4146177da3 triggerbox: when asked to stop by the user, clips should extend to the next bar boundary (and no further) 2022-01-07 16:05:07 -06:00
c157490311 triggerbox: fix N-bar quantization: bars are 1-based 2022-01-07 16:05:07 -06:00
4e5f171fe2 triggerbox: the default quantization for a clip should be 'bars' 2022-01-07 16:05:01 -06:00
John Emmas
031dce4ba4 Minor fix to commit #45df39bd0ea from yesterday
class 'AutomatableSequence' was trying to access a member that's private to its base class
2022-01-07 10:29:31 +00:00
78b39284d8 triggerbox: workaround for midi import crash. TODO: investigate root cause 2022-01-06 21:17:54 -06:00
2f9b84fd48 triggerbox: resolve MIDI notes whenever a MIDI cue is stopped 2022-01-06 16:50:55 -07:00
caba23ff4f remove misleading/out-of-date instructions in comment 2022-01-06 14:22:07 -07:00
b909c07a2d triggerbox: fix failure of triggers to end at the right time when something happens to stop them early
nframes needed to be reduced to reflect the expected transition time. This change also consolidates any adjustment to
nframes and dest_offset for "starts within the interval" cases.
2022-01-06 13:48:23 -07:00
436b81be9a NOOP: change code pattern to return early from conditional rather than leaving body inside true condition scope 2022-01-06 12:07:22 -07:00
8bf494e5a8 change nature of CueBehavior enum to be bitwise
This allows us to OR-in the ImplicitlyIgnoreCues bits, and still toggle
FollowCues on and off to indicate user-requested behavior
2022-01-06 11:59:58 -07:00
44d52133ae triggerbox: ignore cue-marker cues if told to do so 2022-01-06 11:23:02 -07:00
85b8816287 NOOP: remove spurious character in comment 2022-01-06 11:12:49 -07:00