From 1c868ec33438e9ffd496c927c81b510e02015d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=9D=CE=B1=CF=81=CE=BF=CF=85=CF=83=CE=AD=C2=B7=CE=BC?= =?UTF-8?q?=C2=B7=CE=B3=CE=B9=CE=BF=CF=85=CE=BC=CE=B5=CE=BC=CE=AF=C2=B7?= =?UTF-8?q?=CE=A7=CE=B9=CE=BD=CE=B1=CE=BA=CE=AC=CE=BD=CE=BD=CE=B1?= <40709280+NaruseMioShirakana@users.noreply.github.com> Date: Fri, 7 Apr 2023 23:50:04 +0800 Subject: [PATCH] Update inferPreprocess.hpp --- inference/inferPreprocess.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inference/inferPreprocess.hpp b/inference/inferPreprocess.hpp index faa6fe3..3147ee7 100644 --- a/inference/inferPreprocess.hpp +++ b/inference/inferPreprocess.hpp @@ -29,6 +29,8 @@ public: void InterPf0(int64_t len); long long* f0Log(); int64_t getLen()const { return f0Len; } + std::vector 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) }; } +