Is there any way to detect audio pitch?

Get help using Construct 2

Post » Fri Nov 04, 2016 1:21 am

Is there any way to detect audio pitch from the user's microphone?

Using CS2 default plugins.

I will appreciate any help.

My coding level: 0

Thanks.
- Sashik
B
25
S
8
G
1
Posts: 13
Reputation: 3,037

Post » Fri Nov 04, 2016 3:22 am

Off hand it looks like you can get microphone input with the "user media" object. When you get it you use a tag that can be used with the audio object. Then you can add the audio analyzer effect to that tag and get frequency data and such. There's an example of using the analyzer effect included with c2.

That should be enough to get you started. A working example would have to wait till someone has time to make one.
B
94
S
33
G
118
Posts: 5,396
Reputation: 75,853


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests