Skip to content

Bug: max(0) or abs() the onset feature curve post detrending #287

Description

@tremblap

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

this line in the onset detection funcs code should be taking the abs of the value before returning

actually, some of them are rectified, in algo/util/OnsetDetectionFuncs.hpp

so we should eyeball it. If half-wave rectifying looks like it ends up losing meaningful peaks, then we should abs and vice-versa: if abs introduces what seems to be spurious peaks (harder to interpret in some cases), then half-wave it is

What was the expected result?

yes

What was the actual result?

no

What operating system were you using?

Mac

Operating system version

mac

FluCoMa Version

1.0.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions