4 This file contains information specific to the Win32 version of SoX.
5 Please refer to the README file for general information.
7 The binary SOX.EXE can be installed anywhere you desire. The only
8 restriction is that the included ZLIB1..DLL and LIBGOMP-1.DLL must be
9 located in the same directory as SOX.EXE or somewhere within your PATH.
11 SoX Helper Applications
12 -----------------------
14 SoX also includes support for SOXI.EXE, PLAY.EXE and REC.EXE and their
15 behaviors are documented in included PDF's. They have the same
16 install restrictions as SOX.EXE.
18 SOXI.EXE, PLAY.EXE, and REC.EXE are not distributed with this package to
19 reduce size requirements. They are, in fact, only copies of the original
20 SOX.EXE binary which changes SOX.EXE's behavior based on the
21 executable's filename.
23 If you wish to make use of these utils then you can create them
30 If you are concerned with disk space, the play and record
31 functionality can be equated using the "-d" option with SOX.EXE. soxi
32 functionality can be equated using the "--info" option with SOX.EXE. The
35 play: sox [input files and options] -d [effects]
36 rec: sox -d [output file and options] [effects]
37 soxi: sox --info [input files and options]
42 SOX.EXE included in this package makes use of the following projects.
43 See the cygbuild script included with the source code package for
44 further information on how it was compiled and packaged.
46 SoX - http://sox.sourceforge.net
48 FLAC - http://flac.sourceforge.net
50 LADSPA - http://www.ladspa.org
52 libid3tag - http://www.underbit.com/products/mad
54 libsndfile - http://www.mega-nerd.com/libsndfile
56 Ogg Vorbis - http://www.vorbis.com
58 PNG - http://www.libpng.org/pub/png
60 WavPack - http://www.wavpack.com
62 wget - http://www.gnu.org/software/wget
65 The SoX Development Team
67 Appendix - wget Support
68 -----------------------
70 SoX can make use of the wget command line utility to load files over
71 the internet. A binary copy of wget has been included with this
72 package of SoX for your convience.
74 For SoX to make use of wget, it must be located either in your PATH or
75 within the same directory that SoX is ran from.
77 Custom configuration of wget can be made by editing the file wget.ini
78 contained in the same directory as wget.exe.
80 Please consult wget's homepage for access to source code as well as
81 further instructions on configuring.
83 http://www.gnu.org/software/wget
85 Appendix - MP3 Support
86 ----------------------
88 SoX contains support for reading and writing MP3 files but does not ship
89 with the DLL's that perform decoding and encoding of MP3 data because
90 of patent restrictions. For further details, refer to:
92 http://en.wikipedia.org/wiki/MP3#Licensing_and_patent_issues
94 MP3 support can be enabled by placing Lame encoding DLL and/or
95 MAD decoding DLL into the same directory as SOX.EXE. These
96 can be compiled yourself, they may turn up on searches of the internet
97 or may be included with other MP3 applications already installed
98 on your system. For encoding/writing, try searching for lame-enc.dll,
99 libmp3lame-0.dll, libmp3lame.dll, or cygmp3lame-0.dll. For
100 decoding/reading, try searching for libmad-0.dll, libmad.dll or cygmad-0.dll.
102 Instructions are included here for using MSYS to create the DLL's.
103 It is assumed you already have MSYS installed on your system
104 with a working gcc compiler. The commands are ran from MSYS
107 Obtain the latest Lame and MAD source code from approprate locations.
109 Lame MP3 encoder http://lame.sourceforge.net
110 MAD MP3 decoder http://www.underbit.com/products/mad
113 ./configure --disabled-static --enable-shared
115 cp libmp3lame/.libs/libmp3lame-0.dll /path/to/sox
117 MAD libraries up to 0.15.1b have a bug in configure that will not allow
118 building DLL under mingw. This can be resolved by adding LDFLAGS
119 to configure and editing the generated Makefile to remove an invalid
123 ./configure --enable-shared --disable-static LDFLAGS="-no-undefined"
124 [edit Makefile, search for "-fforce-mem" and delete it.]
126 cp libmad-0.dll /path/to/sox/
128 Appendix - AMR-NB/AMR-WB Support
129 --------------------------------
131 SoX contains support for reading and writing AMR-NB and AMR-WB files but
132 does not ship with the DLL's that perform decoding and encoding of AMR
133 data because of patent restrictions.
135 AMR-NB/AMR-WB support can be enabled by placing required DLL's
136 into the same directory as SOX.EXE. These can be compiled yourself,
137 they may turn up on searches of the internet or may be included with other
138 MP3 applications already installed on your system. For AMR-NB support,
139 try searching for libamrnb-3.dll, libopencore-amrnb-0.dll, or
140 libopencore-amrnb.dll. For AMR-WB support, try searching for libamrwb-3.dll,
141 libopencore-amrwb-0.dll, or libopencore-amrwb.dll.
143 Instructions are included here for using MSYS to create the DLL's.
144 It is assumed you already have MSYS installed on your system with
145 working gcc compiler. These commands are ran from MSYS bash shell.
147 Obtain the latest amrnb and amrwb source code from
148 http://sourceforge.net/projects/opencore-amr .
150 cd opencore-amr-0.1.2
151 ./configure --enable-shared --disable-static LDFLAGS="-no-undefined"
153 cp amrnb/.libs/libopencore-amrnb-0.dll /path/to/sox
154 cp amrwb/.libs/libopencore-amrwb-0.dll /path/to/sox
156 Appendix - LADSPA Plugins
157 -------------------------
159 SoX has built in support for LADSPA Plugins. These plugins are
160 mostly built for Linux but some are available for Windows.
161 The Audacity GUI application has a page that points to a collection
162 of Windows LADSPA plugins.
164 http://audacity.sourceforge.net/download/plugins
166 SoX will search for these plugins based on LADSPA_PATH
167 enviornment variable. See sox.txt for further information.