Skip to content

Syncing with anchors #44

@stefan-balke

Description

@stefan-balke

Hi there,

I am currently syncing with anchors and have here and there errors.
This thread will be a collection of "problems" I encountered.
Maybe we can use this then as a basis to improve the codebase.

  • __check_anchor_pairs could be run for all anchors in advance, at the moment it makes a test for each pair, i.e., you sync runs for a while and breaks then...often near the end :-) (it is called before but somehow the loop runs until it breaks...numba involved?)
  • same function if a1 > f_len1 / feature_rate or a2 > f_len2 / feature_rate: break in two cases, also the error message should not say audio files since both sequences can come from "anything" (e.g., score)
  • explanation of leaving out the (0, 0), (-1, -1) could use some makeover, also it says audio here

To be continued while I work with it.

I guess a running example with anchor points could help.

Steps could be:

  • DTW
  • DTW + Start-End-Times
  • DTW + Anchors
  • DTW + Anchors + linear_inp_ind (basically degenerating to region-wise linear sync)

Best
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions