OnlineAI-Vox-rm https://vocalremover.org/ https://www.lalal.ai/ https://audioalter.com/stereo-panner/ *install-soxenvirvar _________________________________ Combine multiple files into one (with silence inbetween): --------------------------------------------------------- ------1) Unify Sample Rates--------------- for %x in (*.mp3) do sox "%x" -r 48000 enc-"%x" ------2) Add silence to music beginning--- mkdir out sox -n -r 48000 -c 2 silence.wav trim 0.0 1.0 for %x in (*.mp3) do sox silence.wav "%x" silence.wav out/"%x" del silence.wav -------3) Combine files ------------------- sox *.mp3 out.wav _________________________________ Get Sample rate of file: ------------------------------- for %x in (*mp3) do sox --i -r "%x" (Source: https://stackoverflow.com/questions/4497419/how-do-i-get-an-audio-file-sample-rate-using-sox) _________________________________________________________________________________________________________ Split by silence: (splitbysilence) --------------------- sox -V3 input.mp3 output.mp3 silence 1 3.0 0.1% 1 0.3 0.1% : newfile : restart (https://stackoverflow.com/questions/20014064/how-to-batch-split-audio-files-wherever-there-is-silence) Old (nowork): ffmpeg -i input.ogg -vn -ss 00:00:00 -t 00:00:01 noise-sample.wav sox noise-sample.wav -n noiseprof noise.prof sox input.ogg clean.wav noisered noise.prof 0.21 sox -V3 clean.wav output.wav silence 1 0.2 0.4% 1 0.2 0.4% : newfile : restart (Source: https://gist.github.com/jochemstoel/05a4ac5337b829b023feb73ef97a31ed) _________________________________________________________________________________________________________ Sox combine all mp3 in curr folder together (append) ------------------------- sox *.mp3 out.wav (SOURCE: https://askubuntu.com/questions/631771/combine-multiple-audio-files-with-slience-between-each-audio-file-in-sox) _________________________________________________________________________________________________________ Sox add silence to all mp3 in folder: ------------------------- mkdir out sox -n -r 44100 -c 2 silence.wav trim 0.0 1.0 for %x in (*.mp3) do sox silence.wav "%x" silence.wav out/"%x" del silence.wav (Source:) _________________________________________________________________________________________________________ Sox generate slience ------------------------- sox -n -r 48000 -c 2 silence.wav trim 0.0 1.0 (Source: https://askubuntu.com/questions/631771/combine-multiple-audio-files-with-slience-between-each-audio-file-in-sox) _________________________________________________________________________________________________________ Change sample rate -------------------------- For mp3: for %x in (*.mp3) do sox %x -r 48000 enc-%x For wav files only: for %x in (*mp3) do sox %x -r 48000 %x (source: https://stackoverflow.com/questions/23980283/sox-resample-and-convert)´ (source: https://superuser.com/questions/253467/convert-an-mp3-from-48000-to-44100-hz) https://www.stefaanlippens.net/audio_conversion_cheat_sheet/ 22050 = 35x kpbs 44100 = 705 kbps 48000 = 320 kbps ___________________________________________________________________________________________________ Merge two wave => stereo wav (each on seperate channel) ------------------------------------------- sox -M front_left.wav front_right.wav out.wav (Source: http://sox.10957.n7.nabble.com/merge-2-files-in-one-on-different-channels-td1286.html) ___________________________________________________________________________________________________ Overlay two *.wav files => Stereo wav file: ------------------------------------------------------- sox -m front_left.wav front_right.wav out.wav (Source: https://stackoverflow.com/questions/9457020/merge-2-audio-files-in-sox) http://sox.10957.n7.nabble.com/mixing-and-panning-different-mono-input-files-into-one-stereo-output-file-td4364.html ___________________________________________________________________________________________________ Change Speed of media: -------------------------------- mkdir out for %x in (*.mp3) do sox out/"%x" "_%x" speed 1.33 (Source: ) ___________________________________________________________________________________________________ Create Spectrogram from music file: --------------------------------------------------- sox my.wav -n spectrogram -> for %x in (*.mp3) do sox "%x" -n spectrogram (SOURCE: stackoverflow.com/questions/9956815/generate-visual-waveform-from-mp3-wav-file-in-windows-2008-server) ___________________________________________________________________________________________________ sox -m $(cat MergeList.txt) output.wav https://stackoverflow.com/questions/36971461/how-to-use-sox-with-an-audio-file-list _____________________________________________________________________________________________ _____________________________________________________________________________________________ ______________________________________installsoxenvirvar_________________________________________ E:\Dropbox\Public\Useful_Handy_Winprogs\000_Windows_specific\Environment_variable_EditorRapidEE\rapidee.exe ---Add sox to Path system variable by hand:--- 1. rundll32 sysdm.cpl,EditEnvironmentVariables 2. add C:\sox to the bottom PATH variable 3. OK (4. check in a newly opened command line, whether "sox" returns a hit) ______________________________________________ https://github.com/JoFrhwld/FAVE/wiki/Sox-on-Windows |===Adding SoX permanently as environment variable==== |--------------------------------------------------------------------------- |setx sox “E:\Dropbox\Public\00_MyDosStuff\Sox_(Audio_Manipulation)\sox-14-4-2” |(SOURCE:https://github.com/JoFrhwld/FAVE/wiki/Sox-on-Windows ) |======Temp add sox as environment var:==== |set PATH=%PATH%;E:\Dropbox\Public\00_MyDosStuff\Sox_(Audio_Manipulation)\sox-14-4-2 |https://stackoverflow.com/questions/3537155/sox-fail-util-unable-to-load-mad-decoder-library-libmad-function-mad-stream