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: 11
Reputation: 3,021

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
91
S
31
G
103
Posts: 5,235
Reputation: 67,756


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests