'\" t .\" Title: makecsd .\" Author: .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 08/01/2011 .\" Manual: The Canonical Csound Reference Manual .\" Source: 5.10 .\" Language: English .\" .TH "MAKECSD" "1" "08/01/2011" "5.10" "The Canonical Csound Reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" makecsd \- Creates a CSD file from the specified input files\&. .\" makecsd .SH "DESCRIPTION" .PP Creates a CSD file from the specified input files\&. The first input file that has a \&.orc extension (case is not significant) is put to the section, and the first input file that has a \&.sco extension becomes \&. Any remaining files are Base64 encoded and added as tags\&. An empty section is always added\&. .PP Some text filtering is performed on the orchestra and score file: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} newlines are converted to the native format of the system on which makecsd is being run\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} blank lines are removed from the beginning and end of files\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} any trailing whitespace is removed from the end of lines\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} optionally, tabs can be expanded to spaces with an user specified tabstop size\&. .RE .sp .SH "SYNTAX" .sp .if n \{\ .RS 4 .\} .nf \fBmakecsd\fR [OPTIONS \&.\&.\&. ] infile1 [ infile2 [ \&.\&.\&. ]] .fi .if n \{\ .RE .\} .SH "INITIALIZATION" .PP Flags: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \- \fIt n\fR = expand tabs to spaces using tabstop size n (default: disabled)\&. This applies only to the orchestra and score file\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \- \fIw n\fR = set Base64 line width to n (default: 72)\&. Note: the orchestra and score are not wrapped\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \- \fIo fname\fR = output file name (default: stdout) .RE .sp .SH "EXAMPLES" .PP .sp .if n \{\ .RS 4 .\} .nf \fImakecsd\fR \-t 6 \-w 78 \-o file\&.csd file\&.mid file\&.orc file\&.sco sample\&.aif .fi .if n \{\ .RE .\} .sp This creates a CSD from file\&.orc and file\&.sco (tabs are expanded to spaces assuming a tabstop size of 6 characters), and file\&.mid and sample\&.aif are added as tags containing Base64 encoded data with a line width of 78 characters\&. The output file is file\&.csd\&. .SH "CREDITS" .PP Author: Istvan Varga .PP Jan 2003 .SH "AUTHORS" .PP \fBBarry Vercoe\fR .br MIT Media Lab .RS 4 Author. .RE .PP \fBDan Ellis\fR .br MIT Media Lab, Cambridge Massachussetts .RS 4 Author. .RE .SH "COPYRIGHT" .br