Giter Club home page Giter Club logo

mfcc-dtw's Issues

同样单词,不同两个人的录音,比较出来的分值是1000+

你好,最近在研究你写的这个项目,因为也是初学者,所以很多地方也不明白。先是把工程搭建起来,直接用同一个单词,两个不同人念的wav文件进行比较,结果比较出来的分值是1000+了,所以就很奇怪。但是看到工程里有些参数设置,也不知道具体怎么调整,我的音频文件是:wav格式。 16K采样率, 16位深。单声道。 如果可以的话,希望能加我QQ(124042540)指点一下,想把这个项目代码用在项目中

There are 2 minute errors in the WaveFunction.c and main.c

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.

collect2: error: ld returned 1 exit status

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.