ref: f723862e5e5d3b70b1db0e91ced9077899686f21
parent: 0a66e0fac9021b948fed671c9ec35a09f7d28c0a
author: cbagwell <cbagwell>
date: Sat Nov 18 18:12:45 EST 2000
Adding linux binary for sox 12.17.1
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in configure.in 0.5
+# From configure.in configure.in 1.0
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
@@ -1115,14 +1115,6 @@
case "$target" in
- *aix* )
- CFLAGS="$CFLAGS -D_ALL_SOURCE"
- ;;
-
- *hpux* )
- CFLAGS="$CFLAGS -D_HPUX_SOURCE"
- ;;
-
*cygwin* )
CFLAGS="$CFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
@@ -1141,7 +1133,7 @@
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
-echo "configure:1145: checking whether byte ordering is bigendian" >&5
+echo "configure:1137: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1148,7 +1140,7 @@
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
-#line 1152 "configure"
+#line 1144 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@@ -1159,11 +1151,11 @@
#endif
; return 0; }
EOF
-if { (eval echo configure:1163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
-#line 1167 "configure"
+#line 1159 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@@ -1174,7 +1166,7 @@
#endif
; return 0; }
EOF
-if { (eval echo configure:1178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@@ -1194,7 +1186,7 @@
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 1198 "configure"
+#line 1190 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
@@ -1207,7 +1199,7 @@
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
-if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
@@ -1234,14 +1226,14 @@
echo "checking if math library is required during link" 1>&6
-echo "configure:1238: checking if math library is required during link" >&5
+echo "configure:1230: checking if math library is required during link" >&5
echo $ac_n "checking for pow""... $ac_c" 1>&6
-echo "configure:1240: checking for pow" >&5
+echo "configure:1232: checking for pow" >&5
if eval "test \"`echo '$''{'ac_cv_func_pow'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1245 "configure"
+#line 1237 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pow(); below. */
@@ -1264,7 +1256,7 @@
; return 0; }
EOF
-if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_pow=yes"
else
@@ -1286,7 +1278,7 @@
if test "$ac_cv_func_pow" = no
then
echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6
-echo "configure:1290: checking for pow in -lm" >&5
+echo "configure:1282: checking for pow in -lm" >&5
ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1294,7 +1286,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1298 "configure"
+#line 1290 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -1305,7 +1297,7 @@
pow()
; return 0; }
EOF
-if { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -1353,17 +1345,17 @@
ac_safe=`echo "gsm.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for gsm.h""... $ac_c" 1>&6
-echo "configure:1357: checking for gsm.h" >&5
+echo "configure:1349: checking for gsm.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1362 "configure"
+#line 1354 "configure"
#include "confdefs.h"
#include <gsm.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1388,7 +1380,7 @@
if test "$gsminc" = yes
then
echo $ac_n "checking for gsm_create in -lgsm""... $ac_c" 1>&6
-echo "configure:1392: checking for gsm_create in -lgsm" >&5
+echo "configure:1384: checking for gsm_create in -lgsm" >&5
ac_lib_var=`echo gsm'_'gsm_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1396,7 +1388,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lgsm $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1400 "configure"
+#line 1392 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -1407,7 +1399,7 @@
gsm_create()
; return 0; }
EOF
-if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -1442,17 +1434,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1446: checking for $ac_hdr" >&5
+echo "configure:1438: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1451 "configure"
+#line 1443 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1483,12 +1475,12 @@
for ac_func in getopt strerror memmove rand
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:1487: checking for $ac_func" >&5
+echo "configure:1479: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1492 "configure"
+#line 1484 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1511,7 +1503,7 @@
; return 0; }
EOF
-if { (eval echo configure:1515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -1539,66 +1531,21 @@
if test "$alsa_dsp" = auto
then
- echo $ac_n "checking whether /proc/asound is functional (ALSA)""... $ac_c" 1>&6
-echo "configure:1544: checking whether /proc/asound is functional (ALSA)" >&5
-if eval "test \"`echo '$''{'ac_cv_dev_alsa_dsp'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_dev_alsa_dsp=no
-else
- cat > conftest.$ac_ext <<EOF
-#line 1552 "configure"
-#include "confdefs.h"
-
- void *opendir(const char *);
- void *closedir(const char *);
- int
- main()
- {
- void *vp = opendir("/proc/asound");
- if (vp != 0)
- {
- closedir(vp);
- return 0;
- }
- return 1;
- }
-
-EOF
-if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_dev_alsa_dsp=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_dev_alsa_dsp=no
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
-echo "$ac_t""$ac_cv_dev_alsa_dsp" 1>&6
- if test "$ac_cv_dev_alsa_dsp" = yes
- then
- for ac_hdr in linux/asound.h
+ for ac_hdr in linux/asound.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1592: checking for $ac_hdr" >&5
+echo "configure:1539: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1597 "configure"
+#line 1544 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1624,57 +1571,10 @@
fi
done
- if test "$alsa_dsp" = auto
- then
- echo "configure: warning: No asound.h to compile with ALSA /dev/snd/pcmABXY" 1>&2
- fi
- fi
fi
+
if test "$alsa_dsp" = yes
then
- if test "$ac_cv_dev_alsa_dsp" = ""
- then
- for ac_hdr in linux/asound.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1642: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1647 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-
- fi
CFLAGS="$CFLAGS -DALSA_PLAYER"
NEED_ALSA=1
PLAY_SUPPORT=1
@@ -1682,66 +1582,21 @@
if test "$oss_dsp" = auto
then
- echo $ac_n "checking whether /dev/dsp is functional (OSS)""... $ac_c" 1>&6
-echo "configure:1687: checking whether /dev/dsp is functional (OSS)" >&5
-if eval "test \"`echo '$''{'ac_cv_dev_oss_dsp'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_dev_oss_dsp=no
-else
- cat > conftest.$ac_ext <<EOF
-#line 1695 "configure"
-#include "confdefs.h"
-
- int open(const char *, int);
- int close(int);
- int
- main()
- {
- int fd = open("/dev/dsp", 0);
- if (fd != -1)
- {
- close(fd);
- return 0;
- }
- return 1;
- }
-
-EOF
-if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_dev_oss_dsp=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_dev_oss_dsp=no
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
-echo "$ac_t""$ac_cv_dev_oss_dsp" 1>&6
- if test "$ac_cv_dev_oss_dsp" = yes
- then
- for ac_hdr in sys/soundcard.h machine/soundcard.h
+ for ac_hdr in sys/soundcard.h machine/soundcard.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1735: checking for $ac_hdr" >&5
+echo "configure:1590: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1740 "configure"
+#line 1595 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1767,57 +1622,10 @@
fi
done
- if test "$oss_dsp" = auto
- then
- echo "configure: warning: No soundcard.h to compile with OSS /dev/dsp" 1>&2
- fi
- fi
fi
+
if test "$oss_dsp" = yes
then
- if test "$ac_cv_dev_oss_dsp" = ""
- then
- for ac_hdr in sys/soundcard.h machine/soundcard.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1785: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1790 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-
- fi
CFLAGS="$CFLAGS -DOSS_PLAYER"
NEED_OSS=1
PLAY_SUPPORT=1
@@ -1825,66 +1633,21 @@
if test "$sun_audio" = auto
then
- echo $ac_n "checking whether /dev/audio is functional (SUN style)""... $ac_c" 1>&6
-echo "configure:1830: checking whether /dev/audio is functional (SUN style)" >&5
-if eval "test \"`echo '$''{'ac_cv_dev_sun_audio'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_dev_sun_audio=no
-else
- cat > conftest.$ac_ext <<EOF
-#line 1838 "configure"
-#include "confdefs.h"
-
- int open(const char *, int);
- int close(int);
- int
- main()
- {
- int fd = open("/dev/audio", 0);
- if (fd != -1)
- {
- close(fd);
- return 0;
- }
- return 1;
- }
-
-EOF
-if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_cv_dev_sun_audio=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_dev_sun_audio=no
-fi
-rm -fr conftest*
-fi
-
-
-fi
-
-echo "$ac_t""$ac_cv_dev_sun_audio" 1>&6
- if test "$ac_cv_dev_sun_audio" = yes
- then
- for ac_hdr in sys/audioio.h sun/audioio.h
+ for ac_hdr in sys/audioio.h sun/audioio.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1878: checking for $ac_hdr" >&5
+echo "configure:1641: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1883 "configure"
+#line 1646 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1910,57 +1673,10 @@
fi
done
- if test "$sun_audio" = auto
- then
- echo "configure: warning: No audioio.h to compile with SUN /dev/audio" 1>&2
- fi
- fi
fi
+
if test "$sun_audio" = yes
then
- if test "$ac_cv_dev_sun_audio" = ""
- then
- for ac_hdr in sys/audioio.h sun/audioio.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1928: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1933 "configure"
-#include "confdefs.h"
-#include <$ac_hdr>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-
- fi
CFLAGS="$CFLAGS -DSUNAUDIO_PLAYER"
NEED_SUNAU=1
PLAY_SUPPORT=1
--- a/sox.txt
+++ b/sox.txt
@@ -38,8 +38,11 @@
copy
cut
deemph
- echo gain-in gain-out delay decay [ delay decay ...]
- echos gain-in gain-out delay decay [ delay decay ...]
+ earwax
+ echo gain-in gain-out delay decay [ delay decay ... ]
+ echos gain-in gain-out delay decay [ delay decay ... ]
+ fade [ type ] fade-in-length
+ [ stop-time [ fade-out-length ] ]
filter [ low ]-[ high ] [ window-len [ beta ]]
flanger gain-in gain-out delay decay speed < -s | -t >
highp frequency
@@ -55,9 +58,6 @@
polyphase [ -w < nut / ham > ]
[ -width < long / short / # > ]
[ -cutoff # ]
- rate
- resample [ -qs | -q | -ql ] [ rolloff [ beta ] ]
- reverb gain-out reverb-time delay [ delay ... ]
@@ -70,6 +70,9 @@
SoX(1) SoX(1)
+ rate
+ resample [ -qs | -q | -ql ] [ rolloff [ beta ] ]
+ reverb gain-out reverb-time delay [ delay ... ]
reverse
speed factor
split
@@ -122,11 +125,8 @@
sox file.au file.wav
- translates a sound file in SUN Sparc .AU format into a
- Microsoft .WAV file, while
-
July 24, 2000 2
@@ -136,6 +136,9 @@
SoX(1) SoX(1)
+ translates a sound file in SUN Sparc .AU format into a
+ Microsoft .WAV file, while
+
sox -v 0.5 file.au -r 12000 file.wav mask
does the same format translation but also lowers the
@@ -187,9 +190,6 @@
fidelity is not as important. When uncompressed
it has roughly the precision of 16-bit PCM
audio. Popular version of ADPCM include G.726,
- MS ADPCM, and IMA ADPCM. The -a flag has dif�
- ferent meanings in different file handlers. In
- .wav files it represents MS ADPCM files, in all
@@ -202,6 +202,9 @@
SoX(1) SoX(1)
+ MS ADPCM, and IMA ADPCM. The -a flag has dif�
+ ferent meanings in different file handlers. In
+ .wav files it represents MS ADPCM files, in all
others it means G.726 ADPCM. IMA ADPCM is a
specific form of adpcm compression, slightly
simpler and slightly lower fidelity than
@@ -253,9 +256,6 @@
-p Run in preview mode and run fast. This will
somewhat speed up sox when the output format has
a different number of channels and a different
- rate than the input file. Currently, this
- defaults to using the rate effect instead of the
- resample effect for sample rate changes.
@@ -268,6 +268,10 @@
SoX(1) SoX(1)
+ rate than the input file. Currently, this
+ defaults to using the rate effect instead of the
+ resample effect for sample rate changes.
+
-v volume Change amplitude (floating point); less than 1.0
decreases, greater than 1.0 increases. May use
a negative number to invert the phase of the
@@ -318,13 +322,9 @@
will not write them. Some .au files have valid
AU headers and some do not. The latter are
probably original SUN u-law 8000 hz samples.
- These can be dealt with using the .ul format
- (see below).
- .avr Audio Visual Research
-
July 24, 2000 5
@@ -334,6 +334,10 @@
SoX(1) SoX(1)
+ These can be dealt with using the .ul format
+ (see below).
+
+ .avr Audio Visual Research
The AVR format is produced by a number of com�
mercial packages on the Mac.
@@ -384,13 +388,9 @@
and this format handler apparently doesn't han�
dle all the ones it should. Mac users will need
your usual arsenal of file converters to deal
- with an HCOM file under Unix or DOS.
- .maud An Amiga format
- An IFF-conform sound file type, registered by MS
-
July 24, 2000 6
@@ -400,6 +400,10 @@
SoX(1) SoX(1)
+ with an HCOM file under Unix or DOS.
+
+ .maud An Amiga format
+ An IFF-conform sound file type, registered by MS
MacroSystem Computer GmbH, published along with
the "Toccata" sound-card on the Amiga. Allows
8bit linear, 16bit linear, A-Law, u-law in mono
@@ -450,13 +454,9 @@
.snd
Under DOS this file format is the same as the
.sndt format. Under all other platforms it is
- the same as the .au format.
- .sndt SoundTool files.
- This is an older DOS file format.
-
July 24, 2000 7
@@ -466,6 +466,11 @@
SoX(1) SoX(1)
+ the same as the .au format.
+
+ .sndt SoundTool files.
+ This is an older DOS file format.
+
sunau Sun /dev/audio device driver
This is a pseudo-file type and can be optionally
compiled into Sox. Run sox -h to see if you
@@ -515,11 +520,6 @@
matting information in their headers, and so do
not need any format options specified for an
input file. If any are, they will override the
- file header, and you will be warned to this
- effect. You had better know what you are doing!
- Output format options will cause a format con�
- version, and the .wav will written appropri�
- ately. Sox currently can read PCM, ULAW, ALAW,
@@ -532,6 +532,11 @@
SoX(1) SoX(1)
+ file header, and you will be warned to this
+ effect. You had better know what you are doing!
+ Output format options will cause a format con�
+ version, and the .wav will written appropri�
+ ately. Sox currently can read PCM, ULAW, ALAW,
MS ADPCM, and IMA (or DVI) ADPCM. It can write
all of these formats including (NEW!) the ADPCM
encoding.
@@ -546,46 +551,41 @@
file must be given. The number of channels
defaults to 1.
- .ub, .sb, .uw, .sw, .ul, .sl
+ .ub, .sb, .uw, .sw, .ul, .al, .sl
These are several suffices which serve as a
shorthand for raw files with a given size and
encoding. Thus, ub, sb, uw, sw, ul and sl cor�
respond to "unsigned byte", "signed byte",
"unsigned word", "signed word", "ulaw" (byte),
- and "signed long". The sample rate defaults to
- 8000 hz if not explicitly set, and the number of
- channels (as always) defaults to 1. There are
- lots of Sparc samples floating around in u-law
- format with no header and fixed at a sample rate
- of 8000 hz. (Certain sound management software
- cheerfully ignores the headers.) Similarly,
- most Mac sound files are in unsigned byte format
- with a sample rate of 11025 or 22050 hz.
+ "alaw" (byte), and "signed long". The sample
+ rate defaults to 8000 hz if not explicitly set,
+ and the number of channels (as always) defaults
+ to 1. There are lots of Sparc samples floating
+ around in u-law format with no header and fixed
+ at a sample rate of 8000 hz. (Certain sound
+ management software cheerfully ignores the head�
+ ers.) Similarly, most Mac sound files are in
+ unsigned byte format with a sample rate of 11025
+ or 22050 hz.
- .auto This is a ``meta-type'': specifying this type
- for an input file triggers some code that tries
- to guess the real type by looking for magic
- words in the header. If the type can't be
- guessed, the program exits with an error mes�
- sage. The input must be a plain file, not a
+ .auto This is a ``meta-type'': specifying this type
+ for an input file triggers some code that tries
+ to guess the real type by looking for magic
+ words in the header. If the type can't be
+ guessed, the program exits with an error mes�
+ sage. The input must be a plain file, not a
pipe. This type can't be used for output files.
EFFECTS
Multiple effects may be applied to the audio data by spec�
- ifying them one after another at the end of the command
+ ifying them one after another at the end of the command
line.
avg [ -l | -r ]
- Reduce the number of channels by averaging the
- samples, or duplicate channels to increase the
- number of channels. This effect is automati�
- cally used when the number of input channels
- differ from the number of output channels. When
- reducing the number of channels it is possible
- to manually specify the avg effect and use the
- -l and -r options to select only the left or
- right channel for the output instead of averag�
- ing the two channels.
+ Reduce the number of channels by averaging the
+ samples, or duplicate channels to increase the
+ number of channels. This effect is automati�
+ cally used when the number of input channels
@@ -598,25 +598,32 @@
SoX(1) SoX(1)
+ differ from the number of output channels. When
+ reducing the number of channels it is possible
+ to manually specify the avg effect and use the
+ -l and -r options to select only the left or
+ right channel for the output instead of averag�
+ ing the two channels.
+
band [ -n ] center [ width ]
- Apply a band-pass filter. The frequency
+ Apply a band-pass filter. The frequency
response drops logarithmically around the center
- frequency. The width gives the slope of the
- drop. The frequencies at center + width and
- center - width will be half of their original
+ frequency. The width gives the slope of the
+ drop. The frequencies at center + width and
+ center - width will be half of their original
amplitudes. Band defaults to a mode oriented to
pitched signals, i.e. voice, singing, or instru�
- mental music. The -n (for noise) option uses
- the alternate mode for un-pitched signals.
- Warning: -n introduces a power-gain of about
- 11dB in the filter, so beware of output clip�
+ mental music. The -n (for noise) option uses
+ the alternate mode for un-pitched signals.
+ Warning: -n introduces a power-gain of about
+ 11dB in the filter, so beware of output clip�
ping. Band introduces noise in the shape of the
filter, i.e. peaking at the center frequency and
- settling around it. See filter for a bandpass
+ settling around it. See filter for a bandpass
effect with steeper shoulders.
bandpass frequency bandwidth
- Butterworth bandpass filter. Description coming
+ Butterworth bandpass filter. Description coming
soon!
bandreject frequency bandwidth
@@ -626,10 +633,10 @@
chorus gain-in gain-out delay decay speed depth
-s | -t [ delay decay speed depth -s | -t ... ]
- Add a chorus to a sound sample. Each quadtuple
- delay/decay/speed/depth gives the delay in mil�
- liseconds and the decay (relative to gain-in)
- with a modulation speed in Hz using depth in
+ Add a chorus to a sound sample. Each quadtuple
+ delay/decay/speed/depth gives the delay in mil�
+ liseconds and the decay (relative to gain-in)
+ with a modulation speed in Hz using depth in
milliseconds. The modulation is either sinodial
(-s) or triangular (-t). Gain-out is the volume
of the output.
@@ -639,19 +646,12 @@
in-dB1,out-dB1[,in-dB2,out-dB2...]
[gain] [initial-volume]
- Compand (compress or expand) the dynamic range
- of a sample. The attack and decay time specify
- the integration time over which the absolute
- value of the input signal is integrated to
- determine its volume. Where more than one pair
- of attack/decay parameters are specified, each
- channel is treated separately and the number of
- pairs must agree with the number of input chan�
- nels. The second parameter is a list of points
- on the compander's transfer function specified
- in dB relative to the maximum possible signal
- amplitude. The input values must be in a
- strictly increasing order but the transfer
+ Compand (compress or expand) the dynamic range
+ of a sample. The attack and decay time specify
+ the integration time over which the absolute
+ value of the input signal is integrated to
+ determine its volume. Where more than one pair
+ of attack/decay parameters are specified, each
@@ -664,50 +664,102 @@
SoX(1) SoX(1)
- function does not have to be monotonically ris�
- ing. The special value -inf may be used to
- indicate that the input volume should be associ�
- ated output volume. The points -inf,-inf and
- 0,0 are assumed; the latter may be overridden,
- but the former may not. The third (optional)
- parameter is a postprocessing gain in dB which
- is applied after the compression has taken
- place; the fourth (optional) parameter is an
- initial volume to be assumed for each channel
- when the effect starts. This permits the user
- to supply a nominal level initially, so that,
- for example, a very large gain is not applied to
- initial signal levels before the companding
- action has begun to operate: it is quite proba�
- ble that in such an event, the output would be
- severely clipped while the compander gain prop�
- erly adjusts itself.
+ channel is treated separately and the number of
+ pairs must agree with the number of input chan�
+ nels. The second parameter is a list of points
+ on the compander's transfer function specified
+ in dB relative to the maximum possible signal
+ amplitude. The input values must be in a
+ strictly increasing order but the transfer func�
+ tion does not have to be monotonically rising.
+ The special value -inf may be used to indicate
+ that the input volume should be associated out�
+ put volume. The points -inf,-inf and 0,0 are
+ assumed; the latter may be overridden, but the
+ former may not. The third (optional) parameter
+ is a postprocessing gain in dB which is applied
+ after the compression has taken place; the
+ fourth (optional) parameter is an initial volume
+ to be assumed for each channel when the effect
+ starts. This permits the user to supply a nomi�
+ nal level initially, so that, for example, a
+ very large gain is not applied to initial signal
+ levels before the companding action has begun to
+ operate: it is quite probable that in such an
+ event, the output would be severely clipped
+ while the compander gain properly adjusts
+ itself.
copy Copy the input file to the output file. This is
- the default effect if both files have the same
+ the default effect if both files have the same
sampling rate.
cut loopnumber
Extract loop #N from a sample.
- deemph Apply a treble attenuation shelving filter to
+ deemph Apply a treble attenuation shelving filter to
samples in audio cd format. The frequency
- response of pre-emphasized recordings is recti�
- fied. The filtering is defined in the standard
+ response of pre-emphasized recordings is recti�
+ fied. The filtering is defined in the standard
document ISO 908.
+ earwax Makes sound easier to listen to on headphones.
+ Adds audio-cues to samples in audio cd format so
+ that when listened to on headphones the stereo
+ image is moved from inside your head (standard
+ for headphones) to outside and in front of the
+ listener (standard for speakers). See
+ www.geocities.com/beinges for a full explana�
+ tion.
+
echo gain-in gain-out delay decay [ delay decay ... ]
Add echoing to a sound sample. Each delay/decay
- part gives the delay in milliseconds and the
+ part gives the delay in milliseconds and the
decay (relative to gain-in) of that echo. Gain-
out is the volume of the output.
+
+
+
+ July 24, 2000 11
+
+
+
+
+
+SoX(1) SoX(1)
+
+
echos gain-in gain-out delay decay [ delay decay ... ]
Add a sequence of echos to a sound sample. Each
delay/decay part gives the delay in milliseconds
- and the decay (relative to gain-in) of that
+ and the decay (relative to gain-in) of that
echo. Gain-out is the volume of the output.
+ fade [ type ] fade-in-length
+
+ [ stop-time [ fade-out-length ] ]
+ Add a fade effect to the beginning, end, or both
+ of the audio data.
+
+ For fade-ins, this starts from the first sample
+ and ramps the volume of the audio from 0 to full
+ volume over fade-in-length seconds. Specify 0
+ seconds if no fade-in is wanted.
+
+ For fade-outs, the audio data will be trucated
+ at the stop-time and the volume will be ramped
+ from full volume down to 0 starting at fade-out-
+ length seconds before the stop-time. No fade-
+ out is performed if these options are not speci�
+ fied.
+
+ An optional type can be specified to change the
+ type of envelope. Choices are q for quarter of
+ a sinewave, h for half a sinewave, t for linear
+ slope, l for logarithmic, and p for inverted
+ parabola. The default is a linear slope.
+
filter [ low ]-[ high ] [ window-len [ beta ] ]
Apply a Sinc-windowed lowpass, highpass, or
bandpass filter of given window length to the
@@ -718,18 +770,6 @@
A lowpass filter is obtained by leaving low
unspecified, or 0. A highpass filter is
-
-
-
- July 24, 2000 11
-
-
-
-
-
-SoX(1) SoX(1)
-
-
obtained by leaving high unspecified, or 0, or
greater than or equal to the Nyquist frequency.
@@ -744,6 +784,18 @@
resample effect.
+
+
+
+ July 24, 2000 12
+
+
+
+
+
+SoX(1) SoX(1)
+
+
flanger gain-in gain-out delay decay speed < -s | -t >
Add a flanger to a sound sample. Each triple
delay/decay/speed gives the delay in millisec�
@@ -785,17 +837,6 @@
adds 1/2 bit of noise to the sound file at the
output bit depth.
-
-
- July 24, 2000 12
-
-
-
-
-
-SoX(1) SoX(1)
-
-
pan direction
Pan the sound of an audio file from one channel
to another. This is done by changing the volume
@@ -809,6 +850,18 @@
ing channel itself. The direction is a value
from -1.0 to 1.0. -1.0 represents far left and
1.0 represents far right. Numbers in between
+
+
+
+ July 24, 2000 13
+
+
+
+
+
+SoX(1) SoX(1)
+
+
will start the pan effect without totally muting
the opposite channel.
@@ -850,18 +903,6 @@
Translate input sampling rate to output sampling
rate via polyphase interpolation, a DSP algo�
rithm. This method is slow and uses lots of
-
-
-
- July 24, 2000 13
-
-
-
-
-
-SoX(1) SoX(1)
-
-
RAM, but gives much better results than rate.
-w < nut / ham > : select either a Nuttal (~90
@@ -875,6 +916,18 @@
short option is not recommended, as it produces
poor quality results.
+
+
+
+ July 24, 2000 14
+
+
+
+
+
+SoX(1) SoX(1)
+
+
-cutoff # : specify the filter cutoff frequency
in terms of fraction of frequency bandwidth,
also know as the Nyquist frequency. Please see
@@ -917,17 +970,6 @@
the case that you want to have rolloff greater
than about 0.80 of the Nyquist frequency.
-
-
- July 24, 2000 14
-
-
-
-
-
-SoX(1) SoX(1)
-
-
The -q* options will change the default values
for rolloff and beta as well as use quadratic
interpolation of filter coefficients, resulting
@@ -940,6 +982,18 @@
Following is a table of the reasonable defaults
which are built-in to sox:
+
+
+
+ July 24, 2000 15
+
+
+
+
+
+SoX(1) SoX(1)
+
+
Option Window rolloff beta interpolation
------ ------ ------- ---- -------------
(none) 45 0.80 16 linear
@@ -981,20 +1035,8 @@
The rolloff refers to how close to the Nyquist
frequency this cutoff is, with closer being bet�
ter. When increasing the sample rate of an
- audio file you would not expect to have any
-
-
-
- July 24, 2000 15
-
-
-
-
-
-SoX(1) SoX(1)
-
-
- frequencies exist that are past the original
+ audio file you would not expect to have any fre�
+ quencies exist that are past the original
Nyquist frequency. Because of resampling prop�
erties, it is common to have alaising data cre�
ated that is above the old Nyquist frequency.
@@ -1006,6 +1048,18 @@
The beta parameter determines the type of filter
window used. Any value greater than 2.0 is the
beta for a Kaiser window. Beta <= 2.0 selects a
+
+
+
+ July 24, 2000 16
+
+
+
+
+
+SoX(1) SoX(1)
+
+
Nuttall window. If unspecified, the default is
a Kaiser window with beta 16.
@@ -1048,18 +1102,6 @@
quarter of reverb-time to get a realistic rever�
beration. Gain-out is the volume of the output.
-
-
-
- July 24, 2000 16
-
-
-
-
-
-SoX(1) SoX(1)
-
-
reverse Reverse the sound sample completely. Included
for finding Satanic subliminals.
@@ -1072,6 +1114,18 @@
higher. 0.5 halves speed thus time length dou�
bles and pitch is one octave lower.
+
+
+
+ July 24, 2000 17
+
+
+
+
+
+SoX(1) SoX(1)
+
+
split Turn a mono sample into a stereo sample by copy�
ing the input channel to the left and right
channels.
@@ -1113,31 +1167,31 @@
stretch factor [window fade shift fading]
Time stretch file by a given factor. Change
duration without affecting the pitch. factor of
- stretching: >1.0 lengthen, <1.0 shorten
+ stretching: >1.0 lengthen, <1.0 shorten dura�
+ tion. window size is in ms. Default is 20ms.
+ The fade option, can be "lin". shift ratio, in
+ [0.0 1.0]. Default depends on stretch factor.
+ 1.0 to shorten, 0.8 to lengthen. The fading
+ ratio, in [0.0 0.5]. The amount of a fade's
+ default depends on factor and shift.
+ swap [ 1 2 | 1 2 3 4 ]
+ Swap channels in multi-channel sound files.
+ Optionally, you may specify the channel order
+ you would like the output in. This defaults to
+ output channel 2 and then 1 for stereo and 2, 1,
- July 24, 2000 17
+ July 24, 2000 18
+
SoX(1) SoX(1)
- duration. window size is in ms. Default is
- 20ms. The fade option, can be "lin". shift
- ratio, in [0.0 1.0]. Default depends on stretch
- factor. 1.0 to shorten, 0.8 to lengthen. The
- fading ratio, in [0.0 0.5]. The amount of a
- fade's default depends on factor and shift.
-
- swap [ 1 2 | 1 2 3 4 ]
- Swap channels in multi-channel sound files.
- Optionally, you may specify the channel order
- you would like the output in. This defaults to
- output channel 2 and then 1 for stereo and 2, 1,
4, 3 for quad-channels. An interesting feature
is that you may duplicate a given channel by
overwriting another. This is done by repeating
@@ -1150,40 +1204,52 @@
Trim can trim off unwanted audio data from the
beginning and end of the audio file. Audio sam�
ples are not sent to the output stream until the
- start location is reached. start is an integer
- number that tells the exact sample number to
- start at.
- The optional length parameter tells the number
- of samples to output after the start sample and
- is used to trim off the back side of the audio
- data. Using a value of 0 for the start parame�
- ter will allow trimming off the back side only.
+ start location is reached. start is a floating
+ point number that tells the number of seconds to
+ wait before starting. If you know the sample
+ number you would like to start at then the sec�
+ onds can be obtained by multiply (sample # *
+ sample rate).
+ The optional length parameter tells the number
+ of samples to output after the start sample and
+ is used to trim off the back side of the audio
+ data. Using a value of 0 for the start parame�
+ ter will allow trimming off the back side only.
vibro speed [ depth ]
- Add the world-famous Fender Vibro-Champ sound
+ Add the world-famous Fender Vibro-Champ sound
effect to a sound sample by using a sine wave as
the volume knob. Speed gives the Hertz value of
- the wave. This must be under 30. Depth gives
- the amount the volume is cut into by the sine
- wave, ranging 0.0 to 1.0 and defaulting to 0.5.
+ the wave. This must be under 30. Depth gives
+ the amount the volume is cut into by the sine
+ wave, ranging 0.0 to 1.0 and defaulting to 0.5.
vol gain [ type [ limitergain ] ]
- The vol effect is much like the command line
- option -v. It allows you to adjust the volume
- of an input file and allows you to specify the
- adjustment in relation to amplitude, power, or
- dB. If type is not specified then it defaults
+ The vol effect is much like the command line
+ option -v. It allows you to adjust the volume
+ of an input file and allows you to specify the
+ adjustment in relation to amplitude, power, or
+ dB. If type is not specified then it defaults
to amplitude.
- When type is amplitude then a linear change of
- the amplitude is performed based on the gain.
- Therefore, a value of 1.0 will keep the volume
- the same, 0.0 to < 1.0 will cause the volume to
+ When type is amplitude then a linear change of
+ the amplitude is performed based on the gain.
+ Therefore, a value of 1.0 will keep the volume
+ the same, 0.0 to < 1.0 will cause the volume to
decrease and values of > 1.0 will cause the vol�
- ume to increase. Beware of clipping audio data
+ ume to increase. Beware of clipping audio data
+ when the gain is greater then 1.0. A negative
+ value performs the same adjustment while also
+ changing the phase.
+ When type is power then a value of 1.0 also
+ means no change in volume.
+ When type is dB the amplitude is changed loga�
+ rithmically. 0.0 is constant while +6 doubles
+ the amplitude.
+ An optional limitergain value can be specified
- July 24, 2000 18
+ July 24, 2000 19
@@ -1192,27 +1258,18 @@
SoX(1) SoX(1)
- when the gain is greater then 1.0. A negative
- value performs the same adjustment while also
- changing the phase.
- When type is power then a value of 1.0 also
- means no change in volume.
- When type is dB the amplitude is changed loga�
- rithmically. 0.0 is constant while +6 doubles
- the amplitude.
- An optional limitergain value can be specified
- and should be a value much less then 1.0 (ie
- 0.05 or 0.02) and is used only on peaks to pre�
- vent clipping. Not specifying this parameter
- will cause no limiter to be used. In verbose
+ and should be a value much less then 1.0 (ie
+ 0.05 or 0.02) and is used only on peaks to pre�
+ vent clipping. Not specifying this parameter
+ will cause no limiter to be used. In verbose
mode, this effect will display the percentage of
audio data that needed to be limited.
BUGS
- The syntax is horrific. Thats the breaks when trying to
+ The syntax is horrific. Thats the breaks when trying to
handle all things from the command line.
- Please report any bugs found in this version of sox to
+ Please report any bugs found in this version of sox to
Chris Bagwell (cbagwell@sprynet.com)
FILES
@@ -1220,10 +1277,10 @@
play(1), rec(1), soxexam(1)
NOTICES
- The version of Sox that accompanies this manual page is
- support by Chris Bagwell (cbagwell@sprynet.com). Please
+ The version of Sox that accompanies this manual page is
+ support by Chris Bagwell (cbagwell@sprynet.com). Please
refer any questions regarding it to this address. You may
- obtain the latest version at the the web site
+ obtain the latest version at the the web site
http://home.sprynet.com/~cbagwell/sox.html
@@ -1249,6 +1306,15 @@
- July 24, 2000 19
+
+
+
+
+
+
+
+
+
+ July 24, 2000 20
--- a/soxexam.txt
+++ b/soxexam.txt
@@ -22,7 +22,7 @@
data type to save it in. You can override the default
data type selection by using command line options. This
is also useful for producing a output file with higher or
- lower percision data and/or sample rate.
+ lower precision data and/or sample rate.
Most file formats that contain headers can automatically
be read in. When working with headerless file formats
@@ -35,18 +35,18 @@
filenames you will not have to specify the corrisponding
options on the command line.
- Percision
+ Precision
The following data types and formats can be represented by
- their total uncompressed bit percision. When converting
+ their total uncompressed bit precision. When converting
from one data type to another care must be taken to insure
- it has an equal or greater percision. If not then the
+ it has an equal or greater precision. If not then the
audio quality will be degraded. This is not always a bad
thing when your working with things such as voice audio
and are concerned about disk space or bandwidth of the
audio data.
- Data Format Percision
+ Data Format Precision
___________ _________
unsigned byte 8-bit
signed byte 8-bit