This commit is contained in:
Jade (Rose) Rowland 2025-09-21 23:54:04 -04:00
parent 98b7003504
commit c5bd2a7487
5 changed files with 238 additions and 175 deletions

View file

@ -10,6 +10,13 @@ export function gainNode(value) {
return node;
}
export function effectSend(input, effect, wet) {
const send = gainNode(wet);
input.connect(send);
send.connect(effect);
return send;
}
const getSlope = (y1, y2, x1, x2) => {
const denom = x2 - x1;
if (denom === 0) {