Step 4 - Coding the Data

Create Codetrain.scp

1. Create a new directory called 'mfcc' in your 'voxforge/test' folder.

2. Create a codetrain.scp script in your 'voxforge/test' folder containing the following information:

codetrain.scpcodetrain.scp

This is an HTK a file containing a list of each audio file you created and the name and location of the MFCC file (special HTK audio format) it will be converted to.  See Step 5 of the Tutorial for further details.

Config file

3. Create a file called wav_config in your 'voxforge/test' folder and add the following:

SOURCEFORMAT = WAV
TARGETKIND = MFCC_0_D
TARGETRATE = 100000.0
SAVECOMPRESSED = T
SAVEWITHCRC = T
WINDOWSIZE = 250000.0
USEHAMMING = T
PREEMCOEF = 0.97
NUMCHANS = 26
CEPLIFTER = 22
NUMCEPS = 12

Command

4. Then execute the HTK HCopy command from your 'voxforge/adapt' directory as follows:

$HCopy -A -D -T 1 -C wav_config -S codetrain.scp


Comments

Click the 'Add' link to add a comment to this page.

Note: You need to be logged in to add a comment!

Search

By Filipp Korkmazsky - 3/24/2017 - 217 Replies

                                 Dear  friends,

I have to convert  .wav file to .mfc file on my PC. How to do this? Could you provide corresponding  configuration file? My email address is

korkmazskiy@yahoo.com

 

Filipp,PhD.

By colbec - 3/4/2008 - 247 Replies

Should that be 'voxforge/test' and not 'voxforge/adapt' in step 4?

The way I came at the tutorial by the time I reached this stage I did not have an adapt directory. I substituted test directory and it worked fine.