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

Padding transform #91

Open
1 of 3 tasks
iver56 opened this issue Jul 22, 2021 · 1 comment
Open
1 of 3 tasks

Padding transform #91

iver56 opened this issue Jul 22, 2021 · 1 comment
Labels
good first issue Good for newcomers
Milestone

Comments

@iver56
Copy link
Collaborator

iver56 commented Jul 22, 2021

This transform takes a fraction of the end or the start of the audio and treats that part as padding. We can implement several modes:

  • constant (zero)
  • wrap
  • reflect
@iver56 iver56 added the good first issue Good for newcomers label Jul 22, 2021
@iver56
Copy link
Collaborator Author

iver56 commented Apr 4, 2022

This idea has been implemented in audiomentations recently:

https://github.com/iver56/audiomentations/blob/master/audiomentations/augmentations/padding.py

To get a deeper understanding of this, it's also useful to run the demo script in audiomentations and listen to the outputs

This issue is about implementing it in pytorch for torch-audiomentations :)

@iver56 iver56 added this to the v0.12.0 milestone Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant