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

Avoid calculation of file duration for NaT end entries #13

Open
hagenw opened this issue Jan 25, 2024 · 0 comments
Open

Avoid calculation of file duration for NaT end entries #13

hagenw opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hagenw
Copy link
Member

hagenw commented Jan 25, 2024

When having NaT as end entries, e.g. when using a filewise index, auglib.Augment.augment() will need to calculate the duration of the files. This is in principle not nessecary as this is done anyway during augmentation and the information can be easily returned when setting self.keep_nat to False for the underlying audinterface.Process object. But we cannot easily do this when calling super.__init__() as this would affect other methods like auglib.Augment.process_file(). So most likely we need a bigger refactor of the code of auglib.Augment before we can achieve the goal of this issue.

@hagenw hagenw added the enhancement New feature or request label Jan 25, 2024
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
None yet
Development

No branches or pull requests

1 participant