Skip to content
forked from hiroyam/mfcc

Calculate Mel-Frequency Cepstrum Coefficients from .wav file

Notifications You must be signed in to change notification settings

takayoshik/mfcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mfcc

Calculate Mel-Frequency Cepstrum Coefficients from .wav file

Build Status


これは何?

音色の特徴量であるメルケプストラムをwavファイルから計算するコードです。C++によるフルスクラッチです。

アルゴリズムの概要

データをロードしてノーマライズして

プリエンファシスフィルタをかける

ハニング窓をかけて

フーリエ変換して振幅スペクトルを計算する

ナイキスト周波数でカットする

メルフィルタバンクを計算して

振幅スペクトルとメルフィルタバンクの相関をとる

対数をとって

離散コサイン変換(DCT-II)でケプストラムにする

リフタリングで定常成分と高次成分を除去してMFCCを得る

About

Calculate Mel-Frequency Cepstrum Coefficients from .wav file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.2%
  • Makefile 0.8%