org.robokind.api.audio.processing
Class VisualizationConverter
java.lang.Object
org.robokind.api.audio.processing.VisualizationConverter
- All Implemented Interfaces:
- AudioConverter
public class VisualizationConverter
- extends Object
- implements AudioConverter
- Author:
- Matthew Stevenson
|
Constructor Summary |
VisualizationConverter(int channelCount,
int sampleByte,
boolean signed,
boolean bigEndian)
|
|
Method Summary |
double[][] |
convert(byte[] data)
|
double[][] |
convert(byte[] data,
int offset,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualizationConverter
public VisualizationConverter(int channelCount,
int sampleByte,
boolean signed,
boolean bigEndian)
convert
public double[][] convert(byte[] data)
- Specified by:
convert in interface AudioConverter
convert
public double[][] convert(byte[] data,
int offset,
int len)
- Specified by:
convert in interface AudioConverter
Copyright © 2011-2013. All Rights Reserved.