- Download
ffmpegfrom ffmpeg, you should selectStaticlinking and get a zip file. - extract the zip file into
ffmpegfolder, so that there existsffmpeg/bin/ffmeg.exe.
- Download
soxfrom SOund eXchange, you should get a zip file. - extract zip file into the
soxfolder. so that there existssox/sox.exe.
- On MacOSX, you can substitude Step 1.1, 1.2 by
brew install ffmpeg sox - edit
user_config.pyand make sure theFFMPEG_PATHandSOX_PATHis correct.
python3 ./convert_file.py ./rawfile/
python3 wavfile2spectrum.py ./wavfile/
- put spectrograms into
images/spectrum/
python3 wavfile2waveform.py ./wavfile/
- put waveforms into
images/waveform/