GithubHelp home page GithubHelp logo

signal_process's Introduction

class Speech:
成员变量:
  nchannels:	
	声道数
  sampleWidth:
	采样数据带宽 
  sampleRate:
	采样率
  nframes:
	总采样数据数目
  rawData:
	实际的采样数据
  totalLength:
	时间长度
  speechSegment:
        通话有声段
  frame:
	将rawData分帧后保存的list
  frameSize:
         帧的长度
  overLap:
         帧重复段的长度
  step:
	 每一帧的步长(frameSize - overLap)
  frameNum:
	 总帧数
  zcr:
         短时的过零率。计算方法中涉及一个zcrThread.
  volume:
         每一帧的音量。计算方法是10*log((每一帧的音量/最大音量)^2)
  speed:
  isBlank:
         是否为空白录音
  
  absVolume:
	音量的绝对值。计算方法是每一帧数据的绝对值和
  shortTimeEnergy:
        短时能量。 和音量的区别:音量除以最大音量,而短时能量不。
  ezr:
	energy-zero-rate
  ezm:
	energy-zero-multiplication
  pitchSeg:
        基频段。对于每一个speechSeg对应一个pitchSeg,每个pitchSeg保存着每一个元音的开始和结尾位置

成员函数:
  getSpeechSegmentByAbsVolume:
	通过音量的绝对值找到通话有声段,计算方法是根据absVolume参数,通过双门限法(minLen,minSilence)
        得到有声段的区域,保存在speechFrame成员变量中
  energyZeroCount:
        能量-过零率比。 
  getFramePitch:
	

signal_process's People

Contributors

willsongrui avatar

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.