Get Microphone input and play it back?

Get help using Construct 2

Post » Sat May 25, 2013 5:55 am

Title says it all: How do I get the input from the microphone and play it back.

I thought I would use the UserMedia object but I just cannot figure out how to get it to work right.

I am just trying to get input from the mic and to be honest I just want to be able to detect input over a certain level and then do an action based on that.

Is this possible right now in C2?
B
16
S
4
G
4
Posts: 23
Reputation: 3,937

Post » Sat May 25, 2013 3:46 pm

It's not possible right now. All you can do is either speech recognition or level/spectrum monitoring of the live input.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Jun 18, 2013 3:05 pm

I have just tried monitoring the live input from the webcam, however it doesn't seem to work.

Here it is the test file: LiveInput.capx

The same code works perfectly when playing an audio file.

Am I doing something wrong?
B
10
S
1
G
1
Posts: 13
Reputation: 1,111

Post » Sun Sep 06, 2015 11:48 pm

EleBriscoe wrote:I have just tried monitoring the live input from the webcam, however it doesn't seem to work.

Here it is the test file: LiveInput.capx

The same code works perfectly when playing an audio file.

Am I doing something wrong?


Sorry to necro an old post, but I'm also trying to analyze mic audio with no success... Any updates? @Ashley
B
10
S
4
G
2
Posts: 125
Reputation: 1,678

Post » Mon Sep 07, 2015 10:50 am

There is an example that comes with Construct 2 that does that.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests