io
Class WaveReader
java.lang.Object
io.WaveReader
public class WaveReader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
defaultFS
public static double defaultFS
speech_type
public java.lang.String speech_type
channel_type
public java.lang.String channel_type
FS
protected double FS
trukme
protected double trukme
N
public int N
data
public int[][] data
WaveReader
public WaveReader()
vardas
public java.lang.String vardas()
FS
public double FS()
setFS
public void setFS(double FS)
trukme
public double trukme()
channels
public int channels()
fileByteLength
public int fileByteLength()
read
public void read(java.lang.String failas)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public void init(java.io.File failas)
throws java.lang.Exception
- Throws:
java.lang.Exception
resample
public int[] resample(int[] a,
int N,
double initFS,
double newFS)
Lanczos
public static double Lanczos(int L,
double x)
getFS
public double getFS()
getFileFormat
public javax.sound.sampled.AudioFileFormat getFileFormat()
getInputStreamFormat
public javax.sound.sampled.AudioFormat getInputStreamFormat()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(java.lang.String failas,
int[][] data)
write
public void write(java.lang.String failas,
java.lang.Object dat,
int off,
int end)
main
public static void main(java.lang.String[] arg)
throws java.lang.Exception
- Throws:
java.lang.Exception