Skip to content

Latency reporting for novelty and onset objects may be "incorrect" #151

@AlexHarker

Description

@AlexHarker

The use of quotes relates to the fact that we would need to agree on a model of how these control data objects timings should relate to the input stream and it is possible that that model is different between me and others.

In addressing #148 I have suffered some issues regarding alignment of my results (with two objects) and the original novelty feature object:

  • The two processes do not align. There is an additional delay in the output of the novelty feature object that is equal to window_size / hop_size (so you have an additional set of outputs at the front). That tracks with the object latency reporting (and that of the comparable slicers), which does not attempt to account for the FFT window size (only returning values in multiples of the hop size - in the case of the onset objects I'm not sure I understand why that is, although I get for novelty that you are entering the kernel/filter). In both cases it is possible that there is 1 * hop_size that should really be the window size.

I am not yet 100% sure if I think that the model for latency is incorrect in these objects, but I suspect that it may be. My reading for an onset/novelty or similar is that it should be tagged at the start of the comparable window, but right now I think what will be happening is that it is reported at the end of that window. For Mel bands or mfccs the timing is set to the start of the frame. I can't easily force my results to align for consistency as I don't know the window settings by the time the data reaches my object, but it seems to me that doing mfccs externally and then doing a novelty feature should align with doing it all in one object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions