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
bbt_time.cc
beats.cc
debug.cc
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
wscript