Web Audio to visualize and interact with waveforms

前端 未结 4 2116
花落未央
花落未央 2020-12-23 12:20

How do I write a JavaScript program to display a waveform from an audio file? I want to use Web Audio and Canvas.

I tried this code:

(new window.Audi         


        
4条回答
  •  清酒与你
    2020-12-23 12:54

    For a (hopefully) simple use and integration of a waveform with your app you might want to check what we are doing at IRCAM, specially the waveform-vis in this particular case.

    It's all open source and aimed for modularity (and work in progress)

    You can find a demo over here
    And the corresponding githug repository

提交回复
热议问题