It then creates an output file composed exclusively of either the selected chunks or the not-selected chunks. Try using it on speech to eliminate pauses (using ChunkPower), or on pitched sounds to extract certain pitch ranges (using AvgPitchSimple). You will probably need to do a feature analysis of your file first and then look at the features to get a feel for the range of data values. ThresholdComposer only really makes sense for one-dimensional features like pitch and power.
Definition at line 52 of file ThresholdComposer.java.
Public Methods | |
void | setup () throws IOException, ParserException |
Setup the Composer - read in files, etc. | |
EDLFile | compose () |
Compose an EDLFile. | |
Static Public Attributes | |
String | description |
|
Compose an EDLFile. This is where the magic happens. Implements composers.Composer. Definition at line 166 of file ThresholdComposer.java. |
|
Setup the Composer - read in files, etc. This should be called before any call to compose() to ensure that the inputs and outputs are properly initialized. Reimplemented from composers.Composer. Definition at line 152 of file ThresholdComposer.java. |
|
Initial value: "ThresholdComposer selects chunks with feature values falling " + "inside the top and bottom thresholds. It then creates an output file composed exclusively of either " + "the selected chunks or the not-selected chunks. ThresholdComposer only really makes sense for " + "one-dimensional features like pitch and power." Reimplemented from composers.Composer. Definition at line 54 of file ThresholdComposer.java. |