Open GoogleCodeExporter opened 9 years ago
I ran into a similar issue. The way I figured out how to move around it - at
least until the issues is addressed - was to circumvent that particular call
and do what the constructor was intended to do.
After you create your Spectrogram instance, you need to create a double array,
as that is what the GraphicRender is expecting when you are passing data using
renderSpecrogramData.
For example:
Spectrogram spectrogram1 = new Spectrogram(audio1);
double [][] spec1Data = spectrogram1.getAbsoluteSpectrogramData();
GraphicRender render = new GraphicRender();
render.renderSpectrogramData(spec1Data, "spec1.jpg");
That got me the spectrogram that I was looking for.
Original comment by green.jo...@gmail.com
on 9 Nov 2012 at 1:59
Original issue reported on code.google.com by
Albert.L...@gmail.com
on 19 Sep 2012 at 3:27