A. Pre-emphasis
B. Hamming Window
C. Feature Extraction
D. Training
E. Test
1. smoothing filter
2. remove silence
1. pitch
split Voice and Unvoice
(we use Voice Only)
2. MFCC
13 first MFCC coefficient
1. standardize
2. KNN algorithm
use makeNewClassifier.m
trainedClassifier is in "func" folder already; Use 'makeNewClassifier.m' if you need train new classifier.
notice: extract trainFiles.zip in order to use for training
use CheckAudio.m
The steps above are roughly taken from this MATLAB page.
upload "/arduino/door/door.ino" to the Arduino board
use CheckAudioA.m