he <a href="http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/speech-to-text/">Speech to Text</a> service to recognize the text from a
.wav file.</p>
<pre class="prettyprint source lang-javascript"><code>var watson = require('watson-developer-cloud');
var fs = require('fs');

var speech_to_text = watson.speech_to_text({
  username: '&lt;username>',
  password: '&lt;password>',
  version: 'v1'
});

var params = {
  // From file
  audio: fs.createReadStream('./resources/speech.wav'),
  conte