13
0
livetrax/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
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
beats.cc
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
range.cc Debug loop range squishing 2022-06-28 03:01:41 +02:00
superclock.cc
tempo.cc fix unused variable warning by removing it. 2022-06-22 13:31:08 -06:00
test2.cc
test.cc
time.cc
timeline.cc temporal: fix bug introduced in 48f4f9bf9c 2022-05-28 12:59:35 -06:00
wscript