Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

composers.ThresholdComposer Class Reference

Inheritance diagram for composers.ThresholdComposer:

Inheritance graph
[legend]
Collaboration diagram for composers.ThresholdComposer:

Collaboration graph
[legend]
List of all members.

Detailed Description

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. 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.

Author:
Douglas Repetto

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


Member Function Documentation

EDLFile composers.ThresholdComposer.compose   [inline, virtual]
 

Compose an EDLFile.

This is where the magic happens.

Implements composers.Composer.

Definition at line 166 of file ThresholdComposer.java.

void composers.ThresholdComposer.setup   throws IOException, ParserException [inline]
 

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.


Member Data Documentation

String composers.ThresholdComposer.description [static]
 

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.


The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:35 2007 for MEAPsoft by doxygen1.2.18