Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain extra project references when processing a source file #158

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

mikeylove
Copy link
Contributor

currently, if you ask ReaSpeech to process a collection of tracks/items that sees the same source file more than once, only one of those media item/take references will be retained and added as a transcript segment.

this change retains those extra references, and for each one will add the found segments for a given source file to the transcript. yes, this means that you can have the same text show up multiple times in a transcript. no, i don't think that's weird, it's your weird project, friend!

this also changes the start/end columns in the transcript table to reflect the segment's start/end relative to the full project timeline.

from here i'm picturing what the ux might look like for resolving overlap conflicts. 🤔

Screen.Recording.2025-01-25.at.14.16.11.mov

@mikeylove mikeylove requested review from ramen, smrl and darryldio January 25, 2025 22:25
Copy link
Contributor

@ramen ramen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Comment on lines +106 to +107
-- do we get a lot of textless segments? thinking emoji
if s:get('text') then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These sorts of things grew from testing different backends and the inconsistencies we saw in the results. I don't remember why it was necessary at this point, but a missing text field is a pretty good check for "is this a segment at all?"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i think we've even probably talked about this before. in working on other stuff with actual VO recordings i'm also running into a lot of [_description_] "segments", like [BLANK AUDIO] or [Pause].

@mikeylove mikeylove merged commit 3454e89 into main Jan 28, 2025
2 checks passed
@mikeylove mikeylove deleted the retain-extra-job-information branch January 28, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants