DeepgramTTSAdapter (tts/deepgram.ts)

builderbot · packages/provider-voice/src/adapters/tts/deepgram.ts · typescript · MIT
voice, Voice / Speech

* LAYER: Infrastructure Contains: DeepgramTTSModel, DeepgramTTSAdapterOptions, DeepgramTTSAdapter Rules: Implements ports from Application. Can use any framework. BigO: O(1) score:5 keywords: [DeepgramTTSModel, DeepgramTTSAdapterOptions, DeepgramTTSAdapter] GOAL: Own the "deepgra

// Source: https://github.com/codigoencasa/builderbot | License: MIT | Copyright 2022 Leifer Mendez
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * LAYER: Infrastructure
 * Contains: DeepgramTTSModel, DeepgramTTSAdapterOptions, DeepgramTTSAdapter
 * Rules: Implements ports from Application. Can use any framework.
 * BigO: O(1) score:5
 * keywords: [DeepgramTTSModel, DeepgramTTSAdapterOptions, DeepgramTTSAdapter]
 * GOAL: Own the "deepgram" concern of the provider-voice package.
 */
import type { ITtsAdapter } from '../index'

export enum DeepgramTTSModel {
    /** Aura 2 — latest generation, highest quality */
    Aura2EnUs = 'aura-2-en-us',
    Aura2EnUk = 'aura-2-en-uk',
    /** Aura 1 voices */
    AsteraEn = 'aura-asteria-en',
    LunaEn = 'aura-luna-en',
    St

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key