jp.crestmuse.cmx.amusaj.sp
クラス WindowSlider

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.amusaj.sp.SPModule<SPDummyObject,SPDoubleArray>
      上位を拡張 jp.crestmuse.cmx.amusaj.sp.WindowSlider
すべての実装されたインタフェース:
ProducerConsumerCompatible<SPDummyObject,SPDoubleArray>

public class WindowSlider
extends SPModule<SPDummyObject,SPDoubleArray>


コンストラクタの概要
WindowSlider()
           
 
メソッドの概要
 void execute(java.util.List<QueueReader<SPDummyObject>> src, java.util.List<TimeSeriesCompatible<SPDoubleArray>> dest)
          ここに処理内容を記述します.
 int getInputChannels()
          入力チャンネル数を返します.
 int getOutputChannels()
          出力チャンネル数を返します
protected  java.lang.String getParamCategory()
           
 int getTimeUnit()
           
protected  java.lang.String[] getUsedParamNames()
           
 void setInputData(AudioDataCompatible audiodata)
           
 
クラス jp.crestmuse.cmx.amusaj.sp.SPModule から継承されたメソッド
containsParam, copyParamsFromConfigXML, getParam, getParamDouble, getParamInt, getParamNameSpace, setParam, setParam, setParam, setParams, stop
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WindowSlider

public WindowSlider()
メソッドの詳細

getParamCategory

protected java.lang.String getParamCategory()
オーバーライド:
クラス SPModule<SPDummyObject,SPDoubleArray> 内の getParamCategory

getUsedParamNames

protected java.lang.String[] getUsedParamNames()
オーバーライド:
クラス SPModule<SPDummyObject,SPDoubleArray> 内の getUsedParamNames

setInputData

public void setInputData(AudioDataCompatible audiodata)

getInputChannels

public int getInputChannels()
インタフェース ProducerConsumerCompatible の記述:
入力チャンネル数を返します.


getOutputChannels

public int getOutputChannels()
インタフェース ProducerConsumerCompatible の記述:
出力チャンネル数を返します


getTimeUnit

public int getTimeUnit()

execute

public void execute(java.util.List<QueueReader<SPDummyObject>> src,
                    java.util.List<TimeSeriesCompatible<SPDoubleArray>> dest)
             throws java.lang.InterruptedException
インタフェース ProducerConsumerCompatible の記述:
ここに処理内容を記述します. 引数srcに全入力チャンネルに対するQueueReaderが 格納されているので, takeメソッドでそこから1つずつ要素を取り出します.

パラメータ:
src - 全入力チャンネルに対するQueueReaderオブジェクト
dest - 全出力チャンネル
例外:
java.lang.InterruptedException