I'm trying to do some transformation to some audio data using the sox
command.
I'm filtering all of my 'wav' files with the following command:
find . -name '*.wav'
Now, I would like to apply the sox command to all of the returned files, something like this:
find . -name '*.wav' | sox name-of-the-file-returned store-file-with-the-same-name
Does anyone know how would I take the returned path from the first command and give it twice as arguments to the second command, since I'm trying to run the following command:
sox file-name.wav file-name.wav
Thank you in advance!