Giter Club home page Giter Club logo

kaldi_feature's Introduction

kaldi_feature (static lib)

kaldi feature module from kaldi toolkit

说明:

  • 本模块从kaldi中提取,不需要任何外部依赖,不同于kaldi-io,需要指定数学库路径
  • 对原始的kaldi读取wave语音和scp,ark格式进行了提取,可以直接读取wave语音,特征数据写为二进制格式文件
  • 数学库采用mkl
  • 采用静态库方便不同机器上进行拷贝和使用

注意:

  • 由于libmkl_core.a 文件太大,超过GitHub 单个文件100M的限制,需要安装git-lfs,

编译:

  • requirements:
    • cmake >= 2.8
  • compile:
    cd kaldi_feaure
    mkdir build && cd build
    cmake ..
    make
    
  • after compile:
    • build/libkaldi_featue.a
    • bin subdirs
  • usage:
    • extract mfcc 提取MFCC特征
      • ./build/bin/compute_mfcc wavefile
    • extract fbank-> cmvn -> vad 提取fbank特征并进行CMNV和vad操作
      • ./build/bin/compute_fbank_cmvn_vad wavefile outfile
    • vad 对音频进行vad去除静音并输出非静音段
      • ./build/bin/kaldi_vad_tool wavpath outwavpath
    • 对长语音段进行切分,切分为指定长度(切分根据vad,在静音段段处进行切分)
      • ./build/bin/kaldi_split wavpath length outwavdir

kaldi_feature's People

Contributors

ziyu123 avatar

Stargazers

yssongest avatar kukum avatar  avatar Wayne avatar

Watchers

 avatar

kaldi_feature's Issues

得到的二进制文件格式

您好,我使用compute-fbank-vad 后存储二进制文件为ark文件,
但使用kaldi_io.read_mat读这个ark文件时报错,请问是什么情况?

cmake..编译问题

你好,我在将代码clone下,以及将所需要的函数库放入lib中,在cmake..的时候,提示unitbin没有,不知道这是什么文件呢

依赖库问题

你好,请问有没有小些的数学库供选择呢(或者VS中通用的数学库对应替换),我想将kaldi特征提取部分单独领出来使用(任意平台,比如window,DSP),但是对kaldi的相互调用有些生疏,大佬可否加你个联系方式沟通学习一下呢

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.