merging main

This commit is contained in:
Jade (Rose) Rowland 2024-03-14 22:19:45 -04:00
commit 7f9cc7cd2d
46 changed files with 442 additions and 11291 deletions

View file

@ -347,7 +347,7 @@ export const superdough = async (value, deadline, hapDuration) => {
//music programs/audio gear usually increments inputs/outputs from 1, so imitate that behavior
channels = (Array.isArray(channels) ? channels : [channels]).map((ch) => ch - 1);
gain *= velocity; // legacy fix for velocity
gain *= velocity; // velocity currently only multiplies with gain. it might do other things in the future
let toDisconnect = []; // audio nodes that will be disconnected when the source has ended
const onended = () => {
toDisconnect.forEach((n) => n?.disconnect());