Giter Club home page Giter Club logo

speech-recognition-java-hidden-markov-model-vq-mfcc's Introduction

Java Speech Recognition using Hidden Markov Model / Vector Quantization / MFCC

Automatically exported from code.google.com/p/speech-recognition-java-hidden-markov-model-vq-mfcc

===

Accompanying project report

Main classes to look into are :

  • org.ioe.tprsa.mediator.Operations : class that demonstrates use of HMM, VQ training and testing

  • org.ioe.tprsa.ui.HMM_VQ_Speech_Recognition : GUI that allows record of voice samples per word, train the samples, test with a recorded audio or saved .wav file.

Folder conventions :
Training audio files
  • speechTrainWav\apple\apple01.wav
  • speechTrainWav\apple\apple02.wav
  • speechTrainWav\apple\apple03.wav
  • speechTrainWav\apple\apple04.wav
  • speechTrainWav\cat\cat01.wav
  • speechTrainWav\cat\cat02.wav
  • speechTrainWav\cat\cat03.wav
Vector Quantization code book :
  • models\codeBook\codebook.cbk
HMM trained models :
  • models\HMM\apple.hmm
  • models\HMM\cat.hmm
  • models\GMM\Nepal.hmm

Please feel free to use/modify the code !

For any queries :

speech-recognition-java-hidden-markov-model-vq-mfcc's People

Contributors

gtiwari333 avatar raman1121 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

speech-recognition-java-hidden-markov-model-vq-mfcc's Issues

Additional folder created on saving file.

Upon saving a recorded file in the HMM_VQ class, an additional folder is made inside of the Word folder, with the same name as the world folder. Attached is a picture when the said scenario occurs.

The issue occurs every time a file is saved, to reproduce the bug, this is the following action taken.

  1. Record a new .wav file using the Record button in the JSoundCapture Panel
  2. Proceed to change into Add Sample tab on the JTabbedPane
  3. Changing the ComboBox into the word to save the sample.
  4. A folder with the same name as the Word folder is made inside of the Word folder.

Screenshot (39)

This is an issue cause the empty folder created at the word folder causes an error when generating codebook or training the HMM.

MFCC Java implementation and Preemphasis

On file MFCC.java on line 40 and 41.
How to Work the "preEmphasis"? if the call to the method is after of the 
"magnitudeSpectrum" and "magnitudeSpectrum" return a new instance of "double[]" 
name "bin".

Sorry for my bad English.

Best Regards.
Sebastian Rasilla.


Original issue reported on code.google.com by [email protected] on 19 Apr 2013 at 1:09

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.