Skip to content

Sample Rate of AutomaticVocalPitchCorrection is out of sync with the AudioContext. #48

@weepy

Description

@weepy

In my local version and also the web demo - in the worklet's samplerate is different from the effect:

 this.effect = new this.Superpowered.AutomaticVocalPitchCorrection(      
      this.samplerate // 44100
 );
this.effect.samplerate // 48000

I notice there's a commented out line:

// Ensure the samplerate is in sync on every audio processing callback
// this.effect.samplerate = this.samplerate;

Uncommenting this seems to make it work OK.

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