13
0
livetrax/libs/temporal
Robin Gareus 2de84c97d0
Fix Temporal::Range::squish reduced to samples
Loop Location start="a1665678660" end="b145920"
Loop-end (at 122BPM) is a2109859636
at 48kHz this is sample 1794098.32

Now play the loop and play sample 1794098 = a2109859248
Range::squish start: a1665678660 end: a2109859636 squish: a2109859248

squish() does nothing, since there are still 388 superclock-ticks
until the end of the loop.

However, DiskReader::get_midi_playback convertes the value back
to samples(), this leads to effective_start == loop_end;
resulting in an endless loop.

Thanks to MikeLupe to provide a session to reproduce this issue.
2022-07-15 19:54:21 +02:00
..
MSVCtemporal
temporal Fix Temporal::Range::squish reduced to samples 2022-07-15 19:54:21 +02:00
test convert internal implementation of Temporal::Beats to just use a 64 bit tick value 2022-06-21 12:26:54 -06:00
bbt_time.cc miscellaneous fixes for warnings from -Wconversion 2022-07-04 22:01:48 -06:00
beats.cc Fix Beats::rount_to.. Bar rounding 2022-03-04 19:41:25 +01:00
debug.cc temporal: add new debug bit for debug tracing just TempoMap::reset_starting_at() 2022-05-13 19:05:13 -06:00
enums.cc libtemporal: add operator<<() for ratio_t 2021-08-13 12:51:32 -06:00
range.cc Remove Range::squish debug information, used fixed modulo operation 2022-06-30 01:07:32 +02:00
superclock.cc superclock_ticks_per_second: use an (inline) accessor, change value 2022-03-17 14:15:59 -06:00
tempo.cc fix unused variable warning by removing it. 2022-06-22 13:31:08 -06:00
test.cc basic work on a Tempo object that avoids (almost) all floating point arithmetic 2021-08-13 12:51:28 -06:00
test2.cc tweak test code to check int62_t::min and flag bit 2021-08-13 12:51:30 -06:00
time.cc
timeline.cc Fix timecnt_t modulo operation when mixing time-domains 2022-06-30 01:07:32 +02:00
wscript wscript: remove trailing whitespace 2022-04-09 12:16:37 +02:00