@clipwhisperer/common
Version:
ClipWhisperer Common - Shared library providing core utilities, database schemas, authentication, bucket management, and common functionality across all ClipWhisperer microservices
29 lines (28 loc) • 987 B
JavaScript
;
/**
* AWS Polly Configuration Constants
* Centralized configuration for all AWS Polly-related defaults
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_POLLY_REQUEST = exports.AWS_POLLY_CONFIG = exports.KNOWN_WORKING_COMBINATIONS = exports.AWS_POLLY_DEFAULTS = void 0;
exports.AWS_POLLY_DEFAULTS = {
VOICE_ID: "Matthew",
ENGINE: "generative",
OUTPUT_FORMAT: "mp3",
};
exports.KNOWN_WORKING_COMBINATIONS = [
{ voiceId: "Matthew", engine: "generative" }
];
exports.AWS_POLLY_CONFIG = {
SUPPORTED_ENGINES: ["generative", "neural", "standard"],
SUPPORTED_FORMATS: ["mp3", "ogg_vorbis", "pcm"],
SUPPORTED_VOICES: {
MALE: ["Matthew", "Justin", "Joey"],
FEMALE: ["Joanna", "Kendra", "Kimberly"],
},
};
exports.DEFAULT_POLLY_REQUEST = {
voiceId: exports.AWS_POLLY_DEFAULTS.VOICE_ID,
engine: exports.AWS_POLLY_DEFAULTS.ENGINE,
outputFormat: exports.AWS_POLLY_DEFAULTS.OUTPUT_FORMAT,
};