Junk

Junk Commit Details

Date:2014-12-02 09:49:49 (4 years 11 months ago)
Author:Nicola Fontana
Branch:master
Commit:ec962ecfdc7e920f1a4d78088d2496309231df16
Parents: fd756b1051bb1854374b01878c3ae6b2217fa0fb
Message:cleanvoice: first implementation

Changes:
Amisc/cleanvoice (full)

File differences

misc/cleanvoice
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/bash
help() {
cat <<EOT
Clean a (possibly woman) voice in a bad recording.
USAGE
$0 from to [SOX OPTIONS ...]
It cuts out some unused frequencies (below 130 Hz and above 9.4 kHz)
and applies a de-esser filter to decrease sibilances.
It needs SoX and ladspa_tap_deesser filter installed. On ArchLinux,
'pacman -S sox tap-plugins' solves the problem.
EXAMPLE
$0 recording.wav clean-recording.wav
$0 recording.wav first10seconds.wav trim 0 10
EOT
}
[ -z "$2" ] && help && exit 1
from=$1
to=$2
shift 2
sox --norm "$from" "$to" ladspa tap_deesser tap_deesser -30 6200 sinc 130 -t 1 sinc -9.4k -b 240 "$@"

Archive Download the corresponding diff file

Branches