fixes for sox and ffmpeg