jp.crestmuse.cmx.sound
クラス AudioInputStreamWrapper

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.sound.AudioInputStreamWrapper
すべての実装されたインタフェース:
AudioDataCompatible

public class AudioInputStreamWrapper
extends java.lang.Object
implements AudioDataCompatible


メソッドの概要
 int channels()
           
static AudioInputStreamWrapper createWrapper8(int fs)
           
 javax.sound.sampled.AudioFormat getAudioFormat()
           
 javax.sound.sampled.AudioInputStream getAudioInputStream()
           
 byte[] getByteArrayWaveform()
           
 DoubleArray[] getDoubleArrayWaveform()
           
 javax.sound.sampled.TargetDataLine getLine()
           
 boolean hasNext(int sampleSize)
           
 DoubleArray[] readNext(int sampleSize, int nOverlap)
          8 bit only
 int sampleRate()
           
 boolean supportsWholeWaveformGetter()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getAudioInputStream

public javax.sound.sampled.AudioInputStream getAudioInputStream()

getLine

public javax.sound.sampled.TargetDataLine getLine()

channels

public int channels()
定義:
インタフェース AudioDataCompatible 内の channels

sampleRate

public int sampleRate()
定義:
インタフェース AudioDataCompatible 内の sampleRate

getAudioFormat

public javax.sound.sampled.AudioFormat getAudioFormat()
定義:
インタフェース AudioDataCompatible 内の getAudioFormat

getDoubleArrayWaveform

public DoubleArray[] getDoubleArrayWaveform()
定義:
インタフェース AudioDataCompatible 内の getDoubleArrayWaveform

getByteArrayWaveform

public byte[] getByteArrayWaveform()
定義:
インタフェース AudioDataCompatible 内の getByteArrayWaveform

supportsWholeWaveformGetter

public boolean supportsWholeWaveformGetter()
定義:
インタフェース AudioDataCompatible 内の supportsWholeWaveformGetter

readNext

public DoubleArray[] readNext(int sampleSize,
                              int nOverlap)
                       throws java.io.IOException
8 bit only

定義:
インタフェース AudioDataCompatible 内の readNext
例外:
java.io.IOException

hasNext

public boolean hasNext(int sampleSize)
定義:
インタフェース AudioDataCompatible 内の hasNext

createWrapper8

public static AudioInputStreamWrapper createWrapper8(int fs)
                                              throws javax.sound.sampled.LineUnavailableException
例外:
javax.sound.sampled.LineUnavailableException