Make pan modulatable

This commit is contained in:
Aria
2026-01-02 11:43:27 -06:00
parent 257f09da4f
commit 7b1e02e8cf
+1
View File
@@ -821,6 +821,7 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
// panning
if (fx.pan !== undefined) {
const panner = ac.createStereoPanner();
fxNodes['pan'] = [panner];
panner.pan.value = 2 * fx.pan - 1;
chain.connect(panner);
}