extractor
Extract a section of audio, by time or sample, from an existing sound file.
Syntax
Initialization
Flags:
- -S integer = Start the extract at the given sample number.
- -Z integer = End the extract at the given sample number.
- -Q integer = Extract given number of samples.
- -T fpnum = Start the extract at the given time in seconds.
- -E fpnum = End the extract at the given time in seconds.
- -D fpnum = Extract given time in seconds.
- -v = Verbose mode.
- -R = Continually rewrite the header while writing soundfile (WAV/AIFF).
- -H integer = Show a "heart-beat" to indicate progress, in style 1, 2 or 3.
- -N = Alert call (usually ringing the bell) when finished.
- -v = Verbose mode.
- -o fname = output file name (default: test.wav)
Examples
The default values are
For example
This creates a new sound file taken from sample 10234 and lasting 2.13 seconds.
Here is a complete example of the extractor utility. It uses the file extractor.csd.
NOTE
This utility was added before we had waveform editors and DAWs.
Credits
Author: John ffitch
1994