程序包 org.wlld.voice
类 WaveFile
java.lang.Object
org.wlld.voice.WaveFile
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getClip()doublelongintgetSampleInt(int sampleNumber) Returns sample (amplitude value).intintbooleanvoidplay()voidstop()
-
字段详细资料
-
NOT_SPECIFIED
public final int NOT_SPECIFIED- 另请参阅:
-
INT_SIZE
public final int INT_SIZE- 另请参阅:
-
-
构造器详细资料
-
WaveFile
-
-
方法详细资料
-
isCanPlay
public boolean isCanPlay() -
play
public void play() -
stop
public void stop() -
getAudioFormat
-
getSampleSize
public int getSampleSize() -
getDurationTime
public double getDurationTime() -
getFramesCount
public long getFramesCount() -
getSampleInt
public int getSampleInt(int sampleNumber) Returns sample (amplitude value). Note that in case of stereo samples go one after another. I.e. 0 - first sample of left channel, 1 - first sample of the right channel, 2 - second sample of the left channel, 3 - second sample of the rigth channel, etc. -
getSampleRate
public int getSampleRate() -
getClip
-