'\" t .\" Title: extractor .\" Author: .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 08/01/2011 .\" Manual: The Canonical Csound Reference Manual .\" Source: 5.10 .\" Language: English .\" .TH "EXTRACTOR" "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" extractor \- Extract a section of audio from an audio file\&. .\" extractor .SH "DESCRIPTION" .PP Extract a section of audio, by time or sample, from an existing sound file\&. .SH "SYNTAX" .sp .if n \{\ .RS 4 .\} .nf \fBextractor\fR [OPTIONS \&.\&.\&. ] infile .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 .\} \-\fIS integer\fR = Start the extract at the given sample number\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIZ integer\fR = End the extract at the given sample number\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \- \fIQ integer\fR = Extract given number of samples\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIT fpnum\fR = Start the extract at the given time in seconds\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIE fpnum\fR = End the extract at the given time in seconds\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fID fpnum\fR = Extract given time in seconds\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIv\fR = Verbose mode\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIR\fR = Continually rewrite the header while writing soundfile (WAV/AIFF)\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIH integer\fR = Show a "heart\-beat" to indicate progress, in style 1, 2 or 3\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIN\fR = Alert call (usually ringing the bell) when finished\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \-\fIv\fR = Verbose mode\&. .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: test\&.wav) .RE .sp .SH "EXAMPLES" .PP The default values are .sp .if n \{\ .RS 4 .\} .nf \fIextractor\fR \-S 0 \-Z end\-of\-file \-otest .fi .if n \{\ .RE .\} .sp For example .sp .if n \{\ .RS 4 .\} .nf \fIextractor\fR \-S 10234 \-D 2\&.13 in\&.aiff \-o out\&.wav .fi .if n \{\ .RE .\} .sp This creates a new sound file taken from sample 10234 and lasting 2\&.13 seconds\&. .SH "CREDITS" .PP Author: John ffitch .PP 1994 .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