public static interface Oscilloscope.OscilloscopeEventHandler
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(float[] data,
AudioEvent event) |
void handleEvent(float[] data, AudioEvent event)
data
- The data contains a float array with:
array[i] an x coordinate in percentage
array[i+1] the value of the amplitude in audio buffer
array[i+2] another x coordinate in percentage
array[i+3] the next amplitude in the audio bufferevent
- An audio Event.