English: Background audio noise sample from Shtooka project based on 282 samples from 191 audio files' header (0.17s) and tail (0.23s), totalling 51 sec. of noise. Such file are used as sample to remove background noise (
denoise) in audio files recorded in similar conditions.
Tutorial: lingualibre:Help:SoX.
Command:
# Given audios such as ./wav/*.wav, create noise profiles
mkdir -p ./noise;
for file in ./wav/*.wav;
do key=$(basename "$file" .wav);
ffmpeg -i "$file" -vn -ss 00:00:00 -t 00:00:00.170 ./noise/noise-"$key"-head.wav ;
ffmpeg -vn -sseof -0.200 -t 0.230 -i "$file" ./noise/noise-"$key"-tail.wav
# sox "$file" ./noise/noise-"$key"-head.wav trim 0 0.300
# sox "$file" ./noise/noise-"$key"-tail.wav reverse trim 0 0.200 reverse
done;