|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.frontend.FloatData
A Data object that holds data of primitive type float.
Data
Constructor Summary | |
FloatData(float[] values,
int sampleRate,
long collectTime,
long firstSampleNumber)
Constructs a Data object with the given values, sample rate, collect time, and first sample number. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone of this Data object. |
long |
getCollectTime()
Returns the time in milliseconds at which the audio data is collected. |
long |
getFirstSampleNumber()
Returns the position of the first sample in the original data. |
int |
getSampleRate()
Returns the sample rate of this data. |
float[] |
getValues()
Returns the values of this DoubleData object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FloatData(float[] values, int sampleRate, long collectTime, long firstSampleNumber)
values
- the data valuessampleRate
- the sample rate of the datacollectTime
- the time at which this data is collectedfirstSampleNumber
- the position of the first sample in the
original dataMethod Detail |
public float[] getValues()
public int getSampleRate()
public long getFirstSampleNumber()
public long getCollectTime()
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |