MCPcopy
hub / github.com/stemdeckapp/stemdeck / laneActive

Function laneActive

static/mobile/app.js:133–137  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

131 return Object.values(state.solo).some(Boolean);
132}
133function laneActive(name) {
134 const muted = !!state.muted[name];
135 const soloed = !!state.solo[name];
136 return !(muted || (anySolo() && !soloed));
137}
138function effectiveGain(name) {
139 return laneActive(name) ? (state.vols[name] ?? 1) : 0;
140}

Callers 3

effectiveGainFunction · 0.85
stemsBodyFunction · 0.85
setFunction · 0.85

Calls 1

anySoloFunction · 0.85

Tested by

no test coverage detected