Waveform/Spectogram - Visual support for different Regions/Styles

Open
#245 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
design, frontend

Research direction

The issue does not name files or tests; start by locating the Waveform/Spectogram UI and how overlapping subtitle regions and styles are rendered. Compare the current view with the supplied ASS example, and consider the work complete when different regions or styles are shown on separate visual tracks without requiring overlap to be enabled.

Written by the indexing model from the issue text.

Description

Currently, when you work with multiple subtitle regions, who overlap each other, the UI on the Waveform looks a bit messy.
image
It also makes it annoying to work if, if don't want to enable "allow overlap" in the settings.

What if the Waveform can show different regions, each on their in their own "track"?
image
(i tried to make it myself, but my lack of understanding how it fully works, stopped me)

This is inspired by davinci resolve, which allows you to create subtitle tracks for better visual clarity
image

ASS subtitle sample:

[Script Info]
; This is an Advanced Sub Station Alpha v4+ script.
Title: ValueSubtitless
ScriptType: v4.00+
PlayDepth: 0
ScaledBorderAndShadow: Yes
PlayResX: 2560
PlayResY: 1440

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: ValueSubtitles_style,proportionalSansSerif,80.0,&H00FFFFFF,&H0300FFFF,&H18000000,&H26000000,0,0,0,0,100,100,0,0,3,2,0.0,2,10,10,10,1
Style: bottom-center_style,proportionalSansSerif,80.0,&H00FFFFFF,&H0300FFFF,&H26000000,&H18000000,0,-1,0,0,100,100,0,0,3,2,2,8,10,10,10,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:17:21.40,0:17:24.15,ValueSubtitles_style,,0,0,0,,I look up sometimes and to my surprise
Dialogue: 0,0:17:24.15,0:17:26.65,ValueSubtitles_style,,0,0,0,,I can finally breathe, woah
Dialogue: 0,0:17:26.18,0:17:26.67,bottom-center_style,,0,0,0,,{\an8}(woah)
Dominant language
C#
Stars
137
Forks
48
Avg merge
5m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SubtitleEdit/plugins

All issues in SubtitleEdit/plugins

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.