Re: Destructive editing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <sox-users@xxxxxxxxxxxxxxxxxxxxx> 
Sent: March 12, 2020 9:44 AM
To: sox-users@xxxxxxxxxxxxxxxxxxxxx
Cc: K. H. Hom <handwash@xxxxxxxxxxxxxx>
Subject: Re:  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. <peterparker@xxxxxxxxxxxx>:

> -   K. H. Hom via Sox-users sox-users@xxxxxxxxxxxxxxxxxxxxx [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
> Sox-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/sox-users




_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users

_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux