|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectjAudioFeatureExtractor.DataModel
public class DataModel
All components that are not tightly tied to GUI. Used by console interface as well as the GUI interface.
フィールドの概要 | |
---|---|
java.util.HashMap<java.lang.String,Aggregator> |
aggregatorMap
Mapping between aggregator names and aggregator prototypes |
Aggregator[] |
aggregators
List of aggreggators to apply Must be set externally. |
Cancel |
cancel_
Handle for killing in-progress analysis |
AggregatorContainer |
container
wrapper object for the aggregators. |
boolean[] |
defaults
list of which features are enabled by default |
FeatureDefinition[] |
featureDefinitions
cached FeatureDefinitions for all available features |
java.io.OutputStream |
featureKey
|
FeatureExtractor[] |
features
list of all features available |
java.io.OutputStream |
featureValue
|
boolean[] |
is_primary
whether or a feature is a derived feature or not |
ModelListener |
ml_
Reference to use for piping progress updates |
AudioMethodsPlayback.PlayThread |
playback_thread
thread for playing back a recording |
RecordingInfo[] |
recordingInfo
info on all recordings that are made avaiable for feature extraction |
コンストラクタの概要 | |
---|---|
DataModel(java.lang.String featureXMLLocation,
ModelListener ml)
Initializes each of the arrays with all available efeatures. |
メソッドの概要 | |
---|---|
void |
extract(int windowSize,
double windowOverlap,
double samplingRate,
boolean normalise,
boolean perWindowStats,
boolean overallStats,
RecordingInfo[] info,
int arff)
Function for executing the feature extraction process against a set of files. |
void |
setUpdater(Updater u)
Establish a listener for periodic updates on the feature extraction progress. |
void |
updateTable()
This is the function called when features change in such a way as the main display becomes out of date. |
void |
validateFile(java.lang.String definitions,
java.lang.String values)
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public ModelListener ml_
public Cancel cancel_
public boolean[] defaults
public FeatureExtractor[] features
public java.util.HashMap<java.lang.String,Aggregator> aggregatorMap
public Aggregator[] aggregators
Must be set externally. Duplicates of a class are permitted (hence not a map) but each entry in the array must be fully initialized prior to calling extract().
public AggregatorContainer container
public boolean[] is_primary
public FeatureDefinition[] featureDefinitions
public RecordingInfo[] recordingInfo
public AudioMethodsPlayback.PlayThread playback_thread
public java.io.OutputStream featureKey
public java.io.OutputStream featureValue
コンストラクタの詳細 |
---|
public DataModel(java.lang.String featureXMLLocation, ModelListener ml)
ml
- reference to a controller that will handle table updates.メソッドの詳細 |
---|
public void updateTable()
public void extract(int windowSize, double windowOverlap, double samplingRate, boolean normalise, boolean perWindowStats, boolean overallStats, RecordingInfo[] info, int arff) throws java.lang.Exception
windowSize
- Size of the window in sampleswindowOverlap
- Percent of the window to be overlapped - must be between 0 and
1.samplingRate
- Sample rate given in samples per secondnormalise
- indicates whether or not the file should be normalised before
feature extractionperWindowStats
- should features be extracted for every windowoverallStats
- should features be extracted over the entire windowdestinationFV
- file where the extracted features should be storeddestinationFK
- file where descriptions of features extracted should be storedinfo
- list of the files that are to be analyzedarff
- output format of the data
java.lang.Exception
public void setUpdater(Updater u)
u
- public void validateFile(java.lang.String definitions, java.lang.String values) throws java.lang.Exception
java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |