2 wav2cdr - convert wav sound files to CD-ROM format and/or do some editing
3 Copyright (C) 1997, 1998, 1999, 2000, 2006 Volker Kuhlmann
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20wav2cdr converts sound data into a format which can be recorded on a CD
21(compact disc). The wav and a few raw formats can be handled (both read and
22write). Input can be chopped into pieces, which can then be recorded as
23separate tracks on CD. Some other transformations are also offered, e.g. volume
26Most of the functionality is also offered by sox, but when I tried it I only
27got stupid messages about missing effects or some such (sox-11gamma-cb3,
28command "sox -t raw -r 44100 -s -w -c 2 -V -x test.raw t"). Swapping the
29argument order or reading the manual didn't help. Funnily enough, it didn't
30complain on Solaris, but nevertheless I didn't want to trust it any more. (It
31turned out not to work at all with GNU getopt() ). After a lot of tries with
32different options and orders of options I gave up and decided it was faster to
33make a quick thing myself. Hence wav2cdr, which by now is no longer a quick
40All which have an ANSI C compiler, and some understanding of command lines. The
41program adapts to both big and little endian machines automatically. Unless I
42made a mistake, the source code is strictly ANSI conformant.
44wav2cdr works on at least: Linux, Solaris, Dec Alpha Unix (was this Linux?),
47If your system is neither Unix nor MSDOS/Borland C, check the name of your bit
48bucket file in open_message_file(). If necessary, enter another conditional and
49the correct name, *and* let me know about it so that I can incorporate it.
51There is a Makefile for Unix and MSDos (the latter slightly restricted because
52of limitations of Borland make).
59 Some version of GNU getopt() is needed, or the (inferior) mygetopt()
60 shipped with wav2cdr can be used instead. The former is now the default. To
61 use GNU getopt, get the following files:
63 28711 Jan 25 1997 getopt.c
64 4691 Jan 25 1997 getopt.h
65 4651 Jan 25 1997 getopt1.c
67 from somwhere, e.g. tar-1.12.tar.gz, and copy them into the wav2cdr
68 directory (or rather the directory specified in the Makefile). These files
69 should also be part of many other GNU programs (not to say all?).
73 Edit the Makefile for your system, compiler, and getopt() version used.
74 There are examples at the beginning of the file.
76 The provided Makefile should work for most Unix systems with gcc. To some
77 extent it might also work for MSDos. It works with GNU make and Sun/Solaris
78 make. (Use the file Makefile.bc for MSDos instead.)
80 The settings to check are mainly where the executable and man page is
83 If you do make any changes, please send them back to me.
86 Compile with:
87 make depend
91 Install with (not MSDos):
92 make install
94 Or copy the executable and man page into place by hand.
97 If you get sick ot it (hey!), wav2cdr can be uninstalled with (not msdos):
98 make uninstall
102 usage.-c, help.-c, version.-c, wav2cdr.txt
104are automatically generated using the programs awk/nawk/gawk, nroff, troff, cx.
105These programs are typically found on a Unix system. cx is self-baked and
106strips BS characters together with the following character (this gets rid of
107the underline effect in output produced by man).
108If you don't have these programs or some equivalent, don't delete these files.
114The file help.txt, or running wav2cdr with option --help.
116The Unix style man page (roff format), or its plain text equivalent
121LICENSE + WARRANTY
124See the file COPYING for details.
125To those still not with it: my liability is restricted to what you paid me.
129c/o University of Canterbury
133<email@example.com> [very old]