Class RecordedSpectrum
java.lang.Object
com.prineside.tdi2.managers.music.RecordedSpectrum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecordedSpectrum
fromFile
(FileHandle handle) void
generateSpectrum
(float time, float[] left, float[] right) float
getSpectrumValue
(int frameIdx, int freqIdx, int channel)
-
Constructor Details
-
RecordedSpectrum
public RecordedSpectrum(byte[] bytes)
-
-
Method Details
-
getSpectrumValue
public float getSpectrumValue(int frameIdx, int freqIdx, int channel) - Parameters:
channel
- 0 (left) 1 (right)
-
generateSpectrum
public void generateSpectrum(float time, float[] left, float[] right) -
fromFile
-