MoFA FM — Text-to-Speech
One-line: synthesize speech (preset or cloned voices) via the local
ominix-api server. Background-spawning — call fm_tts directly with the
full text and the audio file is delivered automatically.
CRITICAL anti-patterns
**Do NOT call fm_voice_list as a precheck before fm_tts or before
podcast generation.** fm_voice_list is a recovery and explicit-listing
tool, not a TTS prerequisite. If a user names a voice you do not
recognise, call fm_tts directly with that voice — the error path is
short and recoverable, and a preemptive catalog dump wastes a turn and
can prevent the actual TTS call from happening.
Call fm_voice_list only when:
fm_ttsor podcast generation returnsUnknown voice 'NAME',
Voice not found, or an equivalent unavailable-voice error.
- The user explicitly asks to list or browse available voices.
**Do NOT use spawn, shell scripts, or manual text splitting around
fm_tts.** The tool is spawn_only — call it once with the full text.
Do NOT use fm_tts for podcasts. Use podcast_generate from
mofa-podcast instead.
Quick reference
- Default voice:
vivian. Other presets and custom-voice save / list /