From cfe22850e2a62071fca0fbdc15bb6e95ca555490 Mon Sep 17 00:00:00 2001
From: yufan-aslp <379840315@qq.com>
Date: 星期二, 25 四月 2023 15:42:03 +0800
Subject: [PATCH] update mfcc infer.sh

---
 funasr/runtime/onnxruntime/src/FeatureExtract.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/FeatureExtract.h b/funasr/runtime/onnxruntime/src/FeatureExtract.h
index c5931d0..8296253 100644
--- a/funasr/runtime/onnxruntime/src/FeatureExtract.h
+++ b/funasr/runtime/onnxruntime/src/FeatureExtract.h
@@ -14,6 +14,9 @@
     SpeechWrap speech;
     FeatureQueue fqueue;
     int mode;
+    int fft_size = 512;
+    int window_size = 400;
+    int window_shift = 160;
 
     //void fftw_init();
     void melspect(float *din, float *dout);

--
Gitblit v1.9.1