Update framework

This commit is contained in:
2022-11-26 02:22:02 +01:00
parent 9a6ce1f832
commit ae057940af
508 changed files with 26011 additions and 14248 deletions

View File

@@ -0,0 +1,12 @@
// Currently unused, but eventually all the effect stuff will be moved from audio graph to here to make it easier to work on
export default class EffectBus {
constructor(context, input, output) {
this.context = context;
this.inputNode = input;
this.channelMerger = this.context.getContext().createChannelMerger(1);
this.inputNode.connect(this.channelMerger);
}
connect(node) {
this.channelMerger.connect(node);
}
}