CuteTTS.AXERA: AX650 NPU zero-shot TTS (U16)
Browse files477 unmodified lines478479480481482483484485477 unmodified lines"""True streaming synthesis: yields float32 PCM chunks while the AR loop runs.Nothing is sentence-split: the AR loop keeps generating latents and audio isdecoded/emitted every ``chunk`` latents (2.56 s) after an initial``first_chunk`` latents (1.28 s), using an exact 128-latent sliding window."""t0 = time.time()cfg_strength = self.cfg["cfg_strength"] if cfg_strength is None else float(cfg_strength)477 unmodified lines478479480481482483484485486477 unmodified lines"""True streaming synthesis: yields float32 PCM chunks while the AR loop runs.Nothing is sentence-split: the AR loop keeps generating latents and audio isdecoded/emitted every ``chunk`` latents (1.28 s) after an initial``first_chunk`` latents (0.32 s), using an exact 80-latent sliding window(64 latents of causal context + the new ones)."""t0 = time.time()cfg_strength = self.cfg["cfg_strength"] if cfg_strength is None else float(cfg_strength)
python/cutetts_ax/tts.py+3-2