1 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 4 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. 9 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. 14 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 18 19 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 24change. 25 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 34thing. 35 36 37SUPPORTED PLATFORMS 38------------------- 39 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. 43 44wav2cdr works on at least: Linux, Solaris, Dec Alpha Unix (was this Linux?), 45MSDos. 46 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. 50 51There is a Makefile for Unix and MSDos (the latter slightly restricted because 52of limitations of Borland make). 53 54 55INSTALLATION 56------------ 57 581) 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: 62 63 28711 Jan 25 1997 getopt.c 64 4691 Jan 25 1997 getopt.h 65 4651 Jan 25 1997 getopt1.c 66 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?). 70 71 722) 73 Edit the Makefile for your system, compiler, and getopt() version used. 74 There are examples at the beginning of the file. 75 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.) 79 80 The settings to check are mainly where the executable and man page is 81 installed. 82 83 If you do make any changes, please send them back to me. 84 853) 86 Compile with: 87 make depend 88 make 89 904) 91 Install with (not MSDos): 92 make install 93 94 Or copy the executable and man page into place by hand. 95 965) 97 If you get sick ot it (hey!), wav2cdr can be uninstalled with (not msdos): 98 make uninstall 99 100The files 101 102 usage.-c, help.-c, version.-c, wav2cdr.txt 103 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. 109 110 111DOCUMENTATION 112------------- 113 114The file help.txt, or running wav2cdr with option --help. 115 116The Unix style man page (roff format), or its plain text equivalent 117wav2cdr.txt. 118 119 120 121LICENSE + WARRANTY 122------------------ 123 124See the file COPYING for details. 125To those still not with it: my liability is restricted to what you paid me. 126 127 128Volker Kuhlmann 129c/o University of Canterbury 130EEE Dept 131Christchurch 132New Zealand 133<v.kuhlmann@elec.canterbury.ac.nz> [very old] 134<VolkerKuhlmann@gmx.de> 135