playMaker

Author Topic: Blow into mic detection?  (Read 1989 times)

Prototype_6492

  • Junior Playmaker
  • **
  • Posts: 50
Blow into mic detection?
« on: September 01, 2015, 11:47:40 PM »
Would anyone know how to set up a Mic to blow into it and detect pressure or how long they blow into it?

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Blow into mic detection?
« Reply #1 on: September 02, 2015, 03:06:41 PM »
This free asset might help https://www.assetstore.unity3d.com/en/#!/content/12518

It detects audio amplitude from an input source and converts it into a float
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

alperozgunyesil

  • Playmaker Newbie
  • *
  • Posts: 4
  • This is Alper / co-founder of Siis Games
Re: Blow into mic detection?
« Reply #2 on: April 02, 2018, 02:03:34 PM »
This free asset might help https://www.assetstore.unity3d.com/en/#!/content/12518

It detects audio amplitude from an input source and converts it into a float

Do you know any contemporary solution?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Blow into mic detection?
« Reply #3 on: April 16, 2018, 04:44:25 AM »
Hi,

 made an action + component on the Ecosystem, search for GetMicInputLoudness, you'll get the action and a component called MicInput inside PlayMaker Custom Scripts.

drop MicInput in your scene and use GetMicInputLoudness to get the loudness, then you can use this data to do all sorts of deduction.

 Let me know how it goes.

 Bye,

 Jean