MCPcopy Create free account
hub / github.com/Migushthe2nd/MsEdgeTTS / rawToFile

Method rawToFile

src/MsEdgeTTS.ts:339–344  ·  view source on GitHub ↗

* Writes raw audio synthesised from text to a file. Has no SSML template. Basic SSML should be provided in the request. * * @param dirPath a valid output directory path. * @param requestSSML the SSML to send. SSML elements required in order to work. * @returns {Promise<{audioFile

(dirPath: string, requestSSML: string)

Source from the content-addressed store, hash-verified

337 } {
338 return this._rawSSMLRequest(this._SSMLTemplate(input, options))
339 }
340
341 /**
342 * Writes raw audio synthesised from text to a file. Has no SSML template. Basic SSML should be provided in the request.
343 *
344 * @param dirPath a valid output directory path.
345 * @param requestSSML the SSML to send. SSML elements required in order to work.
346 * @returns {Promise<{audioFilePath: string, metadataFilePath: string | null}>} - a `Promise` with the full filepaths
347 */

Callers

nothing calls this directly

Calls 1

_rawSSMLRequestToFileMethod · 0.95

Tested by

no test coverage detected