public class WAV2SPD extends AbstractWAVAnalyzer
| コンストラクタと説明 |
|---|
WAV2SPD() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.lang.String |
getAmusaXMLFormat()
Please override this method so that this returns "array" or "peaks"
|
protected ModuleConnection[] |
getModuleConnections()
Please override this method to specify the connections between
modules described in the getUsedModules() method.
|
protected OutputData[] |
getOutputData()
Please override this method to specify what data should be
output to a file.
|
protected ProducerConsumerCompatible[] |
getUsedModules()
Please override this method so that this returns the list of
modules (typically subclasses of SPModule) used in this class.
|
static void |
main(java.lang.String[] args) |
customSetting, getParam, getParamDouble, getParamInt, getWindowSlider, preproc, readInputData, requiredFiles, run, setBoolOptionsLocal, setOptionsLocal, setParam, setParam, setParam, usesStereoaddOptionHelpMessage, exitWithMessage, getBaseName, getBaseName, getConfigXMLWrapper, getDestDir, getHelpMessage, getOutFileName, getVersion, init, loopEnabled, postproc, removeDirName, removeExt, removeExt, run, showErrorMessage, start, startprotected java.lang.String getAmusaXMLFormat()
AbstractWAVAnalyzergetAmusaXMLFormat クラス内 AbstractWAVAnalyzerprotected ModuleConnection[] getModuleConnections()
AbstractWAVAnalyzer
protected ModuleConnection[] getModuleConnections() {
return new ModuleConnection[] {
new ModuleConnection(stft, 0, peakext, 0);
};
}
getModuleConnections クラス内 AbstractWAVAnalyzerprotected OutputData[] getOutputData()
AbstractWAVAnalyzergetOutputData クラス内 AbstractWAVAnalyzerprotected ProducerConsumerCompatible[] getUsedModules()
AbstractWAVAnalyzer
private ProducerConsumerCompatible stft, peakext;
protected abstractProducerConsumerCompatible[] getUsedModules() {
return new ProducerConsumerCompatible[] {
stft = new STFT(),
peakext = new PeakExtractor()
};
}
getUsedModules クラス内 AbstractWAVAnalyzerpublic static void main(java.lang.String[] args)