mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 20:13:07 +00:00
ed71d8141b
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
import Signal from "Tone/signal/Signal";
|
|
import Merge from "Tone/component/Merge";
|
|
export default 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;
|
|
}
|
|
|