Update inferPreprocess.hpp

This commit is contained in:
Ναρουσέ·μ·γιουμεμί·Χινακάννα 2023-04-07 23:50:04 +08:00 committed by GitHub
parent 49bebf7f43
commit 1c868ec334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,8 @@ public:
void InterPf0(int64_t len);
long long* f0Log();
int64_t getLen()const { return f0Len; }
std::vector<long long> GetF0AndOtherInput(const double* audio, int64_t audioLen, int64_t hubLen, int64_t tran);
private:
double* rf0 = nullptr;
int64_t f0Len = 0;
@ -155,3 +157,4 @@ inline SliceResult SliceWav(Wav& input, double threshold, unsigned long minLen,
}
return { std::move(output),std::move(tag) };
}