message: adding portamento test
diff: -define(["Tone/instrument/Synth", "helper/Basic", "helper/InstrumentTests", "helper/APITest"],
  - function (Synth, Basic, InstrumentTest, APITest) {
  +define(["Tone/instrument/Synth", "helper/Basic", "helper/InstrumentTests", "helper/APITest", "helper/Offline"],
  + function (Synth, Basic, InstrumentTest, APITest, Offline) {
  describe("Synth", function(){
  @@ -46,5 +46,26 @@ define(["Tone/instrument/Synth", "helper/Basic", "helper/InstrumentTests", "help
  APITest.method(Synth, "triggerAttackRelease", ["Frequency", "Time=", "Time=", "NormalRange="]);
  });
  +
  + context("Portamento", function(){
  + it ("can play notes with a portamento", function(){
  + return Offline(function(){
  + var synth = new Synth({
  + "portamento" : 0.1
  + });
  + expect(synth.portamento).to.equal(0.1);
  + synth.frequency.toMaster();
  + synth.triggerAttack(880, 0);
  + }, 0.2).then(function(buffer){
  + buffer.forEach(function(val, time){
  + if (time < 0.1){
  + expect(val).to.not.equal(880);
  + } else {
  + expect(val).to.be.closeTo(880, 1);
  + }
  + });
  + });
  + });
  + });
  });
  });
  \ No newline at end of file
  