Audio waveform visualization for video and audio recording


I want, in my Ionic app, to fulfill these two requirements:

  1. visualize the audio waveform from the audio stream of pre-downloaded short (~30secs) video.
  2. Visulze the recorded audio waveform when users record by mobile microphone. It is nice-to-have if real-time.

I was considering to use libs, such as, but wanted to know in advance if it is viable and if somebody has done it before.



1 Like

This most probably can be done if there are working JS libs that display the waveform of an audio file. You “just” have to put it all together.

Thanks for the comment, I will give it a try when it comes.

please let us know if you succeeded and how.

I have an Ionic app that displays the audio waves with the Web Audio API. It can be done but does have some issues on older devices.

Look here to get an idea of the basics.