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

Function applyMix

static/mobile/app.js:141–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 return laneActive(name) ? (state.vols[name] ?? 1) : 0;
140}
141function applyMix() {
142 if (!engine) return;
143 for (const l of lanes()) engine.setGain(l.name, effectiveGain(l.name));
144}
145
146function cap(s) {
147 return s ? s.charAt(0).toUpperCase() + s.slice(1) : s;

Callers 2

openTrackFunction · 0.70
app.jsFile · 0.70

Calls 2

lanesFunction · 0.85
effectiveGainFunction · 0.85

Tested by

no test coverage detected