Zero Padding Tool
-
![Screenshot 2023-05-18 at 13.53.30.png](Imgur is temporarily over capacity. Please try again later.)
ZERO PADDING TOOL
A Zero Padding Tool made with Hise to quickly make all your samples the same length.
Having the same length is necessary when you want to merge samples, like for instance in a multimic situation.
ADD FILES
- FILE => Add as many files as you need
- DIR => Multiple directories can be added to the list (adding a new directory does not delete previously added files). Doublons won't be added (doublons are checked from their names AND their audio properties)
APPLY PADDING
- TO SELECTED => Find the longest sample in the selected files and apply a zero padding to the other
- TO ALL => Find the longest file in the whole list and add zero padding to all files but this one
- BY TOKEN => Find the longest file within each token and apply zero padding to the files having the same token. Bear in mind that if you add different folders that have the same token in their name, the same length will be added to all the directories.
The token number starts at #1
EXPORT
Padded files can be exported following 3 modes:- No Options => By default, the padded files will be saved as a copy within the same directory as the original files. The suffix
[tokenSeparator]zp
will be added to their names. - Overwrite => As the name says
- Sub Directory => A directory called
_padded
will be added with a copy of the padded files in it. The suffix[tokenSeparator]zp
will be added to their names.
The project:
> Zero Padding Tool on GitHub <
DISCLAIMER
Loading a big amount of files might run into a time-out issue. I am currently trying to send the heavy tasks to a background thread like I always do. Although, I am still getting a time-out issue with this one. Work under progress...
EDIT:
- By Token now respects the folder hierarchy (so a full library can be treated at once)
- Fix undo
- Add individual undo
- Better LAF and general looking
- Repaint instead of rebuild the list when unnecessary
-
Excellent, nice use of HISE :)
-
@ustk It's awesome, Thank you!
-
@ustk Oh yeah... very good. Well done.
-
@ustk beau boulot, bravo !! 🥳