microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
22 lines (21 loc) • 473 B
TypeScript
import { OnError } from "./OnError";
/**
* The json paylaod for synthesis context in speech.context
*/
export interface SynthesisContext {
/**
* The voices.
*/
defaultVoices?: {
[]: string;
};
/**
* The target languages for which synthesis should be generated.
* Defaults to all, if list is omitted or empty.
*/
synthesizedLanguages?: string[];
/**
* The on error.
*/
onError?: OnError;
}