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

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

var params = {
  text: 'Hello from 