69 lines · 967 B · Shell
RawDownload
bindir="."srcdir="."effect="" if [ -f ./sox.exe ] ; then  EXEEXT=".exe"else  EXEEXXT=""fi # Allow user to override paths.  Useful for testing an installed# sox.while [ $# -ne 0 ]; do    case "$1" in        --bindir=*)        bindir=`echo $1 | sed 's/.*=//'`        ;;         -i)        shift        bindir=$1        ;;         --srcdir=*)        srcdir=`echo $1 | sed 's/.*=//'`        ;;         -c)        shift        srcdir=$1        ;;         *)        effect="$effect $1"    esac    shiftdone t() {	format=$1	shift	opts="$*" 	echo "Format: $format   Options: $opts"	${bindir}/sox${EXEEXT} ${srcdir}/monkey.wav $opts /tmp/monkey.$format $effect	${bindir}/sox${EXEEXT} $opts /tmp/monkey.$format /tmp/monkey1.wav  $effect}t 8svxt aifft aifct au t avr -e unsigned-integert cdrt cvst datt hcom -r 22050t maudt prct prc -e signed-integert sf t smpt sndt t txwt ub -r 8130t vmst voct vox -r 8130t wavt wve

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