Skip to content

Instantly share code, notes, and snippets.

View Akshat1903's full-sized avatar
:atom:
coding my way atom by atom

Akshat Gupta Akshat1903

:atom:
coding my way atom by atom
View GitHub Profile
@pedramamini
pedramamini / rocky_say
Last active June 20, 2026 20:56
rocky_say — Rocky voice TTS from Project Hail Mary (voice cloning + text style transform)
#!/usr/bin/env python3
"""
rocky_say — Text-to-speech using Rocky's cloned voice (Project Hail Mary)
Transforms input text into Rocky's speech patterns ("text GAN"), then
synthesizes audio using XTTS v2 voice cloning. Rocky is the Eridian alien
from Andy Weir's Project Hail Mary, voiced by James Ortiz in the 2026 film.
His speech patterns are distinctive: dropped articles, simplified grammar,
word tripling for emphasis ("good good good", "bad bad bad"), and the