Repository navigation
perf(voice): Supertonic com 5 passos por padrão (TTFA 764 → 529 ms) - #76
Merged
Merged
Conversation
Time to first audio dominated the voice reply latency. Measured on 4 vCPU (speak_ttfa_bench): TTFA 764 -> 529 ms, full 4-chunk reply 3096 -> 2143 ms; warm RTF 0.27 -> 0.18. Spectrograms show the same harmonic structure. Users who set the field keep their value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQKXREpB3XdQFduMFPG
The config store persists the full snapshot, so every existing profile holds supertonicSteps=8 and would never pick up the new default. A v4->v5 step drops that exact value; any other saved value is kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQKXREpB3XdQFduMFPG
Contributor
✅ Revisão aprovada! 🎉🚀Resumo: Atualização do default de passos Supertonic de 8 para 5, incluindo migração de configuração e testes de regressão para validar a mudança. 🔎 AchadosSem pontos bloqueantes. 🎉 Veredito: Comentário consultivo — não bloqueia o merge. 🤖 Revisão automática via 🤖 Origem Automatizada
|
Contributor
|
🎉 Pull Request mesclado com sucesso! O merge deste PR foi realizado automaticamente após a validação de todas as políticas e checks de CI/CD. 🤖 Origem Automatizada
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Antonio · project thread
Por quê
Na resposta por voz, o tempo até o primeiro áudio é dominado pela síntese do Supertonic, e o custo dela cresce com o número de passos de refinamento.
O que muda
voice.supertonicStepscai de 8 para 5. Isso vale para o schema, oTtsStatee o fallback da tela de voz.8salvo. A migração remove exatamente esse 8 para o perfil receber o default novo, e qualquer outro valor salvo continua como está. O campo segue editável de 2 a 32.Medição (nuvem, 4 vCPU, release, voz F3 pt-BR)
speak_ttfa_bench: TTFA médiospeak_ttfa_bench: resposta inteira (4 trechos)tts_latency_bench: primeira falatts_latency_bench: RTF quenteA segunda rodada com 5 passos deu 528 ms de TTFA. Os espectrogramas das duas versões têm a mesma estrutura harmônica, e o RMS ficou em 0,047 com 8 passos e 0,050 com 5. As amostras em MP3 (3 frases × 2 versões), o espectrograma e os JSONs dos benchmarks estão no thread do projeto, em
supertonic-passos/.Verificação
pnpm lint✓ ·pnpm typecheck✓ ·pnpm gates✓ (cargo test --lib: 3431 passaram) ·pnpm build✓rendererre-homologado.Generated by Claude Code