GithubHelp home page GithubHelp logo

snellingio / vmc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from umhau/vmc

0.0 3.0 0.0 12.25 MB

Voice Model Creator - using a context-specific grammar

License: MIT License

Shell 54.19% Python 45.81%

vmc's Introduction

Voice model creator for CMU Sphinx
===================================================================================================

This tool contains basic tools for creating a custom domain voice model for use with the 
PocketSphinx decoder.  It is also possible to use the voice models created by this tool as the 
basis for a test-to-speech engine.  

Note this tool has only been tested with Linux Mint 17.3 & 18.

**Please see the LICENSE file for terms of use.**

Linux/Unix installation
---------------------------------------------------------------------------------------------------

You should install dependencies first; this ensures that python-dev, PocketSphinx, etc. are 
available.  Second, install vmc.  Some of the packages need to be installed within the user's home
directory; ~/tools is recommended.  This should be specified when installing the dependencies. Full 
installation on an AMD64 computer running Mint 18 would look like this:

Commands:

    $ cd ~/Downloads
    $ git clone https://github.com/umhau/vmc.git
    $ cd ./vmc
    $ sudo bash ./installdependencies.sh ~/tools
    $ sudo bash ./installvmc.sh

See use examples in the next section.

Usage instructions
---------------------------------------------------------------------------------------------------

Example usage, recording new audio with 5 repetitions of each sentence:

    $ vmc.sh new_model -record ~/Downloads/sentences.txt ~/projects/new_model 5

Example usage, importing previously created audio files:

    $ vmc.sh ccmodel -import audio_files cc.list ~/tools/ccmodel

Note that the model name and the name of the model folder should be the same. Also note the 
repetitions specification is optional; it defaults to 1.

The model folder will contain all necessary files to run PocketSphinx with the newly created custom
voice model.

Note that dependencies are not checked when running vmc.sh.  To check dependencies, see the section
above. 

Background
---------------------------------------------------------------------------------------------------

This tools brings together a number of disparate data files that are needed for creating a voice 
model.  This graph illustrates the data process involved:

                   word domain
                        +
                        |
                        v
        +-------+ sentence list+----------+
        |               +                 |
        |               |                 |
        v               v                 v
    dictionary      grammar: LM    voice samples
        +               +                 +
        |               |                 |
        |               v                 |
        +--------> voice model <----------+
                    training
                        +
                        |
                        v
                   voice model

Each of these steps, starting with the sentence list (given) and ending with the voice model are 
contained within this tool.

vmc's People

Contributors

umhau avatar

Watchers

James Cloos avatar Sam Snelling avatar  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.