ardour/libs/temporal
Robin Gareus ee350362d3
Debug loop range squishing
When the loop-range is defined in BeatTime, the disk-reader encounters
rounding issues due to time-domain mismatches.

With a simple session fixed BPM at 120,  48kHz.
looping 1 bar exactly 2 sec at the start of the session:
```
 Range::squish start: b0 end: b7680 squish: a113554560
 Range::squish using modulo:       b45 = a661500
 Range::squish using modulo in TD: a5760
 Range::squish using earlier():    a658560
```
The correct answer is a113554560 - 2 * 56448000 [SC/sec] = a658560

Calculating the modulo iteratively is not great, however usually
only one iteration is required.
2022-06-28 03:01:41 +02:00
..
MSVCtemporal Further change needed for 'libtemporal' 2020-05-29 12:28:13 +01:00
temporal Debug loop range squishing 2022-06-28 03:01:41 +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 temporal: fix error in operator>> for BBT_offset 2021-08-31 22:33:33 -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 Debug loop range squishing 2022-06-28 03:01:41 +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 Fix remaining doxygen warnings (!) 2019-09-30 21:03:29 +02:00
timeline.cc temporal: fix bug introduced in 48f4f9bf9c 2022-05-28 12:59:35 -06:00
wscript wscript: remove trailing whitespace 2022-04-09 12:16:37 +02:00