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

[Feature Request]: Time Shifting #172

Open
1 task done
JoFrhwld opened this issue Mar 1, 2024 · 0 comments · Fixed by #174
Open
1 task done

[Feature Request]: Time Shifting #172

JoFrhwld opened this issue Mar 1, 2024 · 0 comments · Fixed by #174
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JoFrhwld
Copy link
Member

JoFrhwld commented Mar 1, 2024

What feature would you like added?

There should be some kind of safe time shifting capacity for tiergroups, and textgrids (maybe tiers). A method like this should shift all start and end times by 1 second.

tg.shift(1.0)

I think the lowest, safe, place to implement the method would be the tiergroup, since below that, shifting just a tier without shifting its superset or subset tier would mess up the timing & containment relations between them.

Tiers and Sequences already have .starts and .ends properties, so adding setters for these might be a useful first step.

What would the use case be for this feature?

Ultimately, "horizontal" textgrid or tier concatenation could utilize this.

Would you like to help add this feature?

Yes, and I will submit a pull request soon.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@JoFrhwld JoFrhwld added the enhancement New feature or request label Mar 1, 2024
@JoFrhwld JoFrhwld added this to the v0.7 milestone Mar 1, 2024
@JoFrhwld JoFrhwld linked a pull request Mar 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants