An toolbox for audio processing in Matlab,the verison of Matlab is R2016a.
The audio sample in this toobox is 8000Hz, 16 bits.
-
getAudioFingerprinter calcuates the difference of the energy of each frequency sub-band as shown below.
-
Specifically, the extraction process including the following steps:
- divide audio into frames, the overlap length is alterable
- do fft for each frame
- divide frequency spectrum into 32 frequency sub bands
- calcuate the energy of each sub band
- calcuate audio fingerprinter as follow
- getZCR calcuates the zero-crossing rate which can be used to predict the frequency roughly.
- Specifically, the extraction process including the following steps:
- divide audio into frames
- calcuate zcr of each frame using the following equation
where sgn(x) is given by
-
getLandmarks calcuates the max-enegry points(also called landmark) in the frequency spectrum.
-
Specifically, the extraction process including the following steps:
- divide audio into frames, the overlap length is alterable
- do fft for each frame
- calcuate the energy of frequency
- calcuate the local maximum as landmark
-
getEnergy calcuates the short-time energy.
-
Specifically, the extraction process including the following steps:
1.divide audio into frames, the overlap length is alterable
2.calcuate the energy using the following equation:
- getSpecgram calcuates the spectgram.
- Specifically, the extraction process including the following steps:
- divide signal into frames in time domain
- do fft of each frame
- getLMSPredictor trains least mean square(LMS) adaptive predictor.