How do I show waveform of a audio in C2

Get help using Construct 2

Post » Thu Dec 24, 2015 11:01 am

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.
B
6
Posts: 16
Reputation: 272

Post » Thu Dec 24, 2015 10:04 pm

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?
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Fri Dec 25, 2015 6:40 am

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.
B
6
Posts: 16
Reputation: 272

Post » Mon Jan 11, 2016 7:54 pm

@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 :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063


Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 2 guests