commit d9cdb0d327e72443c5c2282550ed097f78f7805a parent b49a6bc32f432d7e7c9bf1db7fc0a87a7a887c1b Author: umhau <umhau@users.noreply.github.com> Date: Tue, 1 Nov 2016 19:09:03 -0400 Delete acousticfiles.sh Diffstat:
| D | acousticfiles.sh | | | 37 | ------------------------------------- |
1 file changed, 0 insertions(+), 37 deletions(-)
diff --git a/acousticfiles.sh b/acousticfiles.sh @@ -1,37 +0,0 @@ -#!/bin/bash -# -# DESCRIPTION -# -# Produce acoustic feature files from user-supplied voice recordings. These are stored with -# the associated audio files, and named similarly with an .mfc extension. -# -# USAGE -# -# bash acousticfiles.sh /audio/folder/path /path/to/model-name.fileids -# -# EXAMPLE -# -# bash /opt/vmc/functions/acousticfiles.sh ~/audio ~/audio/newmodel.fileids -# -# DEPENDENCIES -# -# CMU Sphinx -# - -# VARIABLES DEFINITIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -folderpath=${1%/} - -fid_filepath=$2 # filename format: model-name.fileids - - -# FUNCTIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# generate some acoustic feature files -echo "Generating acoustic feature files..." -cd $folderpath # sphinx_fe likes to have a consistent working directory -sphinx_fe -argfile /opt/vmc/tools/en-us/feat.params -samprate 16000 -c $fid_filepath -di . -do . -ei wav -eo mfc -mswav yes &> /dev/null - - - -