animalese_tts

Crates.ioanimalese_tts
lib.rsanimalese_tts
version0.1.1
created_at2025-12-31 10:48:55.166818+00
updated_at2025-12-31 11:31:55.328707+00
descriptionA Rust library for generating Animalese-style text-to-speech audio, ported from GolangACTTS.
homepage
repositoryhttps://github.com/spacedock-zero/animalese_tts
max_upload_size
id2014457
size239,957
Gary (GaryCraft)

documentation

README

Animalese TTS

A Rust library for generating Animalese-style text-to-speech audio

Usage

Add this to your Cargo.toml:

[dependencies]
animalese_tts = "0.1.0"

Basic Example

use animalese_tts::Animalese;
use std::fs::File;
use std::io::Write;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let animalese = Animalese::default();
    let wav_data = animalese.generate("Hello Animalese!", false, 1.0)?;

    let mut file = File::create("output.wav")?;
    file.write_all(&wav_data)?;
    Ok(())
}

Features

  • Embedded Assets: The library comes with the necessary audio assets embedded.
  • Adjustable Pitch: Control the pitch of the generated voice.
  • Shortening: Option to shorten words for faster speech (Animalese style).

License

MIT

Commit count: 0

cargo fmt