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

batch delay? #12

Open
m0ck69 opened this issue Jul 31, 2022 · 3 comments
Open

batch delay? #12

m0ck69 opened this issue Jul 31, 2022 · 3 comments

Comments

@m0ck69
Copy link

m0ck69 commented Jul 31, 2022

I have quite a few ac3 audio files.
I need to delay them by the same time value.
How can I do it at once?

@bitblaster
Copy link
Collaborator

You can execute a for cycle in your shell calling delaycut for each file, such as:
delaycut -startdelay 100 -i myfile.ac3

@m0ck69
Copy link
Author

m0ck69 commented Aug 8, 2022

That's not very helpful tbh and wouldn't make the process faster what so ever.
I was hoping for sth like Open - Ctr A (select all audio files) - enter desired delay value - Process.
And that's it.

@Slavison
Copy link

It's pretty easy to do on Windows with .bat file.

  1. Copy all AC3 files to some folder, create in this folder a file named 'delaycut.bat', then put the following inside this file:
@echo off
cd /d %~dp0
setlocal enabledelayedexpansion
FOR %%a IN (*.ac3) do (
	d:\PortableApps\Delaycut\delaycut.exe -startdelay 300 -i %%~na.ac3
)

pause
  1. Change d:\PortableApps\Delaycut\delaycut.exe and -startdelay 300 to your needs.

  2. Run delaycut.bat and wait for it to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants