Trait festvox::TtsGenerator[][src]

pub trait TtsGenerator<'r>: Send + Sync + Sized + 'static {
    type Error: Debug;
    fn new() -> Result<Self, <Self as TtsGenerator<'r>>::Error>;
fn generate<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        details: &'life1 PhrasePackage,
        config: &'life2 Config
    ) -> Pin<Box<dyn Future<Output = Result<PathBuf, <Self as TtsGenerator<'r>>::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn fairing() -> AdHoc
    where
        &'r Self: FromRequest<'r>
, { ... } }
Expand description

A trait indicating a tts generator that can be constructed and used to generate audio files from speech

Associated Types

Required methods

Create a new TTS builder

Generate a phrase utilising the TTS system, with the set parameters

Provided methods

Generate an adhoc fairing which can be bound to a launching rocket.

Implementors