Package heronarts.lx.audio
Class LXAudioBuffer
java.lang.Object
heronarts.lx.audio.LXAudioBuffer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected void
computeMix
(LXAudioBuffer left, LXAudioBuffer right) float
getRms()
void
getSamples
(float[] dest) protected void
putSamples
(byte[] rawBytes, int offset, int dataSize, int frameSize) int
-
Field Details
-
INV_16_BIT
protected static final float INV_16_BIT- See Also:
-
-
Method Details
-
bufferSize
public int bufferSize() -
sampleRate
public int sampleRate() -
getRms
public float getRms() -
computeMix
-
putSamples
protected void putSamples(byte[] rawBytes, int offset, int dataSize, int frameSize) -
getSamples
public void getSamples(float[] dest)
-