This could be useful for shorter files - samples, game assets, etc
It would be a new parameter that would trim to the nearest zero crossing where users set a “Within” parameter.
_ ___|(TrimPoint)__
__|_______|(Zero-Crossing Within area)
Users could set the within area to either side of the Trim point, or only within the Trim area.
There could be an auto-option for “nearest inside” or “nearest any” which ignores the “within” area and either finds the nearest zero-crossing within the Trim area, or any inside our outside.
Also the possible option to allow users to not even set a Trim amount, and just use Trim to Nearest Zero-Crossing.
There is one contention - what if there isn’t a zero-crossing within the users set range for a particular file(s) in the batch process.
There could be an entire section of the plugin dedicated just for resolving this error that a user could engage:
”In event of no found zero-crossing”: Find Nearest To Zero + Fade Amount.
A more complex solution, would be an error reporting system but that would probably have to be tied into my Advance Preview idea:
This would have batch process plugins report errors to the Advanced File Preview which would then show the files texts as ‘Red’. User could then select those files, and adjust settings just for them, and the re-preview render just those files… all in the “AFP” window.
I’m also looking at @marker recommendation of using Montage for some of this work, maybe there are amenities here already to bulk trim to nearest zero-crossing.
All in all, this could really help remove blips and pops from the starts and ends of files where a fade might not be enough.