message: returning to old test style
diff: @@ -232,31 +232,31 @@ define(["helper/Basic", "Tone/source/Player", "helper/Offline",
  it("can seek to a position at the given time", function(){
  return Offline(function(){
  - //make a ramp between 0-1
  - var ramp = new Float32Array(Math.floor(44100));
  + var ramp = new Float32Array(Math.floor(44100 * 0.3));
  for (var i = 0; i < ramp.length; i++){
  - ramp[i] = (i / (ramp.length));
  + ramp[i] = (i / (ramp.length)) * 0.3;
  }
  var buff = new Buffer().fromArray(ramp);
  var player = new Player(buff).toMaster();
  player.start(0);
  player.seek(0.2, 0.1);
  }, 0.3).then(function(buffer){
  - buffer.forEach(function(sample){
  + buffer.forEach(function(sample, time){
  + if (time < 0.1){
  expect(sample).to.be.within(0, 0.1);
  - }, 0, 0.09);
  - buffer.forEach(function(sample){
  + } else if (time > 0.1 && time < 0.2){
  expect(sample).to.be.within(0.2, 0.3);
  - }, 0.11, 0.2);
  + }
  + });
  });
  });
  it ("correctly compensates if the offset is greater than the loopEnd", function(){
  return Offline(function(){
  //make a ramp between 0-1
  - var ramp = new Float32Array(Math.floor(44100));
  + var ramp = new Float32Array(Math.floor(44100 * 0.3));
  for (var i = 0; i < ramp.length; i++){
  - ramp[i] = (i / (ramp.length));
  + ramp[i] = (i / (ramp.length)) * 0.3;
  }
  var buff = new Buffer().fromArray(ramp);
  var player = new Player(buff).toMaster();
  @@ -265,12 +265,13 @@ define(["helper/Basic", "Tone/source/Player", "helper/Offline",
  player.loop = true;
  player.start(0, 0.35);
  }, 0.3).then(function(buffer){
  - buffer.forEach(function(sample){
  + buffer.forEach(function(sample, time){
  + if (time < 0.05){
  expect(sample).to.be.within(0.15, 0.2);
  - }, 0, 0.04);
  - buffer.forEach(function(sample){
  + } else if (time > 0.05 && time < 0.1){
  expect(sample).to.be.within(0.1, 0.15);
  - }, 0.06, 0.09);
  + }
  + });
  });
  });
  