![]() jAudio 1.0 Online Help |
||
|
AggregatorsAggregators are a method from reducing a file's sequence of analysis windows to a single fixed length vector for analysis. They are required for per-file feature output, but have built in defaults. There exists two types of aggregators - specific aggregators and generic aggregators. Generic aggregators aggregate for each feature (seperately) that is to be saved and should override init and setSource methods. Specific aggregators can aggregate any number of features, but these features must be specified in advance. Traditionally, aggregators have been the mean and standard deviation of each dimension and each feature, however more sophisticated measures can also be useful. Alter aggregators windowThe list of the left side are the currently selected aggregators. The list on the right side is the current set of all possible aggregators. The aggregator appendix containing the detailed descriptions of all built in aggregators. Adding an aggregator (by double clicking on the right window or clicking the add button) adds an entry on the left side. ![]() Edit Aggregator windowThe top of the window contains the official description. If any settings need to be set, they are listed next. If the aggregator only works for a subset of the features (not all of the selected features), a selection window with possible features on the right ![]() Adding New AggregatorsjAudio can insert additional aggregators not in its base set using the features.xml file in the base directory. Each aggregator has its own XML descriptor describing it. For instance:
The class must be the fully qualified class name. All other data is included in the AggregatorDefinition in the aggregator and does not need to be specified again. Plugin FolderThe plugin folder is defined at the start of the features.xml file. All classes inside are automatically loaded into jAudio on startup exactly as javac would compile a java file there. i.e. jAudioFeatureExtractor.Aggregators.AreaPolynomialApproximation would need to be placed in $plugin$/jAudioFeatureExtractor/Aggregators/AreaPolynomialApproximation.class where $plugin$ is the folder specified in the plugin XML entry. The plugin folder must be a fully qualified URL (HTTP locations permitted) of the syntax:
|