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

Function RenderCsd

Emscripten/src/csound.js:184–189  ·  view source on GitHub ↗

* Starts file rendering with a CSD (no real-time audio). The variable can contain * a filepath or the literal text of a CSD. * * @param {string} s A string containing the pathname to the CSD. * @param {function} callback completion callback

(s, callback = null)

Source from the content-addressed store, hash-verified

182 * @param {function} callback completion callback
183 */
184 function RenderCsd(s, callback = null) {
185 CopyUrlToLocal(s, s, function() {
186 csound.Csound.render(s);
187 callback();
188 });
189 }
190
191 /**
192 * Sends a score to be read by csound.Csound.

Callers

nothing calls this directly

Calls 2

CopyUrlToLocalFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected