Re: Destructive editing?
"Grondin Lefebvre Renaud (NHQ-AC)" <[email protected]>
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <[email protected]> |
If the path contains a space you might want to use double quote like "X:\Folder Name\File name.wav" Regards, -----Original Message----- From: K. H. Hom via Sox-users <[email protected]> Sent: March 12, 2020 9:44 AM To: [email protected] Cc: K. H. Hom <[email protected]> Subject: Re: [SoX-users] Destructive editing? Thank you VERY much ! That woks (macOS Mojave) I created a finder action to batch normalise samples: export PATH=/usr/local/bin:$PATH for file in "$@" do sox $file outfile.wav --norm=-0.1 && mv -f outfile.wav $file done but there is a problem when the path contains empty space :/ Still need to find a solution for this. Cheers Hermann Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ Am Sonntag, März 8, 2020 5:09 PM schrieb Peter P. <[email protected]>: > - K. H. Hom via Sox-users [email protected] [2020-03-07 14:19]: > > > Hi, > > is it possible to normalize a wav sample and replace the source file, please? > > Same with Strip silence from end of a file? > > I think the best thing is to do it in one line yourself, something > like > > sox infile.wav outfile.wav norm && mv -f outfile.wav infile.wav > > on Unix might work. > > Sox-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sox-users _______________________________________________ Sox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users _______________________________________________ Sox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users