robsnew scriptd72c48e17 years agoHistory
26 lines · 563 B · Shell
RawDownload
#!/bin/sh # This script, as used at http://language101.com, shows using several# effects in combination to normalise and trim voice recordings that# may have been recorded using different microphones, with differing# background noise etc. SOX=../src/sox if [ $# -lt 2 ]; then  echo "Usage: $0 infile outfile"  exit 1fi $SOX "$1" "$2" \  remix - \  highpass 100 \  norm \  compand 0.05,0.2 6:-54,-90,-36,-36,-24,-24,0,-12 0 -90 0.1 \  vad -T 0.6 -p 0.2 -t 5 \  fade 0.1 \  reverse \  vad -T 0.6 -p 0.2 -t 5 \  fade 0.1 \  reverse \  norm -0.5

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t