Production-grade Text-to-Speech system for Asante Twi (Akan), trained on the 15,560-sample multi-speaker speech corpus (ghanaopendata/twi-speech-text-multispeaker-16k) and specialized on the native female voice of Speaker 17 (Age 21).
`python from voxcpm import VoxCPM from huggingface_hub import snapshot_download import soundfile as sf
base_dir = snapshot_download('ghananlpcommunity/ghana-tts-36k') spk17_dir = snapshot_download('techolise/akan-twi-speaker17-tts-v2')
model = VoxCPM(base_dir, enable_denoiser=True) anchor_wav = f'{spk17_dir}/speaker_17_dataset/speaker17_golden_anchor.wav' anchor_txt = 'Atoyerɛnkyɛm asi wɔ bea a wɔgu fangoo ɛgu ɛhyɛn mu.'
text = 'Mema mo akye me nuanom nyinaa! Wo ho te sɛn? Akwaaba ba Ghana!' wav = model.generate( text=text, prompt_wav_path=anchor_wav, prompt_text=anchor_txt, cfg_value=2.4, inference_timesteps=26 )
sf.write('twi_output.wav', wav, 16000) `
audiovae.pth 301 MBspeaker17_500epoch_master.ckpt 14 MBspeaker17_v2_lora.ckpt 14 MB