Skip to main content

Crate ftts_cli

Crate ftts_cli 

Source
Expand description

Shared, stateless command-line dispatch for both FrankenTTS binaries.

Re-exports§

pub use robot::EventType;
pub use robot::validate_event;
pub use robot::validate_ndjson;

Modules§

resident
Resident engine: a per-user background process that keeps the loaded model in memory so consecutive ftts say invocations skip the multi-second model load.
robot
The robot NDJSON contract — defined once, consumed three ways.
style
Human-facing console output: colored status lines and interactive confirmation.
synth
The ftts say synthesis path: text in, 24 kHz PCM out.

Structs§

AudioOutput
Accumulating state for the audio_chunk event stream.

Enums§

AudioSink
Where synthesised PCM goes, and the audio_chunk events that describe it.
FttsError
An error that can be presented by the Phase-0 CLI without fabricating engine work.
FttsExitCode
The process exit codes promised by the ftts robot and human interfaces.

Functions§

cli_main
Runs the shared ftts / franken_tts command-line interface.