Open rstrobl opened 3 years ago
The offset_seconds calculation uses the DEFAULT_FS even if the fingerprinted tracks have a different framerate (e.g. 48k)
offset_seconds
nseconds = round(float(offset) / DEFAULT_FS * DEFAULT_WINDOW_SIZE * DEFAULT_OVERLAP_RATIO, 5)
Suggested solution: Store the framerate of the fingerprinted tracks in the database and use it for calculation.
The
offset_seconds
calculation uses the DEFAULT_FS even if the fingerprinted tracks have a different framerate (e.g. 48k)Suggested solution: Store the framerate of the fingerprinted tracks in the database and use it for calculation.