public class AudioData
extends java.lang.Object
Constructor and Description |
---|
AudioData()
Class constructor.
|
AudioData(AudioData audioData)
Class constructor.
|
AudioData(float[][] rawData)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
FFTData[] |
getFftData()
Gets Fast Fourier Transform data.
|
float[][] |
getRawData()
Gets raw audio data.
|
byte[] |
getRawDataAsBytes()
Byte sequence version of
getRawData() .This method is recommended for Python-based AI |
float[][][] |
getSpectrogramData()
Gets Mel-Spectrogram data.
|
byte[] |
getSpectrogramDataAsBytes()
Byte sequence version of
getSpectrogramData() .This method is recommended for Python-based AI |
public AudioData()
public AudioData(AudioData audioData)
audioData
- audio data.public AudioData(float[][] rawData)
rawData
- raw audio data.public float[][] getRawData()
public byte[] getRawDataAsBytes()
getRawData()
.public FFTData[] getFftData()
public float[][][] getSpectrogramData()
public byte[] getSpectrogramDataAsBytes()
getSpectrogramData()
.