- Download
ffmpeg
from ffmpeg, you should selectStatic
linking and get a zip file. - extract the zip file into
ffmpeg
folder, so that there existsffmpeg/bin/ffmeg.exe
.
- Download
sox
from SOund eXchange, you should get a zip file. - extract zip file into the
sox
folder. so that there existssox/sox.exe
.
- On MacOSX, you can substitude Step 1.1, 1.2 by
brew install ffmpeg sox
- edit
user_config.py
and make sure theFFMPEG_PATH
andSOX_PATH
is correct.
python3 ./convert_file.py ./rawfile/
python3 wavfile2spectrum.py ./wavfile/
- put spectrograms into
images/spectrum/
python3 wavfile2waveform.py ./wavfile/
- put waveforms into
images/waveform/