MCPcopy Create free account
hub / github.com/csound/csound / startHandler

Function startHandler

wasm/browser/src/workers/vanilla.worker.js:262–283  ·  view source on GitHub ↗
(_, arguments_)

Source from the content-addressed store, hash-verified

260 const libraryCsound = libcsoundFactory(wasm);
261
262 const startHandler = (_, arguments_) =>
263 handleCsoundStart(
264 workerMessagePort,
265 libraryCsound,
266 wasi,
267 createRealtimeAudioThread({
268 audioInputs,
269 inputChannelCount,
270 libraryCsound,
271 outputChannelCount,
272 wasm,
273 wasi,
274 workerMessagePort,
275 }),
276 renderFunction({
277 inputChannelCount,
278 libraryCsound,
279 outputChannelCount,
280 wasm,
281 workerMessagePort,
282 }),
283 )(arguments_);
284
285 const allAPI = pipe(assoc("csoundStart", startHandler), assoc("wasm", wasm))(libraryCsound);
286 combined = new Map(Object.entries(allAPI));

Callers

nothing calls this directly

Calls 3

handleCsoundStartFunction · 0.90
renderFunctionFunction · 0.90

Tested by

no test coverage detected