[Feature Request] Option to disable automatic speech speedup / time-stretching in Text-to-Speech
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp
- Domain
- audio-video-rtc, desktop
Research direction
Start by locating the Text-to-Speech window and the code that fits generated speech to subtitle block duration. Trace how that code calls the TTS engine and applies time-stretching, then identify where a setting can control that behavior. Done means the setting preserves natural 1.0x playback when disabled; the optional subtitle end-time adjustment is not required by the request.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When generating audio using the Text to Speech feature, Subtitle Edit automatically speeds up / time-stretches the generated speech if the target text exceeds the duration of the subtitle block.
While this keeps audio synced when embedding it directly with video, it creates a major issue when exporting/converting to standalone WAV audio files:
- The speedup results in unnatural, overly fast, or distorted speech.
- When generating a standalone WAV file (rather than hardcoding/multiplexing audio with video), forced time synchronization is often unnecessary. The speed adjustments defeat the primary purpose of generating a clean, natural-sounding audio track.
Describe the solution you'd like
It would be great to have an option (e.g., a checkbox or toggle in the Text-to-Speech window) to disable automatic speech acceleration / time-stretching.
If this option is disabled:
- The TTS engine generates audio at its natural 1.0x playback speed regardless of the subtitle duration bounds.
- (Optional) Subtitle line end-times could automatically extend to match the full length of the generated speech block when exporting.
Describe alternatives you've considered
Currently, the only workaround is manually extending every subtitle duration on the waveform before running TTS, or heavily trimming translated text to avoid triggering the speedup algorithm.
Additional context
When the goal is simply to export a WAV audio file from the subtitles, natural speech flow and voice quality are far more important than forcing the audio duration to fit strict timecode limits.
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 1.4k
- Avg merge
- 1h
- Merged PRs (30d)
- 665
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SubtitleEdit/subtitleedit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SubtitleEdit/subtitleedit#16374 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#14510 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Export bookmarksOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
SubtitleEdit/subtitleedit#16570 ·
Maintainers usually reply within 1 day
-
Waveform issueOpen
Difficulty 4/5 3-5 days Newbie friendliness 15/100
SubtitleEdit/subtitleedit#16565 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
SubtitleEdit/subtitleedit#16557 ·
Maintainers usually reply within 1 day
All issues in SubtitleEdit/subtitleedit
Similar issues
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/microsoft-ui-xaml#12515 · 1 comment · 1 reaction ·
Maintainers usually reply within 2 days
-
[v5-preview5] `func new` displays incorrect command in error message when project is not initializedOpenNeeds: Triage (Functions) v5 v5-preview5
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Azure/azure-functions-core-tools#5838 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
customer-reported needs-team-triage question server-Azure.Mcp tools-Pricing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/mcp#4087 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100