testing case where receive is made before send

This commit is contained in:
Yotam Mann 2017-05-01 14:35:30 -04:00
parent c4362c46f8
commit ebd49415a6

View file

@ -17,6 +17,17 @@ define(["Test", "Tone/core/Bus", "Tone/core/Tone", "helper/Offline",
send.send("test");
recv.receive("test");
});
});
it ("can create the recieve before the send", function(){
return PassAudio(function(input){
//make them pass through nodes
var send = new Gain();
var recv = new Gain().toMaster();
input.connect(send);
recv.receive("test");
send.send("test");
});
});
it ("passes audio from a send to a receive at the given level", function(){