I want to display the waveform while recording sound, as shown in the image below. I tried some samples, but could not get what I need.

Can anyone send any sample if they have already done so. I use a class AudioRecordto record sound.
Thank.
source
share