jp.crestmuse.cmx.sound
インタフェース AudioDataCompatible

既知の実装クラスの一覧:
AudioInputStreamWrapper, MP3Wrapper, MutableWaveform, WAVWrapper

public interface AudioDataCompatible


メソッドの概要
 int channels()
           
 javax.sound.sampled.AudioFormat getAudioFormat()
           
 byte[] getByteArrayWaveform()
           
 DoubleArray[] getDoubleArrayWaveform()
           
 boolean hasNext(int sampleSize)
           
 DoubleArray[] read(long microsecond, int sampleSize)
           
 DoubleArray[] readNext(int sampleSize, int nOverlap)
           
 int sampleRate()
           
 boolean supportsRandomAccess()
           
 

メソッドの詳細

channels

int channels()

getAudioFormat

javax.sound.sampled.AudioFormat getAudioFormat()

getByteArrayWaveform

byte[] getByteArrayWaveform()

getDoubleArrayWaveform

DoubleArray[] getDoubleArrayWaveform()

hasNext

boolean hasNext(int sampleSize)

read

DoubleArray[] read(long microsecond,
                   int sampleSize)
                   throws java.io.IOException
例外:
java.io.IOException

readNext

DoubleArray[] readNext(int sampleSize,
                       int nOverlap)
                       throws java.io.IOException
例外:
java.io.IOException

sampleRate

int sampleRate()

supportsRandomAccess

boolean supportsRandomAccess()