Closed gouravd closed 8 years ago
Hi. You don't need Visualiser in this case. You can just send raw data from InputStream. Something like:
InputStream is = new FileInputStream("some_audio.wav"); byte[] buffer = new byte[bufferSize]; is.read(buffer); mHorizon.updateView(buffer);
Take a note, that you need WAV audio in order to get proper analysis.
I tried my luck with Visualizer and sending the byte[] data from Visualizer.setDataCaptureListener but the vizualization is not syncronized.
I tried both Waveformdata and FFTData