I rack my brains to solve a knotty problem (at least for me).
When playing an audio file (using Java), I want the signal amplitude to display over time.
I mean, I would like to implement a small panel showing a kind of oscilloscope (spectrum analyzer). The audio signal should be viewed in the time domain (the vertical axis is the amplitude and the horizontal axis is time).
Does anyone know how to do this? Is there a good tutorial I can rely on? Since I know very little about Java, I hope someone can help me.
Update:
Basically, I want this to be amplitude versus time, not frequency. The audio signal should be viewed in the time domain (the vertical axis is the amplitude and the horizontal axis is time).
source
share