Skip to content

OnsetSlice Metrics 0 & 1 don't compare frames? #221

@tedmoore

Description

@tedmoore

Perhaps I'm missing something here, but it looks like these two metrics in OnsetSlice don't compare frames, as they don't take in (or use) a Ref to prev as the others do (some others also use a prevprev when the measurement requires it). It looks like they just compute the value for a single frame and return that.

Thoughts:

  • Are these helper functions that compute the needed feature for a single frame and the comparison happens elsewhere? I couldn't find where.
  • Are these metrics not intended to compare magnitudes of different frames, but are meant to compute a single feature value for each frame and see if each frame is above the raw threshold?

https://github.com/flucoma/flucoma-core/blob/e3cadeb8382e9e473f3b5f94a2f3a0c93fa082a7/include/flucoma/algorithms/util/OnsetDetectionFuncs.hpp#L40-L50

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