|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.mklab.tool.control.system.SystemOperator
org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem
org.mklab.tool.control.system.source.ContinuousSource
org.mklab.tool.control.system.source.AsynchronousSource
org.mklab.tool.control.system.source.FixedRateAsynchronousSource
org.mklab.tool.control.system.source.SoundLineSource
public final class SoundLineSource
ライン入力のPCM波ソースです。
| コンストラクタの概要 | |
|---|---|
SoundLineSource(AudioFormat audioFormat,
int size)
SoundLineSourceオブジェクトを構築します。 |
|
SoundLineSource(int size)
SoundLineSourceオブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
close()
入力器を閉じます。 |
static SoundLineSource |
createFromTime(AudioFormat audioFormat,
long timeMillis)
入力を行う時間から、 SoundLineSourceオブジェクトを構築します。 |
static SoundLineSource |
createFromTime(long timeMillis)
入力を行う時間から、 SoundLineSourceオブジェクトを構築します。 |
static void |
main(String[] args)
メインメソッドです。 |
protected void |
processImport()
ソースの記録を開始します。 |
| クラス org.mklab.tool.control.system.source.FixedRateAsynchronousSource から継承されたメソッド |
|---|
getOutput, isOutputDataFilled, isReadyFor, publish |
| クラス org.mklab.tool.control.system.source.AsynchronousSource から継承されたメソッド |
|---|
bufferChanged, getThrown, importData, isActive, isDone, open, outputEquation, setThrown |
| クラス org.mklab.tool.control.system.source.ContinuousSource から継承されたメソッド |
|---|
outputEquation, setInputSize, setOutputSize |
| クラス org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem から継承されたメソッド |
|---|
initialize, inputOutputEquation |
| クラス org.mklab.tool.control.system.SystemOperator から継承されたメソッド |
|---|
clone, compare, createArray, createArray, createGrid, createGrid, createZero, equals, getInputSize, getLinearSystem, getOutputSize, getParameter, getParameters, getStateSize, hasDirectFeedthrough, hashCode, isAutoSize, isDynamic, isForecdSystem, isInlet, isLinear, isOutlet, isSISO, isSizeDefined, isStatic, isTransformableFrom, isTransformableTo, isZero, resetAutoSize, setAutoSize, setDynamic, setForcedSystem, setHasDirectFeedthrough, setInlet, setLinear, setOutlet, setParameter, setStateSize, setupParameters, toString, toString, transformFrom, transformTo |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SoundLineSource(int size)
SoundLineSourceオブジェクトを構築します。
size - 最大出力保存数
public SoundLineSource(AudioFormat audioFormat,
int size)
SoundLineSourceオブジェクトを構築します。
audioFormat - 出力フォーマットsize - 最大出力保存数| メソッドの詳細 |
|---|
public static SoundLineSource createFromTime(AudioFormat audioFormat,
long timeMillis)
SoundLineSourceオブジェクトを構築します。
例えば時間に1000を指定すると、0ms ~ 999msまでの値を記録できるソースを構築します。
audioFormat - データ保存に使用するフォーマットtimeMillis - 保存する時間(ms)
public static SoundLineSource createFromTime(long timeMillis)
SoundLineSourceオブジェクトを構築します。
例えば時間に1000を指定すると、0ms ~ 999msまでの値を記録できるソースを構築します。
timeMillis - 保存する時間(ms)
createFromTime(AudioFormat, long)
protected void processImport()
throws LineUnavailableException
AsynchronousSource の記述:このメソッドは別スレッドにて呼び出されるため、ブロックしてかまいません。
AsynchronousSource 内の processImportLineUnavailableException - ラインが利用不可能だった場合AsynchronousSource.processImport()public void close()
Importer の記述:
Importer.close()public static void main(String[] args)
args - コマンドライン引数
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||