mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-29 04:53:10 +00:00
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
|
define(["Tone/signal/Signal", "Tone/component/Merge"], function(Signal, Merge) {
|
||
|
return function(l, r){
|
||
|
var merge = new Merge();
|
||
|
var left = new Signal(l).connect(merge, 0, 0);
|
||
|
var right = new Signal(r).connect(merge, 0, 1);
|
||
|
return merge;
|
||
|
};
|
||
|
});
|