jp.crestmuse.cmx.amusaj.commands
クラス F0Tracker

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.commands.CMXCommand<WAVWrapper,FileWrapperCompatible>
      上位を拡張 jp.crestmuse.cmx.amusaj.commands.AbstractWAVAnalyzer
          上位を拡張 jp.crestmuse.cmx.amusaj.commands.F0Tracker
すべての実装されたインタフェース:
CMXInitializer

public class F0Tracker
extends AbstractWAVAnalyzer

F0Tracker extracts the most prodominant harmonic structure from the given WAV file. To execute this class, the implementation of F0PDFCaclulator is required. This class is written to provide a simple example of our signal processing API, and therefore does not have a sufficient accuracy.


コンストラクタの概要
F0Tracker()
           
 
メソッドの概要
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)
           
protected  boolean setOptionsLocal(java.lang.String option, java.lang.String value)
          Please override this method to support non-yes/no options in your subclass.
 
クラス jp.crestmuse.cmx.amusaj.commands.AbstractWAVAnalyzer から継承されたメソッド
customSetting, getParam, getParamDouble, getParamInt, getWindowSlider, preproc, readInputData, requiredFiles, run, setBoolOptionsLocal, setParam, setParam, setParam, usesStereo
 
クラス jp.crestmuse.cmx.commands.CMXCommand から継承されたメソッド
addOptionHelpMessage, appendHelpMessage, exitWithMessage, getBaseName, getBaseName, getConfigXMLWrapper, getDestDir, getFileName, getHelpMessage, getOutFileName, getVersion, indata, init, loopEnabled, newOutputData, outdata, postproc, removeDirName, removeExt, removeExt, run, run, setOutputData, showErrorMessage, start, start
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

F0Tracker

public F0Tracker()
メソッドの詳細

setOptionsLocal

protected boolean setOptionsLocal(java.lang.String option,
                                  java.lang.String value)
クラス CMXCommand の記述:

Please override this method to support non-yes/no options in your subclass.

サブクラスで独自の非YES/NO型オプションをサポートする場合には, このメソッドをオーバーライドしてください. このメソッドがオプションを受け入れたらtrue, 受け入れなかったらfalseを返さなければなりません.

オーバーライド:
クラス AbstractWAVAnalyzer 内の setOptionsLocal

getUsedModules

protected ProducerConsumerCompatible[] getUsedModules()
クラス AbstractWAVAnalyzer の記述:
Please override this method so that this returns the list of modules (typically subclasses of SPModule) used in this class. If your command use STFT and PeakExtractor, you may override this method as follows:
      private ProducerConsumerCompatible stft, peakext;
      protected abstractProducerConsumerCompatible[] getUsedModules() {
        return new ProducerConsumerCompatible[] {
            stft = new STFT(), 
            peakext = new PeakExtractor()
        };
      }
      

定義:
クラス AbstractWAVAnalyzer 内の getUsedModules

getModuleConnections

protected ModuleConnection[] getModuleConnections()
クラス AbstractWAVAnalyzer の記述:
Please override this method to specify the connections between modules described in the getUsedModules() method. If the output of the stft module connects to the input of the peakext module, you may override this method as follows:
      protected ModuleConnection[] getModuleConnections() {
        return new ModuleConnection[] {
          new ModuleConnection(stft, 0, peakext, 0);
        };
      }
      

定義:
クラス AbstractWAVAnalyzer 内の getModuleConnections

getOutputData

protected OutputData[] getOutputData()
クラス AbstractWAVAnalyzer の記述:
Please override this method to specify what data should be output to a file.

定義:
クラス AbstractWAVAnalyzer 内の getOutputData

getAmusaXMLFormat

protected java.lang.String getAmusaXMLFormat()
クラス AbstractWAVAnalyzer の記述:
Please override this method so that this returns "array" or "peaks"

定義:
クラス AbstractWAVAnalyzer 内の getAmusaXMLFormat

main

public static void main(java.lang.String[] args)