Jump to content

Generating waveform from audio file

Recommended Posts



I am trying to build an webapp (PHP script) to display a waveform of my audio (mp3/wav) file  same as VocalPitchMonitor app spmething like this  246x0w.jpg.47a119a2090b66b874594334357a3a32.jpg

This script gets input file from user and then it shows the waveform with notations(music), which has defined and stored in database. I tried https://github.com/boyhagemann/Wave   and https://github.com/afreiday/php-waveform-png.   with some customized settings. But it generates a wave like this waveform-example.png


Is there any script similar to this? or how can i do this? Please suggest

Link to post
Share on other sites

It will have to be an external program, which you can call from PHP. Google "convert wave form to image". There are several programs that will do that.

Edited by gw1500se
Link to post
Share on other sites
This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.