Audio timing
BWF timestamp offset
Compare two sample-clock timestamps with exact arithmetic across sample rates.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Compute B/rateB + dayOffset×86400 − A/rateA as a reduced rational. Multiply by the output rate; export exact, floor, ceiling and nearest sample offsets.
48000/48000 is 1 second; 88200/44100 is 2 seconds. B starts 1 second, or 48000 output samples, after A.
Limits
Enter the bext TimeReference values, not frame timecodes. Day alignment is supplied explicitly; no midnight wrap, recording date, clock synchronization, drift or frame rate is inferred. No audio is moved.