|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.tools.audio.Downsampler
public class Downsampler
Downsamples an audio clip.
| Constructor Summary | |
|---|---|
Downsampler()
|
|
| Method Summary | |
|---|---|
static short[] |
downsample(short[] inSamples,
int srIn,
int srOut)
Downsamples the given audio clip from the given input sample rate to the given output sample rate. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Downsampler()
| Method Detail |
|---|
public static short[] downsample(short[] inSamples,
int srIn,
int srOut)
inSamples - the clip to down sample - one sample per elementsrIn - the sample rate of the given clipsrOut - the sample to downsample to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||