此模板采用25个滤波器
linzecong / mfcc-dtw Goto Github PK
View Code? Open in Web Editor NEWSimple MFCC extractor and an speech recognition algorithm (Dynamic Time Warping)
Simple MFCC extractor and an speech recognition algorithm (Dynamic Time Warping)
在main.cpp里将每帧采样数调整为400后输出的mfcc数组都显示nan
不知是否是算法问题还是存在溢出?
clone到本地,启动“g++ main.cpp -o output -lstdc++”报错如下:
/tmp/ccjS9i7I.o:在函数‘main’中:
main.cpp:(.text+0x45):对‘WaveFunction::WaveFunction(int, int)’未定义的引用
main.cpp:(.text+0x8a):对‘WaveFunction::getMFCCs(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)’未定义的引用
main.cpp:(.text+0xe0):对‘WaveFunction::getMFCCs(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)’未定义的引用
main.cpp:(.text+0x131):对‘WaveFunction::addOrderDifference(std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > >)’未定义的引用
main.cpp:(.text+0x1a1):对‘WaveFunction::addOrderDifference(std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > >)’未定义的引用
main.cpp:(.text+0x21e):对‘WaveFunction::ComputeDTW(std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > >, std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > >)’未定义的引用
collect2: error: ld returned 1 exit status
DTW那个步骤,为什么循环的长度只有5?
1
In the body of the addOrderDifference
function you have defined
vector<vector<float>> addOrderDifference(vector<vector<float> > mfccs){
// ...
}
This causes an error when compiling the project:
Following code solves it ( By adding WaveFunction:: to name of function)
vector<vector<float>> WaveFunction::addOrderDifference(vector<vector<float> > mfccs){
// Code
}
2
in main.c change the first line
#include"wavefunction.h"
to
#include"WaveFunction.h"
Thats all.
你好,最近在研究你写的这个项目,因为也是初学者,所以很多地方也不明白。先是把工程搭建起来,直接用同一个单词,两个不同人念的wav文件进行比较,结果比较出来的分值是1000+了,所以就很奇怪。但是看到工程里有些参数设置,也不知道具体怎么调整,我的音频文件是:wav格式。 16K采样率, 16位深。单声道。 如果可以的话,希望能加我QQ(124042540)指点一下,想把这个项目代码用在项目中
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.