How do I show waveform of a audio in C2

  • I want to show waveform of a audio and when user click play it will highlights the audio portion in timeline as well.

    And it is possible to record an audio file from a microphone in real-time with C2.

    Thanks for reading and thanks in advance for any help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I think you should take a look at the audio analyzer example. I don't know how to record audio though. Maybe with the User Media object?

  • Hi aquadijoib,

    I have seen this example earlier. But I want something like this (http:// wavesurfer-js . org). It a simple js based Web Audio Waveform Visualizer. Do we have any similar stuff. Or can we use above wavesurfer-js through js sdk? And how difficult to build the same?

    Hope you get my point.

  • mc15,

    I would say that you should do the same as the audio analyzer example does. But you should create more of those lines that show the wave as the music goes on instead of using the same lines and resizing them all the time.

    I hope you understand what I mean

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)