ze(params).pipe(fs.createWriteStream('output.wav'));</code></pre><h3>Tone Analyzer</h3><p>Use the <a href="http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/tone-analyzer.html">Tone Analyzer</a> service to analyze the
emotion, writing and social tones of a text.</p>
<pre class="prettyprint source lang-js"><code>var watson = require('watson-developer-cloud');

var tone_analyzer = watson.tone_analyzer({
  username: '&lt;username>',
  password: '&lt;password>',
  version: 'v3-beta',
  version_dat