sound
Class DoubleAudio

java.lang.Object
  extended by sound.DoubleAudio
All Implemented Interfaces:
java.io.Serializable

public class DoubleAudio
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DoubleAudio()
           
DoubleAudio(double[] doubleArray)
           
DoubleAudio(UlawCodec ulc)
           
 
Method Summary
 double[] getData()
           
 double getDuration()
           
 int getLength()
           
 double getMax()
           
 double getMin()
           
 int getSampleRate()
           
 void normalize()
           
static DoubleAudio restore(java.io.File f)
           
 void save(java.io.File f)
           
 void scaleData(double scale)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleAudio

public DoubleAudio()

DoubleAudio

public DoubleAudio(double[] doubleArray)

DoubleAudio

public DoubleAudio(UlawCodec ulc)
Method Detail

getData

public double[] getData()

getSampleRate

public int getSampleRate()

getLength

public int getLength()

getDuration

public double getDuration()
Returns:
return duration in seconds

getMin

public double getMin()

getMax

public double getMax()

normalize

public void normalize()

scaleData

public void scaleData(double scale)

save

public void save(java.io.File f)

restore

public static DoubleAudio restore(java.io.File f)