Timbre 2

HTML

<script src="http://mohayonao.github.io/timbre.js/timbre.dev.js"></script>
<input type="button" value="pause!" onClick="T.pause();"/>

JavaScript

// via
// http://mohayonao.github.io/timbre.js/GettingStarted.html

  var sine1 = T("pan", {pos:T("param", {value:-1})}, T("sin", {freq:440, mul:0.2}));
  var sine2 = T("sin", {freq:660, mul:0.2});
  
var synth = T("+", {sine1, sine2}).play();