From 64ebfb57c3d923acf0641b8391cc48b8243eda03 Mon Sep 17 00:00:00 2001 From: "Jade (Rose) Rowland" Date: Wed, 7 May 2025 11:30:42 -0400 Subject: [PATCH] lint --- packages/superdough/superdough.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/superdough/superdough.mjs b/packages/superdough/superdough.mjs index f774ca60..ffdb577c 100644 --- a/packages/superdough/superdough.mjs +++ b/packages/superdough/superdough.mjs @@ -444,7 +444,7 @@ let activeSoundSources = new Map(); //music programs/audio gear usually increments inputs/outputs from 1, we need to subtract 1 from the input because the webaudio API channels start at 0 function mapChannelNumbers(channels) { - return (Array.isArray(channels) ? channels : [value.channels]).map((ch) => ch - 1); + return (Array.isArray(channels) ? channels : [channels]).map((ch) => ch - 1); } export const superdough = async (value, t, hapDuration) => {