Skip to content

Pitch Detector documentation/example? #19

@lucasburkholder

Description

@lucasburkholder

Huge fan of this library. I just am a little confused about how to use the tPeriodDetection and tDualPitchDetector modules. tPeriodDetection_init() and tDualPitchDetector_init() both take in an input buffer and buffer size arguments, and tPeriodDetection_init() also takes in a separate frame size argument that is confusing me a little as well.

What are these used for, and how can I determine the right sizes for these arguments and buffers? The comments for tPeriodDetection don't seem to say anything, and this documentation doesn't include the tPeriodDetection_init() function. I assume these arguments don't refer to actual buffers of audio that get passed into the object, since tPerioDetection_tick() just takes in a single input sample, right?

Let me know if there are any examples or documentation somewhere that I'm missing. Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions