Switching to neural pitch estimator

Remove old pitch estimator and retrain all models
This commit is contained in:
Jean-Marc Valin 2023-10-02 02:23:41 -04:00
parent da7f4c6c99
commit f0ec990dba
No known key found for this signature in database
GPG key ID: 531A52533318F00A
13 changed files with 103 additions and 137 deletions

View file

@ -5,7 +5,9 @@
typedef struct PitchDNN PitchDNN;
#include "pitchdnn_data.h"
#include "lpcnet_private.h"
#define PITCH_MIN_PERIOD 32
#define PITCH_MAX_PERIOD 256
#define NB_XCORR_FEATURES (PITCH_MAX_PERIOD-PITCH_MIN_PERIOD)
@ -21,7 +23,7 @@ typedef struct {
void pitchdnn_init(PitchDNNState *st);
int compute_pitchdnn(
float compute_pitchdnn(
PitchDNNState *st,
const float *if_features,
const float *xcorr_features