title: Getting WAV file transcription to work with Sphinx4
body: <p>I've got <a href="http://cmusphinx.sourceforge.net/sphinx4/" rel="nofollow noreferrer">Sphinx-4</a> installed on my windows XP system and JSAPI set up.  I'd like to transcribe an English spoken WAV (or MP3) file to text.</p>
  <p>When I run the <a href="http://cmusphinx.sourceforge.net/sphinx4/src/apps/edu/cmu/sphinx/demo/wavfile/README.html" rel="nofollow noreferrer">&quot;WavFile&quot; demo</a> - it runs successfully.</p>
  <pre><code>java -jar WavFile.jar
  </code></pre>
  <p>But, when I pass my own wav file like this:</p>
  <pre><code>java -jar WavFile.jar c:\test.wav
  </code></pre>
  <p>I get:</p>
  <blockquote>
  <p>Loading Recognizer as defined in 'jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/config.xml'...</p>
  <p>Decoding jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/12345.wav
  Result: one two three four five</p>
  </blockquote>
  <p>It seems this demo is setup to load and run an internal wav file (&quot;12345.wav&quot;) or something.</p>
  <p>I've read the docs and just can't figure how to setup the &quot;config.xml&quot; or even what directory to place it in.  I'm just trying to get a simple proof of concept running using the standard demos.</p>
  <p>So, the question is:  how do I run a Sphinx4 program to transcribe a wav file?</p>
  <p>Thanks.</p>