mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
testing case where receive is made before send
This commit is contained in:
parent
c4362c46f8
commit
ebd49415a6
1 changed files with 11 additions and 0 deletions
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue