'\" t .\" Title: csb64enc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 08/01/2011 .\" Manual: The Canonical Csound Reference Manual .\" Source: 5.10 .\" Language: English .\" .TH "CSB64ENC" "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" csb64enc \- Converts a binary file to a Base64 encoded text file\&. .\" csb64enc .SH "DESCRIPTION" .PP The \fIcsb64enc\fR utility generates a Base64 encoded text file from a binary file, such as a standard MIDI file (\&.mid) or any type of audio file\&. It is useful to convert a file in the format accepted by the section of a csd file, to include the file within it\&. .SH "SYNTAX" .sp .if n \{\ .RS 4 .\} .nf \fBcsb64enc\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 .\} \- \fIw n\fR = set line width of the output file to n (default: 72) .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 \fIcsb64enc\fR \-w 78 \-o file\&.txt file\&.mid .fi .if n \{\ .RE .\} .sp This command produces a Base64 encoded text file from the standard MIDI file \fIfile\&.mid\fR\&. This file can now be pasted within a csd file\*(Aqs section\&. .SH "SEE ALSO" .PP makecsd .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